Control a homebridge server
Project description
pyhomebridge
python library to control a Homebridge server
Setup
Install homebridge-config-ui-x on your HomeBridge.
Make sure you run HomeBridge in Insecure Mode. (This can be changed in the Web Settings at top right corner) API control is only allowed in this mode. Thats starting HomeBridge with the -I flag.
Installation
pip install pyhomebridge
Usage
from homebridge import HomeBridgeController
controller = HomeBridgeController(host="homebridge.local", port=80, auth="123-45-678")
controller.print_accessories()
Development
Currently supported devices:
- Lights
- Switches
TODO
- add timeouts
- support more device types
- write documentation
- write tests
- much much more
Inspiration
License
Free Software, Hell Yeah!
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pyhomebridge-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyhomebridge-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d560ae1e42389c322eca9c1a5cdd602999ebb39b47348be582820211227d9cc |
|
MD5 | ef78ac75f5137f1608c42a4be35c1651 |
|
BLAKE2b-256 | 9f6400220db3a54738f27e3b64f85242c02b542ba31082bd3b055498cfb149c3 |