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

[Homie] signal when wifi disconnected #42

Open
CWempe opened this issue Dec 7, 2019 · 1 comment
Open

[Homie] signal when wifi disconnected #42

CWempe opened this issue Dec 7, 2019 · 1 comment

Comments

@CWempe
Copy link
Owner

CWempe commented Dec 7, 2019

Show color signal (1st LED) when specific events occur.
Like Wifi disconnected.

https://homieiot.github.io/homie-esp8266/docs/2.0.1-pre1/advanced-usage/events/

@CWempe
Copy link
Owner Author

CWempe commented Dec 8, 2019

You can also use homie.isConnected() in loop.
IIRC it is true when WiFi and MQTT are connected.
Or you can use your own loop handler which is only called when everything is connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant