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.43.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b727d4d2f56f16e8a880ab5bc8361953c39895f161bbbb2e3ba3b90a816f5d |
|
MD5 | 76db3811a5e9e113468a26de6fe43740 |
|
BLAKE2b-256 | 4dfbec19a4aca3192f1342d4b0efde1d97347a4a8c7b60b48810f96f60f55a4e |
Close
Hashes for zwave_js_server_python-0.43.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d4e02e0c9eb8b3fda725de487984712e08469a6c03baf6ea43f3d0e0fd9c24e |
|
MD5 | f69a8cbcded86923329c7a7715d94599 |
|
BLAKE2b-256 | 37fe0909bc7e830d138fe2123223e4582cf8f69ad5b2e48e47c204477456aab8 |