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
-
Communication problems between MQTT Gateway (OrangePi) and Node (Arduino Nano)
Troubleshooting • 1 May 2019, 19:22 • gammlerstyle 5 May 2019, 18:01 -
MySensors MQTT 'dialect' optionally Homie
General Discussion • 5 May 2021, 13:46 • Peter Loeffler 18 May 2021, 13:36 -
💬 MqGateway
OpenHardware.io • 16 Mar 2021, 20:15 • openhardware.io 31 Aug 2022, 20:18 -
[SOLVED] ESP8266MQTTClientGateway problem
General Discussion • 24 Jan 2016, 19:32 • mbj 26 Jan 2016, 21:29 -
serial, Ethernet to MQTT
MyController.org • 14 Jun 2021, 09:38 • jkandasa 14 Jun 2021, 16:56 -
MySensors MQTT gateway and serial rs485 sensor node communication
Development • 5 Aug 2017, 06:31 • ehome 5 Aug 2017, 08:15 -
Can't get OpenHAB2 to see my MQTT messages
OpenHAB • 9 Apr 2016, 20:01 • micah 2 Jul 2017, 21:42 -
ENC28j60 MQTT problem
Troubleshooting • 2 Dec 2014, 21:27 • bomber 4 Dec 2014, 05:48