I am trying to use XOD programming to subscribe an Arduino NodeMCU to my NodeRED server.
In this case I subscribe to the given values of a LDR which are available every 10 seconds on the server.
I use the MQTT subcribe node from bradzilla84
After connecting and subscribing to the topic, I can recieve exactly 10 message values.
After that the NodeMCU is sending subscribe messages so quickly that it looks like it’s in a loop.
The server is responding to every message with an ACK but Node MCU can not recieve them anymore.
After reset of the nodeMCU this cycle starts again with only 10 recieved messages.
Is this a bug in the MQTT node and how can I fix this problem.
Thanks in advance