processing incoming MQTT messages to actuate gateway local relay / variable.
-
I've seen the relay sketch which has a receive function but that is for Radio Nodes, i was wondering about processing arrived MQTT messages to the MQTTClient gateway so it changes a variable / acts on a relay.
is there any way to do that ? is it using the receive function as well ?
note: i've already defines a message that has the V_type and CHILD_ID matching, i've got the message on the gateway console, i was wondering to get it into a variable.
Thanks
-
@Meshx86 i figured out the problem which i believe it is a bug, you can't have in your incoming MQTT prefix "/" or "-" in the path, otherwise the message won't be parsed properly
-
3 out of 3
Suggested Topics
-
Stabile Controller
Troubleshooting • 5 Mar 2015, 14:08 • C.r.a.z.y. 8 Mar 2015, 15:34 -
Combining Serial and MQTT/Ethernet Gateway
Troubleshooting • 12 Feb 2015, 13:13 • codenea 28 Apr 2015, 15:09 -
💬 MqGateway
OpenHardware.io • 16 Mar 2021, 20:15 • openhardware.io 31 Aug 2022, 20:18 -
Switching from v1.5 MQTT gateway to ESP8266 MQTT Client gateway
OpenHAB • 1 Feb 2016, 18:41 • mbj 8 Mar 2016, 22:07 -
ESP8266MQTTClientGateway
Bug Reports • 30 Jan 2016, 10:26 • mbj 30 Jan 2016, 14:16 -
💬 Bed occupancy detector
OpenHardware.io • 4 Oct 2018, 19:18 • openhardware.io 4 Oct 2018, 19:18 -
Battery level to openHAB
OpenHAB • 20 Jan 2015, 19:25 • bomber 20 Jan 2015, 21:06 -
Openhab2 + MySensors MQTTClientGateway + discovery
Development • 22 Sept 2016, 15:30 • CrankyCoder 22 Sept 2016, 18:47