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.50.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315ae33482460aa2516cf7abb431d9494d0cb106363f0d5495effdfd6470e7f9 |
|
MD5 | 8067a663af4695107ed66fd1aaa1c878 |
|
BLAKE2b-256 | 8665cd0a48a35f4ebd83ce1fdd8a8114ec865e77e5a2d08c260fbcf8b21e80d0 |
Close
Hashes for zwave_js_server_python-0.50.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef88dcb011f8ef3e10f633a9131770c014744d61311a1726ecd49373efa0f744 |
|
MD5 | 9f224a39e48fce024be62c3bf23ed906 |
|
BLAKE2b-256 | 08bf29572f61766d72d598a9e4221e7ca7137ddfe4bc45154b1a9136d79177e0 |