Connection problems: Node red, mosquitto broker and esp32

And something more... Subscribing every 2 seconds is not a good idea too. This should be done once after connect (or reconnect).

I found a example on Nicks github. (Amazing how google works :wink: ) What I can read it is a pretty clean implementation including a 2 sec. timer

1 Like