cdpuk / givenergy-local

Home Assistant integration for local access to GivEnergy inverter and battery systems
MIT License
50 stars 14 forks source link

Battery Sensors #7

Closed cpaius closed 2 years ago

cpaius commented 2 years ago

Added extra sensors for battery: Cycles, Voltage, Battery temperature. Fixed remaining capacity as it was stored as Ah and had to convert to KWh

cpaius commented 2 years ago

@cdpuk raised a PR for some minor enhancements. Would appreciate if you could review. I have tested these in my HA setup and would like to merge it back to your repo and continue to use yours.

cdpuk commented 2 years ago

Thanks @cpaius!

The Ah -> kWh issue was on my TODO list. Will be interesting to work out how that value compares to the percentage values reported from both the inverter and battery.