Incoming MQTT Prefix can't have '/' or '-' in it.
-
i had my MQTT incoming prefix defined as
#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "meshx86/ndw/pir_dht/in"
the void receive() function won't be triggered if the MQTT path for incoming messages has '/' or '-' in it, as it would be interpreted as a wrong message maybe ?!
note: i was able to successfully have have in the console message arrived with the above prefix, it is probably the slashes and dashes confuses the MQTTClient gateway
-
so probably before processing the incomingMQTT, subtract the whole string of the incoming prefix and then start processing.
-
This PR was merged a few days ago:
-
great ! glad to find someone thinking the same way
is there a newer release of the lib soon ? or shall i manually download it and install it ?
-
Yes, a release is coming. But we haven't set any date yet.
Suggest you install it manually.
Suggested Topics
-
Raspberry Pi and MQTT-OpenHAB
General Discussion • 27 Nov 2014, 17:33 • C.r.a.z.y. 30 Nov 2014, 17:59 -
💬 Sensebender Gateway
OpenHardware.io • 9 Jan 2016, 19:14 • openhardware.io 4 Jun 2022, 11:36 -
iBoard - Ethernet Gateway - Check Wires
Troubleshooting • 13 Feb 2015, 20:38 • tbully 16 Feb 2015, 17:22 -
💬 NRF52 Gateway -(RFM69-option)
OpenHardware.io • 27 Apr 2018, 20:53 • openhardware.io 17 Mar 2019, 15:02 -
Openhab2 + MySensors MQTTClientGateway + discovery
Development • 22 Sept 2016, 15:30 • CrankyCoder 22 Sept 2016, 18:47 -
💬 Mysensors 2.0 ethernet gateway (W5100) build.
OpenHardware.io • 1 Sept 2016, 18:35 • openhardware.io 5 Feb 2018, 07:05 -
Ethernet Gateway Library
My Project • 22 Sept 2020, 08:21 • Rez 23 Sept 2020, 06:58 -
[Solved] MQTT gateway problem
Troubleshooting • 10 Oct 2016, 21:29 • pinkkoff 13 Oct 2016, 20:10