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
-
Happy Bubbles Bluetooth Presence Detector
OpenHardware.io • 11 Jul 2016, 19:54 • openhardware.io 8 Nov 2016, 12:32 -
Node are not receiving messages from domoticz
Domoticz • 17 May 2016, 20:35 • davy39 19 May 2016, 09:35 -
Gateway or mqtt?
General Discussion • 21 Nov 2016, 03:03 • Michael_K 22 Nov 2016, 09:05 -
MySensors MQTT 'dialect' optionally Homie
General Discussion • 5 May 2021, 13:46 • Peter Loeffler 18 May 2021, 13:36 -
MQTT Client Gateway / Node Controller / OTA
Hardware • 19 Jul 2016, 15:01 • CrankyCoder 26 Jul 2017, 13:32 -
Openhab2 + MySensors MQTTClientGateway + discovery
Development • 22 Sept 2016, 15:30 • CrankyCoder 22 Sept 2016, 18:47 -
Is MQTT Necessary? or, Use Case for MQTT?
Controllers • 28 Mar 2016, 01:12 • TRS-80 9 Jan 2020, 09:01