Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zackelia/huelights
A Python wrapper to interact with Philips Hue smart lights
https://github.com/zackelia/huelights
Last synced: about 1 month ago
JSON representation
A Python wrapper to interact with Philips Hue smart lights
- Host: GitHub
- URL: https://github.com/zackelia/huelights
- Owner: zackelia
- License: gpl-3.0
- Created: 2019-02-23T19:04:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T23:38:00.000Z (almost 5 years ago)
- Last Synced: 2024-10-13T01:01:30.143Z (2 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# huelights
![python](https://img.shields.io/pypi/pyversions/huelights.svg)
[![pypi](https://img.shields.io/pypi/v/huelights.svg?color=blue)](https://pypi.org/project/huelights/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)A Python wrapper to interact with Philips Hue smart lights
## Installation
Install from PyPI:
`pip install huelights`
## Example
A small example for interacting with your Philips Bridge to manipulate Philips Hue smart lights:
```python
from huelights import Bridgebridge = Bridge('username')
lights = bridge.get_lights()
for light in lights:
light.effect = 'colorloop'
```