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
-
Node Child and MQTT Subscribe
Development • 16 Jan 2015, 15:28 • Gambituk 17 Jan 2015, 14:11 -
Watchdog on 2.0
General Discussion • 11 Sept 2016, 16:10 • CrankyCoder 7 Jan 2017, 11:57 -
Battery level to openHAB
OpenHAB • 20 Jan 2015, 19:25 • bomber 20 Jan 2015, 21:06 -
MQTT-SN
General Discussion • 29 Nov 2014, 10:00 • binladin 30 Nov 2014, 17:42 -
MQTT Client Gateway / Node Controller / OTA
Hardware • 19 Jul 2016, 15:01 • CrankyCoder 26 Jul 2017, 13:32 -
💬 MqGateway
OpenHardware.io • 16 Mar 2021, 20:15 • openhardware.io 31 Aug 2022, 20:18 -
Indoor BLE Location ( or presence detection)
General Discussion • 11 Dec 2014, 05:01 • gregl 17 Nov 2016, 12:27