Trying to send commands via MQTT
Posted: 11 Dec 2018, 13:13
Hi, I am trying to send commands via MQTT
Controller Settings:
Unit Name:
in my case it should be:
by the Command Reference Help Page:
in this case i have to add cmd to the topic:
in both cases nothing happens, no state changes or reboot on reboot command.
i tried as payload:
this is working:
Firmware:
What did I wrong?
Edit: Is there a Discord Server for small questions?
Controller Settings:
Code: Select all
cmnd/%sysname%/#
Code: Select all
aussen/li/garage/torsec
Code: Select all
cmnd/aussen/li/garage/torsec
Code: Select all
<MQTT subscribe template>/cmd with payload: <command>
Code: Select all
cmnd/aussen/li/garage/torsec/cmd
i tried as payload:
Code: Select all
reboot
Reboot
gpio,4,1
gpio,4,0
GPIO,4,1
GPIO,4,0
Code: Select all
http://192.168.178.65/tools?cmd=GPIO%2C4%2C0
http://192.168.178.65/tools?cmd=GPIO%2C4%2C1
http://192.168.178.65/tools?cmd=reboot
Code: Select all
Firmware
Build:⋄ 20103 - Mega
Libraries:⋄ ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support
GIT version:⋄ mega-20181208
Plugins:⋄ 75 [Normal] [Testing] [Development]
Build Md5: ba4e73f94c85d8389c626efc777a7a5
Md5 check: passed.
Build time:⋄ Dec 8 2018 03:17:30
Binary filename:⋄ ESP_Easy_mega-20181208_dev_ESP8266_4096.bin
Edit: Is there a Discord Server for small questions?