xAAL devices Monitor Lib
Project description
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()
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
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 xaal_monitor-0.5.2.tar.gz.
File metadata
- Download URL: xaal_monitor-0.5.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a394b80b989b312ca32204d41842bf94df9029b0ff363a3bf39ed46284f6166
|
|
| MD5 |
e485ccbe22b38b3964fe817bba6736b8
|
|
| BLAKE2b-256 |
4cbf384f2cf02d94c0b1e0abf13e9cd6395c79932362848e2bee8c65f0f9d52c
|
File details
Details for the file xaal_monitor-0.5.2-py3-none-any.whl.
File metadata
- Download URL: xaal_monitor-0.5.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf3002763f353346a4ea7231461ba0b91b5d64261b165904736a115c0e16c0e
|
|
| MD5 |
baf9f8df9ce626d6c57a58f63431370c
|
|
| BLAKE2b-256 |
091ea8305610c807829ace03c8f723154e8101028e5632e7351bed0732ec609b
|