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

Uploaded Source

File details

Details for the file neohub-0.2.0.tar.gz.

File metadata

  • Download URL: neohub-0.2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for neohub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 673e0f130e6b506c32ef3c307e8897d69c6aa98f14af334241571c47f5bdc3b1
MD5 18bc3fb83985d9751f28a90482a2b889
BLAKE2b-256 f53f450163e5bbd7dd71c62349f78f3651f93b40bba844670112689f4df58280

See more details on using hashes here.

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