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)
Metadata
Release files for neohub 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neohub-0.2.0.tar.gz | 2.9 kB | Without provenance | Details for neohub-0.2.0.tar.gz |
Release files / neohub-0.2.0.tar.gz
| Download URL | neohub-0.2.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
673e0f130e6b506c32ef3c307e8897d69c6aa98f14af334241571c47f5bdc3b1
|
|
BLAKE2b-256 checksum How to use checksums |
f53f450163e5bbd7dd71c62349f78f3651f93b40bba844670112689f4df58280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for neohub 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.