Check if your inverter permits battery charging from the public grid:
- Open the web interface of the inverter.
- Select the "Device Configuration -> Components" section.
- Expand the battery section.
- Enable "Allow Battery Charging from the Public Grid."
Modbus:
Remote control of the Fronius inverter's charge is only possible by enabling the "Slave as Modbus TCP" function: https://www.fronius.com/~/downloads/Solar%20Energy/Operating%20Instructions/42,0410,2049.pdf
To activate this protocol:
- Open the web interface of the inverter
- Select the "Communication" section
- Open the "Modbus" menu
- Activate Slave (Secondary inverter) Modbus TCP
- Tcp port: 502
- Model Type: int +SF
Solar API:
Sbam uses the local Fronius API to retrieve data related to the battery:
- Open the web interface of the inverter
- Select the "Communication" section
- Open the "Solar API" menu
- Enable Solar API Communication
I chose the site solcast.com for weather forecasts and solar production estimates. I have tried many but I consider Solcast the best in the Freemium category (Max 10 API calls/day): https://solcast.com/free-rooftop-solar-forecasting
After adding your installation, you will obtain a forecast link like this:
https://api.solcast.com.au/rooftop_sites/your-site/forecasts?format=json
Where your-site is an identifier of your installation. Copy it as it will be needed later for the configuration of sbam.
The last step is to obtain the API key from the Solcast site:
- Click on your name at the top right
- Your Api Key
- Generate the ApiKey and copy it as it will be needed later for the configuration of sbam.