Feature Rich Python API for Hue V1 and V2
Project description
PythonHueControl
The most complete, yet simple to use, Python library for Philips Hue control supporting both version 1 and 2 of the API.
Overview
This Python package contains the classes and functions to interface with the Philips Hue bridge. It consists of the following files:
- pythonhuecontrol - generic definitions applicable to both v1 and v2 of the API
- v1 - generic definitions for v1 of the API only
- bridge - definitions for interacting with the bridge (control + adding lights/sensors/rules/groups/scenes/schedules)
- configuration - managing bridge configuration
- light - definition for controlling lights
- group - definitions for controlling groups
- rule - definitions for controlling rules
- scene - definitions for controlling scenes
- schedule - definitions for controlling schedules
- sensor - definitions for controlling sensors
- resourcelinks - definitions for controlling resourcelinks
- capabilities - used and available resources in bridge
- v2 - UNDER CONSTRUCTION
- v1 - generic definitions for v1 of the API only
Details can be found in the README files for the different sub-packages.
Hue Bridges up to software version 1948086000 support API V1. From version 1948086000 API V2 is support in addition to V1. In the future V1 will be depricated.
Installation
This library is available from PyPi. Make sure Python and Pip are installed on your system. The from the commandline run:
pip install pythonhuecontrol
This will install interfaces for both version 1 and version 2 of the API.
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
File details
Details for the file PythonHueControl-0.4.4.tar.gz
.
File metadata
- Download URL: PythonHueControl-0.4.4.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68498dd8075efaf93bbdf4cc465145a3bc3062ee81df2b123ed73eb150dccf09 |
|
MD5 | cfc30b9161e5642da47321ce0720c2ec |
|
BLAKE2b-256 | 6c80f8952dc5774b1d81229c43f9474da207ea834bf8360288238d8157a628b4 |