How to command ESPEASY GPIO thru MQTT Mosquitto
Posted: 05 Mar 2020, 12:08
I have a mosquitto broker and Domoticz installed on Pi.
I have a ESPEasy R120 installed on ESP8266 WemosD1 Mini.
All installed recently end of 2019.
I am successfull to have one switch working via Domoticz Http .
http://192.168.1.24/control?cmd=GPIO,15,1 is working fine.
What I want to do is the same thing but thru MQTT.
I have tried several flavor of this configuration without success
ESP03 subscribe Template is >> ESP03/#
Then I Publish on MQTT >> mosquitto_pub -t ESP03/cmd -m gpio,15,1
Therefore I see that on MQTT >> ESP03/cmd gpio,15,1
as expected
The issue is that with several flavor of this command and subscribe template i have no effect on mys ESP and switch.
I have two question for any one who may have a similar configuration :
Where can I see some detailed log in ESPEasy ?
Where am i wrong in the way i write my command ?
Thks
I have a ESPEasy R120 installed on ESP8266 WemosD1 Mini.
All installed recently end of 2019.
I am successfull to have one switch working via Domoticz Http .
http://192.168.1.24/control?cmd=GPIO,15,1 is working fine.
What I want to do is the same thing but thru MQTT.
I have tried several flavor of this configuration without success
ESP03 subscribe Template is >> ESP03/#
Then I Publish on MQTT >> mosquitto_pub -t ESP03/cmd -m gpio,15,1
Therefore I see that on MQTT >> ESP03/cmd gpio,15,1
as expected
The issue is that with several flavor of this command and subscribe template i have no effect on mys ESP and switch.
I have two question for any one who may have a similar configuration :
Where can I see some detailed log in ESPEasy ?
Where am i wrong in the way i write my command ?
Thks