You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then line 442:
if state == "saveron":
logger.debuglog("dimming lights for screensaver")
hue.dim_lights()
Obviously would need option to turn off/on this feature.
Slightly related is having the lights turn on/off when Kodi starts/stops, so whenever Kodi is active the lights are on, and when it's not they're off - issue already exists here: #19
The text was updated successfully, but these errors were encountered:
As I've got my htpc always on, but don't want to manually turn off my hue lights - I wanted to have the lights turn off with my screensaver.
I took a crack at it - not really familiar with all this so may be more efficient way to do - but thought it would be useful to post:
Added to default.py
line 44:
def onScreensaverActivated(self):
state_changed("saveron",5)
def onScreensaverDeactivated(self):
state_changed("stopped",5)
then line 442:
if state == "saveron":
logger.debuglog("dimming lights for screensaver")
hue.dim_lights()
Obviously would need option to turn off/on this feature.
Slightly related is having the lights turn on/off when Kodi starts/stops, so whenever Kodi is active the lights are on, and when it's not they're off - issue already exists here:
#19
The text was updated successfully, but these errors were encountered: