kershner / screenBloom

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

With bulbs that aren't Hue? #30

Closed mxchinegod closed 7 years ago

mxchinegod commented 7 years ago

If I wanted to use this with some other wifi LED bulb, would it work? Not familiar with the Hue API but it's just a packet sent over wifi in the end, right?

kershner commented 7 years ago

Nah I can't see it working as is.

ScreenBloom can only address bulbs that are enumerated by the Hue bridge, so you would need the third party WiFi bulb to be fully discoverable by the bridge. Even if they were discoverable, they'd need to have attributes that the Hue bridge can interact with like values for brightness, color, etc. The attribute names would need to match up with what the Hue API is expecting, which I wouldn't count on.

Your best bet would be to just use bits and pieces of ScreenBloom's code (like the image average function here) and integrate it into your own code for interfacing with the lights.

meyerrj commented 3 years ago

I know this is old, but there is a workaround that might help people out.

If you're using Home Assistant, you can install the Emulated Hue add-on: https://www.home-assistant.io/integrations/emulated_hue/

I've been using this and it works great with some Philips WiZ lights. :)