thomluther / anker-solix-api

Python library for Anker Solix API
MIT License
38 stars 12 forks source link

Wrong charging power when using shared account #60

Closed thomluther closed 4 months ago

thomluther commented 4 months ago

Actually the charge is same as output.... Need to investgate why this is still reported incorrectly.

thomluther commented 4 months ago

The solarbank info value for charing_power cannot be trusted. Sometimes its 0 when it is not, sometimes it shows the same as output_power. I changed the update_sites method to always calculate the charging power per solarbank depending on the reported total solarbank charging power. This will be split arrcordingly to the individual calculations across all solarbanks installed in the system