Skip to main content

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

Execute a one-shot register command:

This is intended for write-only registers which are not exposed in the unit's parameter metadata. Register meanings remain the responsibility of the caller.

atrea.executeOneShotCommand(register_id, value)

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.10.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyatrea-0.10.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pyatrea-0.10.0.tar.gz.

File metadata

  • Download URL: pyatrea-0.10.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyatrea-0.10.0.tar.gz
Algorithm Hash digest
SHA256 bcc16ae9420ee5e9d6f2bbc186fd044b2b7520fbaf8c2a6a847588a00f78a343
MD5 decedefc3386033e076ed6d08809ceb6
BLAKE2b-256 b1aa231fdb8e3bd680a8a9e358035e091fa37461713e88e0fb2f773e6c77f32c

See more details on using hashes here.

File details

Details for the file pyatrea-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: pyatrea-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyatrea-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cfcc5d781a3d3c0f41bcb0086a92faa802536610b0b493db68f587689053003
MD5 0981cbd1a546782ce95520bc3d8149b3
BLAKE2b-256 520d2bd276bc6d9cda468f17ad848f39b5d2b8c6fc82a49198f86d6536f7ab5f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 files

0.9.9

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9

2 files

0.8.1

2 files

0.8

2 files

0.7

2 files

0.6

2 files

0.5

2 files

0.4

2 files

0.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page