Additional sensors and minor fixes
Additional Sensors:
Added Energy Generated Month
sensor (the Total Yield for this month)
Added Energy Throughput
sensor (the number of kWh's the battery has throughput, this is the principal metric for the FoxESS battery warranty)
Reduced API timeout to 65 seconds - if the API is very busy, it will not reply if a request is over 60 seconds.
On H3 Pro (dual battery systems) - fixes battery temperature sensor and adds sensor for second battery.
Adds inverter bat power
sensor which will show battery power as measured by the inverter - this is negative kW for charge and positive kW for discharge ( 2 sensors on dual battery systems)
New Inverter Running State
sensor which shows current inverter status, the states are:
160: self-test
161: waiting
162: checking
163: on-grid
164: off-grid
165: fault
166: permanent-fault
167: standby
168: upgrading
169: fct
170: illegal
Fixes:
-
Correct date response for platforms that do not support extended formats
-
For solar only inverters that go into standby at dusk, the daily totals (feedin, gridconsumption, chargetotal, dischargetotal, loads) will stay available and not go 'unknown' if they have received valid data during that day.
-
It was possible at startup before any report data had been received for the feedin calculation to fail because of a typo - this corrects that.