Dymerz / SMA-SunnyBoy

A simple data retrieving from SMA SunnyBoy
https://sma-sunnyboy.readthedocs.io/en/latest/sma_sunnyboy.html
MIT License
39 stars 9 forks source link

SMA extra key readout #18

Open kurtwerbrouck opened 3 years ago

kurtwerbrouck commented 3 years ago

Hello

is there a way to implement also the total power day : key = 6400_00262200. Is it possible to import this lib to an esp32 running on micropython?

Kurt

dothings commented 2 years ago

Better late than never but since your sunnyboy will probably be running for 10 years more:

this tag is added to the key class in this git, but not available on the pip version but... you can add keys yourself by adding it to the Key object after importing the module in your code, just add:

Key.productivity_day = {'tag': '6400_00262200'}

you can now do: client.get_value(Key.productivity_day)

BenoitNivelles commented 1 year ago

Hi, Where are documented 'all' the tag available for the SMA Sunny-boy? Thanks a lot.

kurtwerbrouck commented 1 year ago

Hello

I dont know how to use the github. But id you need more info about the sma. Just let me know

Verstuurd vanaf mijn iPhone

Op 25 apr. 2023 om 15:13 heeft BenoitNivelles @.***> het volgende geschreven:



Hi, Where are documented 'all' the tag available for the SMA Sunny-boy? Thanks a lot.

— Reply to this email directly, view it on GitHubhttps://github.com/Dymerz/SMA-SunnyBoy/issues/18#issuecomment-1521770552, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADSXRHF7I5ZPJG4EB7PHDZ3XC7EZFANCNFSM4XX6XWPA. You are receiving this because you authored the thread.Message ID: @.***>

BenoitNivelles commented 1 year ago

I'm using the SMA-Sunnyboy script published in PyPi to compute various stats using data extracted from my SMA SB 2.5. Everything working ok. It is installed on a web server running on a RPI 3. From your initial post about adding extra keys, I'm wondering where all the available tags, on top of the ones covered by the script, are documented... Any reference ?

Thanks.

BenoitNivelles commented 1 year ago

Hi Kurt, I do not see the "github" page ?! Yes I'm in Belgium, Nivelles.

kurtwerbrouck commented 1 year ago

https://github.com/Dymerz/SMA-SunnyBoy