I just stumbled open this add on here and it is working quite fine for me however the values differ from the ones I see on the online portal or the sunny app - especially the counter values (pconsume and psupply) and is there a way to also show the solar values? When looking at OpenWB or EVCC - which both read the SMA EM (and I think the inverter itself?) as well - they tell me the grid import (=solar) / export (= consumption - solar).
You need to consider that the values you receive from the SMA Integration in Homeassistant are live data. The values you get from the SMA Portal are delayed. Somethimes more than 30 minutes up to 60 minutes. If you compare the daily values from last day you see that it matches perfectly to the values the Energy Integration in home assistent shows you.
the SMA EnergyMeter Integration cannot provide the Solar data. This is a different device (your inverter). I used the modbus integration to get the values but changed to NodeRed where I wrote my own code. It is all documented here in the forum.
The Energy Meter is just that - a meter for inbound and outbound power including current values and the metered values. Solar production is coming from the inverter. Usually you need a to poll this via modbus. there are numerous integrations including a node-red implementation here in the forum.
I was trying to reproduce your Energy setup and I currently don’t know what value/sensor I should use for the solar panels entry where your screenshot shows total_yield. I already have my pv data setup using modbus in addition to the smart meter. I just don’t get what value is needed here. Is it total_yield per day? Or does total_yield mean the overall yield of all time? Additionally, I’m unable to directly use my values because they are not setup as “statistics” how can I do that?
Sorry for all the questions. Home Assistant beginner here.
Hi Mate
My total_yield is “All time”
Im not sure about statistics sorry.
You might have to create a templet to covert the statistic value into a entity.
All HA needs is a value that increases over time. The energy dash board does all the resets each day for you.
Have a look at this link @kellerza provided.
Hi, I went through all the steps above, but now the Auto discover doesn’t present me the SMA EM integration.
I know my mqtt is working correctly and I have modified user name and password in the SMA Add-on configuration tab.
Any idea or suggestion would be highly appreciated?
Thank you very much in advance
Hi there, yes it has been quite a long time, but in the meanwhile I tried a few times without any luck.
I can access the meter through the browser as in the picture you posted.
I followed all the steps, but it doesn’t automatically present me the SMA EM integration and so I’m stuck.
Thank you again for your time