Skip to main content

Python wrapper for zwave-js-server

Project description

zwave-js-server-python

Python library for communicating with zwave-js-server. Goal for this library is to replicate the structure and the events of Z-Wave JS 1:1. So it has a Driver, Controller and Node classes.

Setup development environment

To setup your development environment, run scripts/setup, which will install all requirements and set up pre-commit checks.

Trying it out

python3 -m zwave_js_server ws://localhost:3000

Or get the version of the server

python3 -m zwave_js_server ws://localhost:3000 --server-version

Or dump the state. Optionally add --event-timeout 5 if you want to listen 5 seconds extra for events.

python3 -m zwave_js_server ws://localhost:3000 --dump-state

Sending commands

try:
    result = await client.async_send_command({ "command": "start_listening" })
except zwave_js_server.client.FailedCommand as err:
    print("Command failed with", err.error_code)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zwave_js_server_python-0.68.0.tar.gz (82.7 kB view details)

Uploaded Source

Built Distribution

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

zwave_js_server_python-0.68.0-py3-none-any.whl (106.2 kB view details)

Uploaded Python 3

File details

Details for the file zwave_js_server_python-0.68.0.tar.gz.

File metadata

  • Download URL: zwave_js_server_python-0.68.0.tar.gz
  • Upload date:
  • Size: 82.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zwave_js_server_python-0.68.0.tar.gz
Algorithm Hash digest
SHA256 e8d5b53c2a7d71e07bdec6a466fa9048a3c4c2d7575824f6edeb08230d74262e
MD5 8a70bf0db2e7f1ac731a38c024c52296
BLAKE2b-256 3c08e1be33f3874bd03bce8666fccaee81d29a22f19e020c0268297448e7c7bb

See more details on using hashes here.

File details

Details for the file zwave_js_server_python-0.68.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zwave_js_server_python-0.68.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4b93c9fb6e84fea25c32697097732430bdbb466283e7c190b1a5c72d9d50ba
MD5 395407a1baf5ec8afd1f3dbe0f6b1b86
BLAKE2b-256 f984008c82cd2063b49d9093176a0dac9284b941476573159bdc919e61644c57

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