Hii, i have the same problem, after reboot of HA, all MQTT Zendure stop working.
But the config on Zendure App is correct.
I saving the config with no change and MQTT back to HA !
So, i have adding a shell command on HA to configuration.yaml :
shell_command:
set_mqtt_config_veranda: 'curl -X POST http://IPADDRESS/rpc -H "Content-Type: application/json" -d "{\"sn\":\"WOB1NHMCNXXXXXX\",\"method\":\"HA.Mqtt.SetConfig\",\"params\":{\"config\":{\"enable\":true,\"server\":\"10.105.1.16\",\"port\":1883,\"protocol\":\"mqtt\",\"username\":\"mqttusr\",\"password\":\"mqttpwd\"}}}"'
and i have create a new automation, executing on startup :
alias: Envoyer config MQTT au démarrage
triggers:
- event: start
trigger: homeassistant
actions:
- delay: "00:00:10"
- action: shell_command.set_mqtt_config_veranda
mode: single
This command send the MQTT configuration to SolarFlow with a POST command via CURL