Skip to main content

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

xaal_monitor-0.5.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

xaal_monitor-0.5.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for xaal_monitor-0.5.2.tar.gz
Algorithm Hash digest
SHA256 1a394b80b989b312ca32204d41842bf94df9029b0ff363a3bf39ed46284f6166
MD5 e485ccbe22b38b3964fe817bba6736b8
BLAKE2b-256 4cbf384f2cf02d94c0b1e0abf13e9cd6395c79932362848e2bee8c65f0f9d52c

See more details on using hashes here.

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

Hashes for xaal_monitor-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7bf3002763f353346a4ea7231461ba0b91b5d64261b165904736a115c0e16c0e
MD5 baf9f8df9ce626d6c57a58f63431370c
BLAKE2b-256 091ea8305610c807829ace03c8f723154e8101028e5632e7351bed0732ec609b

See more details on using hashes here.

Supported by

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