No project description provided
Project description
semhue
Python package for 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.6.tar.gz
(3.2 kB
view details)
File details
Details for the file semhue-1.1.6.tar.gz.
File metadata
- Download URL: semhue-1.1.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ac2d4f97abaf139415cd9308009bbedc7f76bb7a90171174c6f551d424f244
|
|
| MD5 |
739d81190df38048e160ca1ba3b421e0
|
|
| BLAKE2b-256 |
1e92fd1245edba830295c246e70473d69379e88cc1ddab6914fa9205a8222bdb
|