Hi,
I’ve delete database on mosquitto, restart mosquitto but same problem. On restart mosquitto or restart pi my tasmota turn off relay. My installation is hassbian.
I’ve this configuration on HA:
switch:
- platform: mqtt
name: "Tv Sala Jantar"
icon: mdi:television
state_topic: "stat/salajantar/POWER"
command_topic: "cmnd/salajantar/power"
availability_topic: "tele/salajantar/LWT"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
On tasmota:
10:24:30 CMD: backlog status
10:24:30 MQT: stat/salajantar/STATUS = {"Status":{"Module":18,"FriendlyName":["wemos_salajantar"],"Topic":"salajantar","ButtonTopic":"salajantar","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":1}}
Where is the problem?
thanks for help.