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.35.1.tar.gz (61.2 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.35.1-py3-none-any.whl (76.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zwave-js-server-python-0.35.1.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for zwave-js-server-python-0.35.1.tar.gz
Algorithm Hash digest
SHA256 e46bcfd36f1e8d340ab57ce055dc9bd771f179e894a950d309a07767ddc4c4dd
MD5 f354d20e1095b21d0f49706a7e09a2cd
BLAKE2b-256 6163734e82cc2f07ba0548a462133ed65bd686ff0933c6d7f280843b84a3fcba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zwave_js_server_python-0.35.1-py3-none-any.whl
  • Upload date:
  • Size: 76.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for zwave_js_server_python-0.35.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca9d4b0094682a97733775b86aea999b9e29e8f1b279b60e0b7556c20c313ba8
MD5 d07879732c9db45fd98905fc20a5488b
BLAKE2b-256 cd1782d22ca7611fd7bbe5fbb05f9ce7021329d43f53079e3b6a8c53e3f7c2cf

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