Closed faanskit closed 1 year ago
For #1 I think it would be nice to see the separate battery percentages in a sensor to see easily the history and how they behave. The name for the entity could be linked to the inverter SN value as the battery of a H1 system is actually in the same enclosure as the inverter so it would make sense to make the difference with the SN value.
(1) Inverter level sensor for battery percentage - DONE Currently battery % is for the complete plant and not possible to track per battery in a multi inverter/battery system. Assumption is that this will become a new sensor, but an attribute to the battery power sensor should be considered as well
(2) kitList/mastermcufw missing as attribute - DONE Should be an attribute on the inverter Energy sensor. Correction; slavemcufw is not used. Instead, use mastermcufw and displayfw.
(3) Inverter Type unknown - DONE For kitList.type, anything but 0 (on-grid) is reported as unknown. Battery systems reports type = 2
Plant list
Inverter list
(4) Device status can be: - DONE Review what values that device status reports against:
(5) Add protective code if protocol from SAJ changes - DONE Possible future refactoring to not be transparent with the SAJ protocol to the sensors
(6) Add logging output - DONE Minimalistic logging currently. Add both exceptions, errors and debug logging.
(7) Update README.md - DONE Document how the system works
(8) Make available in HACS - DONE Learn how to deploy for HACS