Cannot get Shelly1 MQTT working
Posted: Saturday 30 November 2019 18:08
Hi all,
I have a Shelly1 flashed with Tasmota and have setup MQTT on it. Now when I press the "Toggle" button in the web interface of the Shelly I receive in the Domoticz log the below 2 lines:
2019-11-30 17:59:47.067 MQTT: Topic: domoticz/in, Message: {"idx":30,"nvalue":1,"svalue":"","Battery":100,"RSSI":7}
2019-11-30 17:59:49.048 MQTT: Topic: domoticz/in, Message: {"idx":30,"nvalue":0,"svalue":"","Battery":100,"RSSI":6}
This indicates (to me at least) it is sending data to the MQTT broker which is installed on the Pi Domoticz is running on. Also the idx is the idx I entered on the Shelly and this is the idx of my dummy device light switch.
However the status of the device is not set in Domoticz, neither can I toggle on/off from within Domoticz. I can press the device, it tells me it is switched on, but it isn't.
What step am I missing here? MQTT is working, my other MQTT device (a home built weather station) is transmitting to Domoticz perfectly.
Thanks!
I have a Shelly1 flashed with Tasmota and have setup MQTT on it. Now when I press the "Toggle" button in the web interface of the Shelly I receive in the Domoticz log the below 2 lines:
2019-11-30 17:59:47.067 MQTT: Topic: domoticz/in, Message: {"idx":30,"nvalue":1,"svalue":"","Battery":100,"RSSI":7}
2019-11-30 17:59:49.048 MQTT: Topic: domoticz/in, Message: {"idx":30,"nvalue":0,"svalue":"","Battery":100,"RSSI":6}
This indicates (to me at least) it is sending data to the MQTT broker which is installed on the Pi Domoticz is running on. Also the idx is the idx I entered on the Shelly and this is the idx of my dummy device light switch.
However the status of the device is not set in Domoticz, neither can I toggle on/off from within Domoticz. I can press the device, it tells me it is switched on, but it isn't.
What step am I missing here? MQTT is working, my other MQTT device (a home built weather station) is transmitting to Domoticz perfectly.
Thanks!