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.

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.43.1.tar.gz (66.6 kB view details)

Uploaded Source

Built Distribution

zwave_js_server_python-0.43.1-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

Details for the file zwave-js-server-python-0.43.1.tar.gz.

File metadata

File hashes

Hashes for zwave-js-server-python-0.43.1.tar.gz
Algorithm Hash digest
SHA256 28b727d4d2f56f16e8a880ab5bc8361953c39895f161bbbb2e3ba3b90a816f5d
MD5 76db3811a5e9e113468a26de6fe43740
BLAKE2b-256 4dfbec19a4aca3192f1342d4b0efde1d97347a4a8c7b60b48810f96f60f55a4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zwave_js_server_python-0.43.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d4e02e0c9eb8b3fda725de487984712e08469a6c03baf6ea43f3d0e0fd9c24e
MD5 f69a8cbcded86923329c7a7715d94599
BLAKE2b-256 37fe0909bc7e830d138fe2123223e4582cf8f69ad5b2e48e47c204477456aab8

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