Skip to main content

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

HomeScript by menahishayan

License

MIT

Free Software, Hell Yeah!

Project details


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

pyhomebridge-0.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page