Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python library to interact with a Z-Wave JS server.

License

NotificationsYou must be signed in to change notification settings

home-assistant-libs/zwave-js-server-python

Repository files navigation

Python library for communicating withzwave-js-server. Goal for this library is to replicate the structure and the events of Z-Wave JS 1:1. So it has aDriver,Controller andNode classes.

Setup development environment

To setup your development environment, runscripts/setup, which will install all requirements and set up pre-commit checks.

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=awaitclient.async_send_command({"command":"start_listening" })exceptzwave_js_server.client.FailedCommandaserr:print("Command failed with",err.error_code)

About

Python library to interact with a Z-Wave JS server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp