meltaxa / solariot

Leverage your IoT enabled Solar PV Inverter to stream your solar energy usage data to a real time dashboard.
https://solariot.live
MIT License
199 stars 69 forks source link

pv_power & total_pv_power dont seem mapped correctly #5

Closed mvandersteen closed 5 years ago

mvandersteen commented 5 years ago

Hi

Just got your script working and was studying the data locally coming through and comparing with whats on screen. As a reference I have a battery attached to a Sungrow SH5K.

When looking at the data being pulled, its after 9pm so battery draining, I can see the values for pv_power is the same as the battery power value, and the total_pv_power is 0.

I've changed the mapping for myself for now so that pv_power is called inverter_power.

No big deal if you don't have a battery hooked up but just thought others might find this info handy.

BTW: Thanks for the script this is brilliant. I'm going to use this as the basis for a Home_assistant plugin if that's ok.

Cheers Mark

mvandersteen commented 5 years ago

No issue just personal preferences.

meltaxa commented 5 years ago

Hi @mvandersteen. Feel free to use this in whatever form for HA. If you can wait a few weeks, I'll be releasing changes including your feedback to a develop branch. There will be a few fundamental changes to how Solariot is run and presents output which allow for better integration with HA.