Skip to main content

Control Neohub supported thermostats

Project description

Neohub

Python module to control Neohub supported thermostats

Requirements

It should work with both python2 and python3 with simple pip commands:

sudo apt-get update
sudo apt-get install -y python3 python3-pip
sudo pip3 install neohub

Examples

Simple example to get devices and its current status:

# you should obtain devkeys and IDs somehow
n=neohub.Neohub(**{'devkey':1,'vendorid':1,'devicetypeid':1, 'debug':False})
# e-mail of account and password
resp=n.login("simple@example.org","password")
for device in resp['devices']:
        print("=Device: ", device['devicename'],device['deviceid'])
        stat=n.device_status(device['deviceid'])
        status=stat['devices'][0]
        print(status)

Project details


Download files

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

Source Distribution

neohub-0.2.0.tar.gz (2.9 kB view hashes)

Uploaded Source

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