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.51.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dbdd716ca9aff827c5a0bdf8930d17ec1a83238471edeb850bc5ef34abc18f1 |
|
MD5 | b00f09ece1b980b10946ab8edfc1ebef |
|
BLAKE2b-256 | d3144ad673b8f0bb8db4059e2751c474dfa99ae5f2f75771b0768c576ce82c71 |
Close
Hashes for zwave_js_server_python-0.51.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0265b144b5368e8e4a86cbc8c9d0ce7b93d929c2c4e9bbe369d059bb1677d40 |
|
MD5 | 892424ff15008fcee4fff8d06fe3e939 |
|
BLAKE2b-256 | 0db14426e9a04f7bf0c18467f83d2dba3e58d6a5c896777a618b6a64cbd71a09 |