I'm using several ESP in my flat with LetsEasy fw on it with great success on MQTT to my Home Assistant system. I had setup the Gloal Sync thing but never really used it !!
I have added a relay to one of my ESP and so control through MQTT using this code:
Code: Select all
- platform: mqtt
name: "Chauffage"
state_topic: "/esp/cuisine/cmd"
command_topic: "/esp/cuisine/cmd"
payload_on: "GPIO,5,0"
payload_off: "GPIO,5,1"
optimistic: false
retain: true
An idea what's the problem ??
Using version 2 dev build 11 or 12 depending of ESP

Thanks
Vincèn