sijones / DiyBatteryBMS

Integration of Victron to Pylontech supported inverters with DIY Batteries
Other
10 stars 0 forks source link

Setting ChargeEnable and DischargeEnable not working #11

Closed NeliusDK closed 1 month ago

NeliusDK commented 1 month ago

I've updated the homeassistant yaml to control force charge, discharge and charge.

Force charge is working correctly.

Changing ChargeEnable and DischargeEnable have no effect. My understanding is that when disabling charging, the charge limit should be set to 0 A. But it stays as originally confirgured when looking at the ESP, and therefore no changes on the inverter either. Same problem if you try to disable discharging. Looking at the MQTT topics, the DischargeEnable and ChargeEnable under /Param, is correctly updated to ON or OFF.

The updated (topic equals the standard topic in the config, and it follows the new structure in HA) homeassistant yaml below:

`mqtt:

switch:

sijones commented 1 month ago

Make sure Pylontech protocol is off, and try again, the switch for pylontech changes certain behaviour for situations. So try that. You should see the charge / discharge current drop to 0.

NeliusDK commented 1 month ago

Confirmed, disabling Pylontech protokol fixed it. Thanks