Hello friends,
Sorry I do not find the correct syntax to send a MQTT command from Home assistant to Esp easy
I have tried :
command_topic: 'Esp1/cmd'
payload_on: '=event,ValveOn'
payload_off: '=event,ValveOff'
command_topic: 'Esp1/cmd'
payload_on: 'event,ValveOn'
payload_off: 'event,ValveOff'
command_topic: 'Esp1/cmd='
payload_on: 'event,ValveOn'
payload_off: 'event,ValveOff'
Can somebody help me ?
Patou
Syntax for send event via MQTT
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Syntax for send event via MQTT
Code: Select all
command_topic: 'Esp1/cmd'
payload_on: 'event,ValveOn'
payload_off: 'event,ValveOff'
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Syntax for send event via MQTT (solved)
Hello
Thanks for your answer
Actually I use domoticz and Home assistant
The mqtt controller was set to domoticz.
This is no problem for publishing topics to Home assistant, receiving messages to the generic mqtt helper but do not work with the %sysname%/cmd commands
I set the mqtt controller to home assistant and it works
Patou
Thanks for your answer
Actually I use domoticz and Home assistant
The mqtt controller was set to domoticz.
This is no problem for publishing topics to Home assistant, receiving messages to the generic mqtt helper but do not work with the %sysname%/cmd commands
I set the mqtt controller to home assistant and it works
Patou
Who is online
Users browsing this forum: Bing [Bot] and 82 guests