kellerza / pysma

Async library for SMA Solar's WebConnect interface
MIT License
59 stars 51 forks source link

Key for "current_consumption" and "total_consumption" not working #54

Closed cpohli closed 3 years ago

cpohli commented 3 years ago

Sorry, if this is not the right place for this, but i don't know, where to leave it.

I set up the SMA in HA and get all the standard readings correct, except for the total_consumption and current consumption - sensors. These are giving me a No values for sensors: total_consumption [6400_00543A00],current_consumption [6100_00543100] in the logs. The remaining sensors provided are working as expected.

I dove into my converter and found the sensor to be 6400_00462500 - for total_consumption. The current_consumption i am not able to find in my web-interface, but would very much like to provide, if given directions what to look for.

Thanks and sorry for bothering you.

cpohli commented 3 years ago

For what it's worth, i just found that the values given by current_consumtion are off (at least in my setup) anyway. I constantly get a much lower reading than the data delivered by the HomeMager 2.0. So i assume these readings are not take all consumption into account. Or i am just beeing wrong here what to expect from this.

kellerza commented 3 years ago

Hi, the key you suggest for total_consumption seems to be grid_total_absorbed - see here.

Maybe you can try grid_total_yield as well and let us know what you find

cpohli commented 3 years ago

hmm... i tried yourgrid_total_yield (that's 6400_00462400) and that's giving me the same reading as 6400_00469100. On the local "webpage" of the inverter that key ist named Total counter reading, feed-in counter

If i can be of any further assistance, i will provide anything needed (and possible for me :-)).