This package is a library for monitoring the xAAL devices on the network. It provides a easy way to get the list of devices and their status (attributes, description, metadata, etc…). It also provides a simple way to subscribe to events.
This package is used by a lot of xAAL programs like: The dashboard, the REST API, the Home Assistant plugin…
Usage
from xaal.monitor import Monitor
from xaal.schemas import devices
from xaal.lib import Engine
def on_event(ev_type, device):
print("Event type: %s from device %s" % (ev_type, device))
dev = devices.hmi()
eng = Engine()
eng.add_device(dev)
mon = Monitor(dev)
mon.subscribe(on_event)
eng.run()
Metadata
Release files for xaal.monitor 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xaal_monitor-0.5.2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xaal_monitor-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / xaal_monitor-0.5.2.tar.gz
| Download URL | xaal_monitor-0.5.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a394b80b989b312ca32204d41842bf94df9029b0ff363a3bf39ed46284f6166
|
|
BLAKE2b-256 checksum How to use checksums |
4cbf384f2cf02d94c0b1e0abf13e9cd6395c79932362848e2bee8c65f0f9d52c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / xaal_monitor-0.5.2-py3-none-any.whl
| Download URL | xaal_monitor-0.5.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bf3002763f353346a4ea7231461ba0b91b5d64261b165904736a115c0e16c0e
|
|
BLAKE2b-256 checksum How to use checksums |
091ea8305610c807829ace03c8f723154e8101028e5632e7351bed0732ec609b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|