No project description provided
Project description
semhue
Python package for manipulation Phillips Hue lights
Installation
Windows
pip install semhue
Linux/MacOS
pip3 install semhue
Usage
import semhue
from semhue import *
Available commands
semhue.turn_lights_on(room_name, IP_ADDRESS)
: switch on the lights of a roomsemhue.turn_lights_off(room_name, IP_ADDRESS)
: switch off the lights of a roomsemhue.random_color(room_name, IP_ADDRESS)
: switch light color of a room to a random colorsemhue.change_color(room_name, color, IP_ADDRESS)
: switch light colors of a room from available colorssemhue.loop_all_colors(room_name, IP_ADDRESS)
: loop through all the available colors in a roomsemhue.available_colors()
: prints all available colorssemhue.set_brightness(room_name, brightness, IP_ADDRESS)
: set custom brightness for lights in a roomsemhue.get_rooms(IP_ADDRESS)
: get all the rooms associated to an IP address
License
MIT LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
semhue-1.1.5.tar.gz
(3.2 kB
view hashes)