View Single Post
Old 05-24-2016, 11:48 PM   #14
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Zeya View Post
I still want the light to function as normal, just that they also go completely off when the slider is set all the way down. I'll give it a try when the PW3 arrives. First time doing anything like this, so I'll bump the thread if I need help or if I'm somehow successful on my own.
In that case, we could have a little task that runs in the background, checks for a '1' value at that location and changes it to '0', then sleeps awhile (perhaps one second) then loops back to check again.

That would behave as you wish, with up to a one second delay before that "almost off" changes to an off.

Again, that could be an option added to the KUAL extension (or a different extension even, or a startup script that ALWAYS runs in the background, spending MOST of its time just sleeping between brightness checks). And it could sleep for longer periods when it detects screensaver mode...

There is probably a better way, but this way I know...
geekmaster is offline   Reply With Quote