Skip to main content

A BGH Smart devices API client

Project description

pybgh

A BGH Smart devices API client written in python.

Install

pip install pybgh

Example

import pybgh

client = pybgh.BghClient('email@xxx.com', 'password')
home_id = client.get_homes()[0]['HomeID']
device_id = next(iter(client.get_devices(home_id)))

print(client.get_status(home_id, device_id)['data'])
client.set_mode(device_id, 'cool', 24, 'auto')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybgh, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pybgh-0.1.4-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page