-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add LDR sensor dusk/dawn preset control Usermod #3490
Conversation
It would be great if you could also update |
2646444
to
28b8262
Compare
I have made the requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert changes to platformio.ini
, otherwise the PR is fine.
c29e8e9
to
34a5dca
Compare
Please do not force push changes next time. |
Understood. Other projects I've contributed to specifically ask for all changes to be contained within a single commit, I'll try to remember for next time. |
We do have such guidelines as well but they are not strict rules, especially if changes are requested. |
Add LDR sensor dusk/dawn preset control Usermod
This usermod will obtain readings from a Light Dependent Resistor (LDR) and will turn on/off specific presets based on those readings. This is useful for exterior lighting situations where you want the lights to only be on when it is dark out.
Tested on an ESP32 (HUZZAH32) with a generic LDR.