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

Uploaded Source

Built Distribution

zwave_js_server_python-0.31.0-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zwave-js-server-python-0.31.0.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for zwave-js-server-python-0.31.0.tar.gz
Algorithm Hash digest
SHA256 cfc0c705d1db51b627299210c298aa1e3a91ee222f764d9e96fb7c6bbdd62e2b
MD5 24afbde5bd04375cb1a5fb854dfeec81
BLAKE2b-256 049bff11f1087a5219cc9f82f7ccbfd1bca02ab3e4b5979a1a1e845a95eafbef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zwave_js_server_python-0.31.0-py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for zwave_js_server_python-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e32fe2033a8975c5d81a873a5b555b8899677c05c1414067e8129cf4fb2bce7
MD5 29f368501ef3f8d31ee2a0e4208168fc
BLAKE2b-256 5b3d23d33c7a8f9564822b3716220a484f791a06577c26cfb92c45a8479eddc9

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