You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
could you explain to me please, what is the reason behind the lines 495 - 497 in your MQTT_TH_UV_rain/src/main.cpp file? Isn't WiFi connection handled by setup_wifi() function later in the setup() code?
And what about setup_wifi() and setup_mqtt() in all if statements from line 580 down? Isn't WiFi and MQTT already connected?
Thank you.
The text was updated successfully, but these errors were encountered:
Hello, I cannot believe I see your message only now. Sorry for this huge delay.
Line 495-497 : sorry I cannot remember why I put those.maybe was for debug and not needed now.
Repeated setup_wifi/setup_mqtt : allow reconnection if connection get lost (if AP is a bit far for the tiny ESP antenna...). It will do nothing if connection is already well established
Hello,
could you explain to me please, what is the reason behind the lines
495 - 497
in yourMQTT_TH_UV_rain/src/main.cpp
file? Isn't WiFi connection handled bysetup_wifi()
function later in thesetup()
code?And what about
setup_wifi()
andsetup_mqtt()
in allif
statements from line580
down? Isn't WiFi and MQTT already connected?Thank you.
The text was updated successfully, but these errors were encountered: