i have node-red connected esp devices(10-15pcs)
i have wifi and mqtt reconnect function but i have kinda weird issue
while devices are on, if i turn off router and turn on quick, on router its says my esp devices are connected(shows 10-20 Mbit/s) normalls its 150 Mbit/s
and on device serial monitors nothing shows about wifi, only i am keep getting mqtt rc2 error,(i have 5 sec reconnect loop) if i reboot device by button then everything turns fine,
is anyone know how i can solve it?
esp32 mqtt and wifi connection
Re: esp32 mqtt and wifi connection
Hi,
If you let the connection up, do the speed recovers over time?
And could you clarify about your network, you turn the wifi down and there is no disconnection on esp side?
The scenario you are describing looks like the WIFI is available but there is no connection to the broker.
If you let the connection up, do the speed recovers over time?
And could you clarify about your network, you turn the wifi down and there is no disconnection on esp side?
The scenario you are describing looks like the WIFI is available but there is no connection to the broker.
-
canerakcasu
- Posts: 2
- Joined: Wed Oct 08, 2025 10:50 am
Re: esp32 mqtt and wifi connection
we are building professional rooms with esp devices and controlled by node-red. i want to keep stay online and staying alive on mqtt broker. i have keep alive callback commands on mqtt, if device lost connection somehow then sometimes its keep offline this is my main problem.
devices(esp32 and barerly esp8266 need to stay on network even if wifi lost for long time and appear after long time esp must connect back auto.)
devices(esp32 and barerly esp8266 need to stay on network even if wifi lost for long time and appear after long time esp must connect back auto.)
Who is online
Users browsing this forum: Bytespider, ChatGPT-User, Google [Bot], meta-externalagent, Semrush [Bot] and 18 guests
