This integration allows Home Assistant to read data from the SMA Sunnybeam solar invertor box.
Available sensors:
sensor.sma_sunny_beam_power
sensor.sma_sunny_beam_energy_today
sensor.sma_sunny_beam_energy_total
Howto install
There is a Home assistant forum topic
Download it from Github https://github.com/dannerph/homeassistant-sunnybeam and unzip it
Upload the files into Home assistant via the HA file editor
- In file editor, goto the directory custom_components and create the directory sunnybeam
- Go into this directory and upload the contents of the unzipped github integration with the file upload button
You will have to upload file by file, as the upload button does not support multiple file or directory uploads.
Via HA Settings/Devices & services, add the sunnybeam integration
Add the sensors to a dashboard, I add sma_sunny_beam_power in a gauge card,
and sma_sunny_beam_energy_today as a numeric value.
I also add sma_sunny_beam_energy_today in the energy solar panel dashboard
Customisation
Because I have 3 solar panel systems, and the sunnybeam only measures the power of one of the systems,
I changed the software of the integration to indicate the total power of the 3 systems by multiplying the output of the sunnybeam with a factor 2.5065 that is representative for the total output.
In the new version, the method of retrieving data is different, and the developper of the integration recomended to create helper templates in HA instead of changing the integration software.
To do this, in Settings/Devices& services/helpers, I created 3 templates, called solarpower, solarenergytoday and solarenergytotal, that multiply the values of the original sunybeam sensors by 2.5065.