Skip to content

Instantly share code, notes, and snippets.

View ethanrusz's full-sized avatar
🏳️‍⚧️
Show your pride!

Em (Ethan) Ruszanowski ethanrusz

🏳️‍⚧️
Show your pride!
View GitHub Profile
@ethanrusz
ethanrusz / flicker.py
Created September 29, 2019 00:48 — forked from benrules2/flicker.py
Causes Philips Hue lights to flicker
from qhue import Bridge
import time
import random
import sys
bridge_ip = "<hue_ip_address>"
username = "<username>"
my_lights = [light_id_1, light_id_2]
def flicker(bridge, elapsed_time, lights_list = [], transition = 10):
@ethanrusz
ethanrusz / flicker.py
Created September 29, 2019 00:48 — forked from benrules2/flicker.py
Causes Philips Hue lights to flicker
from qhue import Bridge
import time
import random
import sys
bridge_ip = "<hue_ip_address>"
username = "<username>"
my_lights = [light_id_1, light_id_2]
def flicker(bridge, elapsed_time, lights_list = [], transition = 10):