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
-
1 out of 3
Suggested Topics
-
My final setup to get MySensors and OpenHab communicating via MQTT
OpenHAB • 28 Jul 2016, 04:10 • Eric Buhring 21 Jun 2017, 20:06 -
Raspberry PI + MQTT (Mosquitto) + Serial Gateway
General Discussion • 14 Feb 2015, 06:12 • catcher 2 Mar 2017, 17:58 -
ESP8266 gateway crashes while the node is in FOTA progress.
Troubleshooting • 25 Nov 2017, 00:22 • Abdu Sahin 13 Dec 2017, 20:50 -
WizNet5100 ethernet module chip temperature
Troubleshooting • 21 Jan 2015, 17:08 • bomber 25 Jan 2015, 22:13 -
Watchdog on 2.0
General Discussion • 11 Sept 2016, 16:10 • CrankyCoder 7 Jan 2017, 11:57 -
Node-red msg queue form Controller to Gateway over MQTT
Development • 16 Sept 2020, 07:43 • alexelite 16 Sept 2020, 07:43 -
MQTT Client Gateway
My Project • 3 Feb 2015, 10:37 • b0rmann 14 Apr 2015, 03:47