Skip to content

Instantly share code, notes, and snippets.

Created April 8, 2014 04:12
What would you like to do?
Example Philips Hue dim script
#!/usr/bin/env python
from __future__ import print_function
from heliotron import Bridge
# ...and by heliotron I mean
bridge = Bridge(ip='', app_name='testscript')
lights = bridge.get_lights()
print('Good night!')
for light in lights:
print('- dimming %s' %
light.movie_dim(secs=30, off=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment