Skip to content

WIFI_CONNECTED does not get fired after a WiFi reconnect #449

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

Closed
T94T opened this issue Dec 17, 2017 · 8 comments
Closed

WIFI_CONNECTED does not get fired after a WiFi reconnect #449

T94T opened this issue Dec 17, 2017 · 8 comments

Comments

@T94T
Copy link

T94T commented Dec 17, 2017

Hi,
I use the latest version of homie-esp8266. When I turn on the device HomieEventType::WIFI_CONNECTED event gets fired. After turning off and on my WiFi router, this event does not get fired anymore. Is this a bug, or do I something wrong?

@timpur
Copy link
Contributor

timpur commented Dec 17, 2017

Hard to say
How long do you leave your router off for ?

@T94T
Copy link
Author

T94T commented Dec 18, 2017

Just wanted to test the events. So I turned off the router and switched it back on immediately.

@T94T
Copy link
Author

T94T commented Dec 18, 2017

btw: The device reconnects to the WiFi AP but the event does not get fired.

@timpur
Copy link
Contributor

timpur commented Dec 18, 2017

Might not to do with homie more the the esp Arduino sdk

@T94T
Copy link
Author

T94T commented Dec 18, 2017

Thank you for this hint. Just made a git pull on esp8266/Arduino.

Even
WiFi.isConnected()
returns false after the device is reconnected. Very strange...

@T94T
Copy link
Author

T94T commented Dec 18, 2017

@marvinroger: Could this be the problem? esp8266/Arduino#2735 (comment) How is your code implemented?

@T94T
Copy link
Author

T94T commented Jan 16, 2018

Problem seems to be solved with the latest master branch of esp8266/Arduino. Please have a look at this: esp8266/Arduino#4161

@T94T T94T closed this as completed Jan 16, 2018
@timpur
Copy link
Contributor

timpur commented Jan 16, 2018

Cool :)

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

No branches or pull requests

2 participants