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.1.tar.gz (7.1 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file xaal_monitor-0.5.1.tar.gz.

File metadata

  • Download URL: xaal_monitor-0.5.1.tar.gz
  • Upload date:
  • Size: 7.1 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.1.tar.gz
Algorithm Hash digest
SHA256 be93c39d5de0f08edbcba3e449b87ac81611cdbdd57417fe0413c6c4dcd93375
MD5 841080adbe553c6fadde374082a5eada
BLAKE2b-256 78be1d335b2895caca140fae9af72c0020d50eb608f7314fd66db9b9371bdc7b

See more details on using hashes here.

File details

Details for the file xaal_monitor-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: xaal_monitor-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b69dda7b45aa011e46baf5c49e70e0a55e34a1bc34920547ddc438e4bacebb44
MD5 643b4bc7e0f715e861e4ad2585135b1f
BLAKE2b-256 3060484222599b12725987f82271a2b480d9e8a18a15926c5db4a3804168220b

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