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
Built Distribution
Close
Hashes for zwave-js-server-python-0.51.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8708fcf91f5ef31903732ec6fba73c7200e1f0b33b176b11563078cd196a94a9 |
|
MD5 | c9b7714ce3ba75fe716a1524fa96ab05 |
|
BLAKE2b-256 | 45b950eb12d25d200fa0a170a7431b7ad121019539a87568dcd414659aa1b752 |
Close
Hashes for zwave_js_server_python-0.51.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c343700e4c5fd4f7d187c1f1b7cb4ac88ce0b1d8777338be0cc8e40bc22e347b |
|
MD5 | 4463b89b6cd6ccdea64a25fcca9db2c4 |
|
BLAKE2b-256 | 730a7027c641cfb87a6f6e70c25a1b27730b933d27c16b82c5d8910552b09210 |