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

Uploaded Source

Built Distribution

zwave_js_server_python-0.35.2-py3-none-any.whl (76.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zwave-js-server-python-0.35.2.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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.2.tar.gz
Algorithm Hash digest
SHA256 9a3e4020244628d228bc2da5bca7640646e6b1b5aac14c9aef1d9426ea9ea904
MD5 be447f666d5df94ed3fde9820d45b384
BLAKE2b-256 0fb99a5abd90a58bcd268f37931600d6266b55eae1d85391ccf767735b5a3605

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zwave_js_server_python-0.35.2-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/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 094262c6cee940d8c06bce38fc86b0e11b0649bffe8893e91bbaf2ed72194339
MD5 ea36873c0f40a8d92b4993d850997c05
BLAKE2b-256 84763e974e328247195edb27a0309068e0d7e18eb107aff9a51d671a28ae5e6d

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