Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically retry to connect if we're in portal after set timeout #9

Merged
merged 3 commits into from Nov 16, 2021

Conversation

garyservin
Copy link
Owner

Turns out we've had the timeout set, but portal has to be started with
AP_RESET to allow it to automatically attempt to reconnect to wifi.

Need to test this on the real hardware to confirm it works. I've also removed the startup delay that was to sort of workarund the issue of the WiFi sometimes appearing after the sensor has started

This should fix #6

Turns out we've had the timeout set, but portal has to be started with
AP_RESET to allow it to automatically attempt to reconnect to wifi.
@garyservin garyservin force-pushed the restart-esp-if-no-wifi branch 2 times, most recently from b616148 to 9dbadd9 Compare November 16, 2021 06:02
@garyservin garyservin merged commit 3f9d9df into master Nov 16, 2021
@garyservin garyservin deleted the restart-esp-if-no-wifi branch November 16, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow mcu to retry connecting to configured wifi if we're in captive portal mode
1 participant