cmcgerty/Sofar2mqtt

How to stop charge ?

Opened this issue · 2 comments

nejib1 commented

Hello,

After charging the battery using Sofar2mqtt (It works fine), I tried to stop charging in Home Assistant by putting
Sofar2mqtt/set/auto like this :
`image

But it seems that the message is sent unlimited times to the inverter (I hear tic tac many times), is there a clean way to stop charging once ?

Thank you in advance.
`

FFV21 commented

I was looking for a way to stop charging/discharging the battery through Home Assistant as well and this seems to work for me;
publish to the topic /set/standby instead of /set/auto

data:
  qos: "1"
  retain: false
  topic: Sofar2MQTT/set/standby
  payload: "true"

Have only just started looking into this but from the limited testing I have done that puts the battery in standby ie not charging/not discharging

To stop charging I launch the standby command followed by a 30 second pause and then the Auto command.
Before giving specific commands I always launch the standby command first to avoid problems