Skip to content

Sample python scripts for controlling a HUE bridge and a ZWay server

License

Notifications You must be signed in to change notification settings

AmI-2014/Python-Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST operation of Lights in Python

The modules provided in this repository show how lights can be operated (i.e., turned on or off) on Hue and Z-Wave networks using REST.

  • The rest.py module provides a really basic API for easily calling REST services.
  • The hue.py shows how to turn on every light connected to a Hue bridge and to set the color loop effect on them: the lamps cycle through all the available hues for 10s, then they are all turned off.
  • The zway.py shows how to turn on every "switch" device (i.e., lamps) connected to the Z-Wave network. Lamps are turned on and, after 10s, they are turned off. Please be aware that this module only works on machines running the ZWay server, i.e., RaspberryPi+RaZBerry

About

Sample python scripts for controlling a HUE bridge and a ZWay server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages