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

Add brightness offset to switch configuration variables #53

Open
avdz opened this issue Nov 14, 2019 · 2 comments
Open

Add brightness offset to switch configuration variables #53

avdz opened this issue Nov 14, 2019 · 2 comments

Comments

@avdz
Copy link

avdz commented Nov 14, 2019

I would like to propose to add offset_brightness to the switch configuration variables as an enhancement.

My personal reason: not all my lights have the same output power. So to have the same brightness everywhere I would like to finetune the brightness with an offset.
The most straightforward way would be adding a constant offset. It's easy enough to clip the output to the maximum allowed brightness and keep the offset as min_brightness. This would work for me as I set my min_brightness to 20% anyway.
To generalise this approach it's maybe possible to just continue dimming until min_brightness is reached (thus extending the dimming time).
Another approach to keep might be to reduce the offset from a certain threshold. So that min_brightness is reached at the same time as the other lights. This approach would increase the dimming speeds.
I'm not sure which one would fit best in the whole circadian lighting rhythm theory ;-)
You might even use the same approach for #29

@mouth4war
Copy link
Contributor

I'm handling this by grouping dim lights into one switch and bright ones into another, so I can specify differing min and max brightnesses to even them out.

@samuellinde
Copy link

I'm handling this by grouping dim lights into one switch and bright ones into another, so I can specify differing min and max brightnesses to even them out.

This is genius, thank you. I never realized I could create multiple switches. 🙈

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

3 participants