Skip to main content

xAAL dummy devices

Project description

This package provides some dummy (fake) devices for the xAAL Project. It is intended to be used for testing purposes.

Usage

Run the module to see the available devices and how to run them.

python -m xaal.dummy
================= xAAL dummy devices =================

This package contains some fake lamps, power_relay, and bots:
    - lamp:         a simple lamp implementation
    - lamp_minimal: a simple lamp using schema devices
    - power_relay:  a power relay
    - temperature:  a fake temperature sensor
    - autobot:      a bot than send turn_on/off and  set_brightness
    - asyncbot:     same as autobot with asyncio


To run a module simply call: python -m xaal.dummy.module
Example: python -m xaal.dummy.lamp 8e1495cc-b98b-11eb-8432-d6bd5fe18736

All modules accept their address (uuid) as argument. Autobot uuid is the
lamp's address to switch.

Here a simple example to run a lamp:

python -m xaal.dummy.lamp 8e1495cc-b98b-11eb-8432-d6bd5fe18736

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_dummy-0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

xaal.dummy-0.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file xaal_dummy-0.3.tar.gz.

File metadata

  • Download URL: xaal_dummy-0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for xaal_dummy-0.3.tar.gz
Algorithm Hash digest
SHA256 5def23584d66887a20e49abd73aa0d44be7e625da681a8d018a1c2e3ab531e16
MD5 b839e36ea574863aab6bcddb72d89222
BLAKE2b-256 365187fb0d0b5c6b1078a36a51e25e658e7b1f32d095cf63101a3ec74e6f7e5e

See more details on using hashes here.

File details

Details for the file xaal.dummy-0.3-py3-none-any.whl.

File metadata

  • Download URL: xaal.dummy-0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for xaal.dummy-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d84789cc30efcb6fb90d0f34147a3b0a4f3116d06fb27de293c6951be97ca4d7
MD5 55238d52519de0bcbebedfec4e3fa244
BLAKE2b-256 cc54c186590e8d7e66373b3f4c40d9624cf812c09f8e23ea547b437a88e34168

See more details on using hashes here.

Supported by

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