[GH-ISSUE #1110] Execute an action after an AutoReconnect event #949

Closed
opened 2026-02-28 01:27:49 +03:00 by kerem · 1 comment
Owner

Originally created by @jorgele on GitHub (Aug 18, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1110

How can I execute an action after an AutoReconnect event? Let me explain: My project includes a connection to a firebase stream, but when the internet goes down, that connection is lost. Then, using WiFi.setAutoReconnect (true) I can recover my internet, but not the connection with firebase. Is there a callback that I can use to make a new connection with firebase or anything else? Thank you

Originally created by @jorgele on GitHub (Aug 18, 2020). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1110 How can I execute an action after an AutoReconnect event? Let me explain: My project includes a connection to a firebase stream, but when the internet goes down, that connection is lost. Then, using WiFi.setAutoReconnect (true) I can recover my internet, but not the connection with firebase. Is there a callback that I can use to make a new connection with firebase or anything else? Thank you
kerem 2026-02-28 01:27:49 +03:00
  • closed this issue
  • added the
    Question
    label
Author
Owner

@tablatronix commented on GitHub (Aug 18, 2020):

You can use events on esp32, or use a loop and just check for


 (savedlaststatus != WiFi.status() && (WiFi.status() == WL_CONNECTED))

This is not WM related.

<!-- gh-comment-id:675188640 --> @tablatronix commented on GitHub (Aug 18, 2020): You can use events on esp32, or use a loop and just check for ```C++ (savedlaststatus != WiFi.status() && (WiFi.status() == WL_CONNECTED)) ``` This is not WM related.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#949
No description provided.