kershner / screenBloom

Fake Ambilight for Philips Hue via Python
http://www.screenbloom.com
329 stars 48 forks source link

Lightstrip plus 2 and Screen Zone #29

Closed PokoTom closed 6 years ago

PokoTom commented 7 years ago

Hi,

I currently have troubles with the following set up:

When I settup the 2 blooms for right and left screen zone, it works But screen zone doesn't work with the lightstrip.

If I run it without screen zone, everything works perfectly (but all the same colors at the same time of course)

I tried to setup different zones for the lighstrip, even using only the lightstrip and desactivate the other bulbs. I only get a bright white when I start (so I assume the connexion is OK) but no variation after that. As soon as I desactivate the screen zone, it works fine.

So maybe the screenzone doesn't work at all only with the lightstrip ? I don't know anything about coding, can you help me with this trouble ?

Nice work overall, I love it !

Regards,

Thomas

kershner commented 7 years ago

Hey Thomas,

Thanks for opening the issue. I think this is related to #20 . There is a bug with zone mode where certain configurations of lights will throw a ZeroDivionError. I added dumb handling in the last update to keep ScreenBloom from crashing, but haven't had time to fully dig into the problem just yet.

I'll keep both this and #20 open for now.

kershner commented 6 years ago

Hey there -

Pretty sure I've narrowed down the cause of this issue and fixed it with this commit. You can grab a new version from screenbloom.com.

Closing for now, but please add another comment if you try the new version and still have the error and I will re-open the issue.