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.47.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c63815734d3e3ac722202e22ea7a2232804a8d5fd452c2bc4435727f2b6c80 |
|
MD5 | 3384f99b74de83ac7b4c85a3ee947757 |
|
BLAKE2b-256 | 449ab7072560aa430a9d38f146a53e439c90c8325fe0c18597bec19067588c45 |
Close
Hashes for zwave_js_server_python-0.47.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22dc68b4aff55066897ae396d0ceeb3a4422d06eb2fb29ea1730a510f99cbc38 |
|
MD5 | 307e9d6ad7de8f23fb6bea8fdcb2eb62 |
|
BLAKE2b-256 | 257737501b4aa1897b0cba2d3ba816b6d6a4b0b6b3de1b0678c835bd461b4b9d |