-
Notifications
You must be signed in to change notification settings - Fork 636
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
problem adding light support #366
Comments
It would be nice to know what exception it threw, maybe decoding it to know the place in code that failed. When the firmware is unstable (reboots 5 times in a row) it enters "safe mode", creates an WIFI AP and only TELNET and OTA are available, no web interface. It's a feature to allow the user to recover from a not working image (reflashing via OTA with a stable version). On your settings you probably want to add a dummy relay to toggle light on and off:
LED_WIFI is deprecated and should not be in the code, I'm removing its references. LED1_### is meant to control onboard LEDs, typically used for notifications. |
Original comment by blue (Bitbucket: bluexp, GitHub: bluexp): Thanks for your guide, here is the log reported when activating light_provider:
|
Please update your code to 1.11.3, this bug was solved last week: issue #356 . |
Not at the moment. But there are plans to allow defining new buttons and mapping them to relays or other options. That's a future feature :=) |
Originally reported by: blue (Bitbucket: bluexp, GitHub: bluexp)
I am trying to add 3 channel RGB light support to NODEMCU board. I've added following lines to hardware.h:
But the module threw exception and rebooted several time and web ui stopped working.
Am I doing it right? what is the problem?
I also want to know what is the purpose and use of LED1 and LED_WIFI?
The text was updated successfully, but these errors were encountered: