-
Notifications
You must be signed in to change notification settings - Fork 86
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
Feature: Auto-Dim in the evening #67
Comments
I installed home assistant two weekends ago and I'm quite fond of it now. Most of the triggers you describe are already implemented there. If the matrix can be exposed as an entity then a platform like that can make automations like this in a couple of clicks. To me that seems less work while it would also create other possibilities. But I agree that dimming it at night would be a nice feature. |
|
I have now found this one below its a lot cheaper and esp32 already installed. You can run pixelit software on this it makes it very nice to use |
Hmm, i could have added here instead of making a new issue: #74 I think a light sensor is the best way to handle the dimming. |
I did add a PIR sensor. If a person is in its range, the LED panel is switched to maximum brightness. After a configurable time a timer event triggers a ISR that reduces the brightness to a minimum (or could completely dim). To me, that works even better than just dimming in the evening. You find my mods on my fork of the code . |
One of my favorite features of my Tidbyt is that is has features to:
I would like to enable such a feature for my Obegraensad. I've been thinking about the best way to implement this for a while and am not thinking a "Plugin" make sense as I'd want to set the brightness in the loop.
Currently I am thinking of adding a few new constants for
MIN_BRIGHTNESS
,DIM_TIME
,ON_TIME
. I also thought of getting the sunset time based on the GPS coordinates which would also be fairly straightforward but feels a bit "over engineered" to me as setting a fixed time allows more control. Maybe that's a V2 option to allowSUNSET
to be defined within the auto-dimming setting.Things do get slightly more complicated with the web app component of this allowing brightness to be set. I'm wondering it it makes sense to offer a checkbox for "auto dim" in the web app which disables the brightness or if we can just recalculate the "steps" to
MIN_BRIGHTNESS
when the brightness level changes.I mean as I type this, I was originally thinking the screen would slowly dim over time. However, the simplest approach would just be to dim to a certain level at a given time.
In short, what I am saying/asking is if this feature would be useful for others and if so if they have thoughts on the best approach before I start to tinker.
Related: #66
The text was updated successfully, but these errors were encountered: