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

Issue with light sensor[BUG] #60

Closed
vincentbraillard opened this issue Oct 2, 2021 · 1 comment
Closed

Issue with light sensor[BUG] #60

vincentbraillard opened this issue Oct 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@vincentbraillard
Copy link

Describe the bug
after activation and desactivation of the light sensor, the brightness slider don't work anymore

To Reproduce
Steps to reproduce the behavior:
1: when starting the server with sensor off, the breathless slider work great between 0 to 100%
2: when turn on the sensor, the sensor work great also following the code
3: when turning off the sensor, the light cannot increase more than the last value when sensor was on (if 0, that 0 if a value, than this value)
4: the brightness slider work but from 0 to last value when sensor was on

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):
all

@vincentbraillard vincentbraillard added the bug Something isn't working label Oct 2, 2021
@texx00
Copy link
Owner

texx00 commented Oct 3, 2021

Also this should be fixed in the latest alpha. The solution was to set the brightness at maximum when the sensor is switched off. Not the best solution probably but cannot do now. This is quite related to #59: when that one is done should be possible to keep the last brightness value instead of using the maximum

@texx00 texx00 closed this as completed in 12a9442 Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants