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.35.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3edca3988b4343b6674f49a87e1a9714a85ab7b190febfb0d053fa7a2d22922 |
|
MD5 | 3b2338d02c2dccf21d2cb0d363cb5fe0 |
|
BLAKE2b-256 | 9460be1872a7ac343a8ab36398c3975a53bc7e503744809ffff62075b176843b |
Close
Hashes for zwave_js_server_python-0.35.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21709e99b96807fa35b793d1be25940c4a9af0a1a00d5854bc1482960f7ca538 |
|
MD5 | 78f572a811aef2aeef212e05beb1bd43 |
|
BLAKE2b-256 | 7670effaa62574e656e0a3659c688eb154d9322ce35e672aa8c55e305306a78a |