core/homeassistant/components/zwave_js
Raman Gupta 99c5087c1e
Add WS API command to capture zwave_js logs from server (#49444)
* Add WS API commands to capture zwave_js logs from server

* register commands

* create a task

* Update homeassistant/components/zwave_js/api.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/zwave_js/api.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* fix

* fixes and add test

* fix PR on rebase

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-21 07:37:35 -04:00
..
docs
translations
README.md
__init__.py Add support to enable/disable zwave_js data collection (#49440) 2021-04-20 21:40:54 -04:00
addon.py
api.py Add WS API command to capture zwave_js logs from server (#49444) 2021-04-21 07:37:35 -04:00
binary_sensor.py
climate.py
config_flow.py
const.py Add support to enable/disable zwave_js data collection (#49440) 2021-04-20 21:40:54 -04:00
cover.py
discovery.py Update typing syntax (#49480) 2021-04-20 17:40:41 +02:00
entity.py
fan.py
helpers.py Add support to enable/disable zwave_js data collection (#49440) 2021-04-20 21:40:54 -04:00
light.py
lock.py
manifest.json Bump zwave_js dependency to 0.24.0 (#49445) 2021-04-20 23:44:26 +02:00
migrate.py
number.py
sensor.py
services.py Bump zwave_js dependency to 0.24.0 (#49445) 2021-04-20 23:44:26 +02:00
services.yaml
strings.json
switch.py

README.md

Z-Wave JS Architecture

This document describes the architecture of Z-Wave JS in Home Assistant and how the integration is connected all the way to the Z-Wave USB stick controller.

Architecture

Connection diagram

alt text

Z-Wave USB stick

Communicates with devices via the Z-Wave radio and stores device pairing.

Z-Wave JS

Represents the USB stick serial protocol as devices.

Z-Wave JS Server

Forward the state of Z-Wave JS over a WebSocket connection.

Z-Wave JS Server Python

Consumes the WebSocket connection and makes the Z-Wave JS state available in Python.

Z-Wave JS integration

Represents Z-Wave devices in Home Assistant and allows control.

Home Assistant

Best home automation platform in the world.

Running Z-Wave JS Server

alt text

Z-Wave JS Server can be run as a standalone Node app.

It can also run as part of Z-Wave JS 2 MQTT, which is also a standalone Node app.

Both apps are available as Home Assistant add-ons. There are also Docker containers etc.