Hi All,
Does anyone know how to create a strobe style disco mood on a Philips Hue Light system? I am trying to create a scene and ideally I want it to start a Spotify Playlist but I believe that is taking it to far currently.
Thanks
Mike
Hi All,
Does anyone know how to create a strobe style disco mood on a Philips Hue Light system? I am trying to create a scene and ideally I want it to start a Spotify Playlist but I believe that is taking it to far currently.
Thanks
Mike
The Hues support 2 types of flashing but they are intended as a warning and only last a few seconds.
You would have to build a new component for strobing and sound-to-light - funnily enough I was thinking about that yesterday but I believe that the latency would not make it easy to do something other than flash the lights every couple of seconds and definitely not in time to any kind of music.
Ah that sucks! I have a hue disco app that does it with the Hue bulbs but I wanted it all built into HA rather than load up the app separately
If you can do it with an APP you can probably do it in HA but you would probably need a new component to do it.
I’ve tried to do something similar but still having some latency. Maybe doing via threads my be better.
The test was:
from phue import Bridge as HueBridge
HUE_BRIDGE_HOSTNAME = '192.168.1.1'
HUE_BRIDGE_USERNAME = 'xxxxwii9239320asfd'
hue = HueBridge(HUE_BRIDGE_HOSTNAME, username=HUE_BRIDGE_USERNAME)
cmd_off = {'bri': 90 'on': True, 'transitiontime': 0}
cmd_on = {'bri': 254, 'on': True, 'transitiontime': 0}
while True:
hue.set_light('Island', cmd_on)
time.sleep(0.10)
hue.set_light('Floor lamp middle', cmd_off)
hue.set_light('Cabinets', cmd_on)
time.sleep(0.0001)
hue.set_light('Floor lamp middle', cmd_on)
time.sleep(0.10)
hue.set_light('Island', cmd_off)
time.sleep(0.100)
hue.set_light('Cabinets', cmd_off)
time.sleep(0.100)
But maybe to change its state via HASS it may not offer the same speed.