Python library for communication with Atrea ventilation units
Project description
PyAtrea
Python library for communication with Atrea ventilation units
Install:
python3 -m pip install pyatrea
Usage examples:
Initiate library:
from pyatrea import pyatrea
atrea = pyatrea.Atrea("192.168.0.2",80,"passwordOnAtreaWebsite")
Get status of your unit with human readable identifications (if available):
status = atrea.getStatus()
if(status == False):
exit("Authentication failed")
for id, value in status.items():
print(atrea.getTranslation(id) + ":" + value)
Get human readable warnings and errors:
status = atrea.getStatus()
params = atrea.getParams()
for warning in params['warning']:
if status[warning] == "1":
print(atrea.getTranslation(warning))
for alert in params['alert']:
if status[alert] == "1":
print(atrea.getTranslation(alert))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyatrea-0.9.9.tar.gz
(6.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyatrea-0.9.9.tar.gz.
File metadata
- Download URL: pyatrea-0.9.9.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6048783353c5bacd3e0f9f02ff3bb8986f3df4a09273a794d9ac755c6972b4f
|
|
| MD5 |
e63aab624736876ede91ca9409e35979
|
|
| BLAKE2b-256 |
943c04185dca4bf720e8eaf275b828824ae4910f3ad58a874858e6327e796c81
|
File details
Details for the file pyatrea-0.9.9-py3-none-any.whl.
File metadata
- Download URL: pyatrea-0.9.9-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77d821112885002716c2b3d1ec894d9717b9556bebb7187a9d842214b4bcb1ee
|
|
| MD5 |
9e2b3fd5df07e8fe533307ebcdb66a3c
|
|
| BLAKE2b-256 |
dccac6197a0f2db568dd67be26f0fafeaea39bf6b554cc125eecbee6be9a040e
|