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
-
Need help with Turning a LED On/Off with OpenHab and MQTT.
Troubleshooting • 24 Mar 2015, 19:19 • kunall 29 Mar 2016, 14:33 -
MySensors Ethernet Gateway RPi form-factor (W5100 module)
OpenHardware.io • 3 Mar 2016, 08:13 • openhardware.io 3 Mar 2016, 08:13 -
Raspberry PI + MQTT (Mosquitto) + Serial Gateway
General Discussion • 14 Feb 2015, 06:12 • catcher 2 Mar 2017, 17:58 -
💬 RS485 Ethernet Gateway
OpenHardware.io • 20 Dec 2018, 14:55 • openhardware.io 9 Oct 2019, 12:05 -
Is MQTT Necessary? or, Use Case for MQTT?
Controllers • 28 Mar 2016, 01:12 • TRS-80 9 Jan 2020, 09:01 -
💬 MySRaspiGW - MySensors Raspberry Pi GPIO Gateway
OpenHardware.io • 17 Jun 2016, 08:02 • openhardware.io 11 Jul 2017, 21:11 -
Watchdog on 2.0
General Discussion • 11 Sept 2016, 16:10 • CrankyCoder 7 Jan 2017, 11:57 -
DHT11 Example Code on Arduino
Troubleshooting • 25 Nov 2018, 16:18 • zerosquared 29 Nov 2018, 04:13