Skip to content
/ pybgh Public

A BGH Smart devices API client written in Python

License

Notifications You must be signed in to change notification settings

mool/pybgh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

A BGH Smart devices API client written in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published