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.48.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da479bf3297f27953efe6e2d5a41a1d11284fbafad0e9385055740a7f7e10d0f |
|
MD5 | 2e36afc4a82834a3ec0bb82488c4a46e |
|
BLAKE2b-256 | b9915f8b27c9e08ae42054d045b2dc5180701327fcf4ad1f0466b633cd2e9bd1 |
Close
Hashes for zwave_js_server_python-0.48.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678bb91ccc73b91dcbff2a0f6e8e6a0f3745c72aea37aa04ba17a58f9f5c308c |
|
MD5 | b22ce4ad6bd4f06a76712e238a38de79 |
|
BLAKE2b-256 | 8a9955397bce576c7ad73a5863aedf92fc182334b13c6f39b550bc1e821789d5 |