britkat1980 / ha-addons

11 stars 5 forks source link

v3 warning error setting max charge/discharge rates #24

Closed gcoan closed 1 month ago

gcoan commented 1 month ago

I have two Gen 1 hybrid inverters, one with a 9.5 and one with a 5.2 battery.

Both are running the "fast response" firmware 191/193 and one of the benefits I have gained from this firmware is that the inverters can discharge at a better rate.

The 9.5 battery will discharge at up to 2.8kW and the 5.2 at up to 2.6, and both charge at up to 2.4kW

Since upgrading to v3 I noticed that the max battery charge & discharge control on the 9.5 was now 2883W and on the 5.2 it was 2610W. Pretty cool I thought, v3 is recognising the new inverter true throughput rate (OK it gets the charge rate wrong, but never mind)

However, having shutdown HA and the add-on's completely, when I restarted I see that the max value on the sliders reverts back to 2600W

But in the HA logs:

2024-09-19 22:00:56.787 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.g_sd2237g182_battery_charge_rate: 2883.0 (range 0.0 - 2600.0)
2024-09-19 22:00:56.788 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.g_sd2237g182_battery_discharge_rate: 2883.0 (range 0.0 - 2600.0)
2024-09-19 22:00:56.799 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.h_sd2237g395_battery_charge_rate: 2610.0 (range 0.0 - 2600.0)
2024-09-19 22:00:56.800 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.h_sd2237g395_battery_discharge_rate: 2610.0 (range 0.0 - 2600.0)

Can this be reverted to allowing the max range (and removing this error in the logs)

gcoan commented 1 month ago

My mistake, GivTCP v3 reports the new (better) battery charge and discharge rates. The reason they reverted to 2600 and I got the above errors in the log was that I accidentally reverted back to running GivTCP v2.4.9

Shutting 2.4.9 down and restarting v3.0.0, the rates are back at 2883 and 2610W, and no warning messages in the system log