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.40.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c157794af6dc0528405471827e7f5000e8be3e7384ad6acfd339a310b65d2dd |
|
MD5 | 76fc278d23c028f2d14cb08466c5371c |
|
BLAKE2b-256 | 4f8de7a284d1b3f998d579a74e8d3cacf09acecb84b49a3839487324eaa4ef58 |
Close
Hashes for zwave_js_server_python-0.40.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55685e54ab3834cfc93b450dab89caba9ea7dd2d41584cabf61c837fde908b59 |
|
MD5 | cd156eb9859fb95a99ba3894bc495d1d |
|
BLAKE2b-256 | e8fd381ecaefba1979bd2b962fc31ab52c726c7875b5158927147229c860ef5a |