kershner / screenBloom

Fake Ambilight for Philips Hue via Python

Home Page:http://www.screenbloom.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On disable, recover state before using ScreenBloom

Kakifrucht opened this issue · comments

Would it be possible to store the lighting data for the changed bulbs and recover those settings once you disable the program?

How do you mean, like a playback of all the light changes for the last N minutes or something?

No much simpler, to just revert to the state the lamps were in before ScreenBloom was started.

Oh I see what you mean. Store the value the bulbs were before ScreenBloom's first run and return to that value when stopped. That could eliminate the need for the 'default color' option.

That's a great idea, thank you for suggesting it. On the list it goes.

Implemented since this commit on 2/13/17.

Removed the default color setting UI. Now on startup Hues are queried for their initial settings (bri/color) and the value is stored in what used to be the user's selected default color variable. Whenever ScreenBloom is stopped the lights return to that color. Works really well and is both simpler and better than the original solution.

Thanks again for the idea @Kakifrucht !