Skip to content

💡Simple Python wrapper for interacting with Phillips Hue

Notifications You must be signed in to change notification settings

mauran/SimpleHue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

SimpleHue

💡Simple Python wrapper for interacting with Phillips Hue

Example code

hue = SimpleHUE('http://your-hue-bridge-ip', 'some-username')
# Turn on the light with ID 1 
hue.turn_on(1)
# Turn off the light
hue.turn_off(1)
# Set the colors of a light (id, saturation, brightness, hue)
hue.set_color(1, 254, 254, 10000)

FAQ

How do I get a username?

Check out Phillip Hue's Getting started guide

How do I find the Hue Bridge IP?

Log into your router and find the IP for the hostname 'phillips-hue'. You could also use an app like Fing

About

💡Simple Python wrapper for interacting with Phillips Hue

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages