core/homeassistant/components/zwave_js
Raman Gupta 1b81849271
Add zwave_js support for HeatIt Z-TRM2fx (#50317)
* Add zwave_js support for HeatIt Z-TRM2fx

* fix docstring

* use AwesomeVersion to support firmware version ranges

* add guard against empty firmware range

* switch guard approach to raise exception sooner

* make post init more generic

* Set up firmware range schema as AwesomeVersion during initialization

* Update homeassistant/components/zwave_js/discovery.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Allow min_ver and max_ver to be None

* fix docstring

* reduce import scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-09 15:28:35 -04:00
..
docs
translations [ci skip] Translation update 2021-05-08 00:03:19 +00:00
README.md
__init__.py
addon.py Fix zwave_js flow set add-on options (#49813) 2021-04-28 15:09:39 +02:00
api.py Move not loaded websocket constant to zwave_js (#50188) 2021-05-06 17:59:03 -07:00
binary_sensor.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
climate.py Add device specific discovery for Heatit Z-TRM3 thermostat (#49804) 2021-04-30 16:10:25 +02:00
config_flow.py Clean up connection classes in integrations T-Z (#49894) 2021-04-30 21:04:05 -10:00
const.py
cover.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
discovery.py Add zwave_js support for HeatIt Z-TRM2fx (#50317) 2021-05-09 15:28:35 -04:00
discovery_data_template.py Add device specific discovery for Heatit Z-TRM3 thermostat (#49804) 2021-04-30 16:10:25 +02:00
entity.py Make device info a TypedDict (#49670) 2021-04-30 23:21:39 +02:00
fan.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
helpers.py Add device specific discovery for Heatit Z-TRM3 thermostat (#49804) 2021-04-30 16:10:25 +02:00
light.py Add color_mode support to zwave_js light (#49588) 2021-04-30 13:46:25 +02:00
lock.py Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
manifest.json
migrate.py
number.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
sensor.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
services.py
services.yaml
strings.json
switch.py Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00

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.