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.31.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc0c705d1db51b627299210c298aa1e3a91ee222f764d9e96fb7c6bbdd62e2b |
|
MD5 | 24afbde5bd04375cb1a5fb854dfeec81 |
|
BLAKE2b-256 | 049bff11f1087a5219cc9f82f7ccbfd1bca02ab3e4b5979a1a1e845a95eafbef |
Close
Hashes for zwave_js_server_python-0.31.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e32fe2033a8975c5d81a873a5b555b8899677c05c1414067e8129cf4fb2bce7 |
|
MD5 | 29f368501ef3f8d31ee2a0e4208168fc |
|
BLAKE2b-256 | 5b3d23d33c7a8f9564822b3716220a484f791a06577c26cfb92c45a8479eddc9 |