core/homeassistant/components/zwave_js
Raman Gupta 30cbf03b48
Add energy support for zwave_js meter CC entities (#53665)
* Add energy support for zwave_js meter CC entities

* shrink

* comments

* comments

* comments

* Move attributes

* Add tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-29 14:18:38 +02:00
..
docs
translations [ci skip] Translation update 2021-07-24 00:08:57 +00:00
README.md
__init__.py Rename snapshot -> backup (#51629) 2021-07-27 22:43:05 +02:00
addon.py Rename snapshot -> backup (#51629) 2021-07-27 22:43:05 +02:00
api.py Add zwave_js WS API commands to get statistics (#53393) 2021-07-26 11:59:16 -04:00
binary_sensor.py Add enabled attribute to zwave_js discovery model (#53645) 2021-07-29 09:30:50 +02:00
climate.py
config_flow.py
const.py Add zwave_js.reset_meter service (#53390) 2021-07-28 23:15:27 +02:00
cover.py
device_condition.py
device_trigger.py
discovery.py Add energy support for zwave_js meter CC entities (#53665) 2021-07-29 14:18:38 +02:00
discovery_data_template.py
entity.py Add enabled attribute to zwave_js discovery model (#53645) 2021-07-29 09:30:50 +02:00
fan.py
helpers.py
light.py
lock.py
manifest.json
migrate.py
number.py
sensor.py Add energy support for zwave_js meter CC entities (#53665) 2021-07-29 14:18:38 +02:00
services.py Add new input to zwave_js.multicast_set_value service (#53369) 2021-07-23 10:35:44 -04:00
services.yaml Add zwave_js.reset_meter service (#53390) 2021-07-28 23:15:27 +02:00
siren.py
strings.json Block title in strings.json unless internal or allowed (#53304) 2021-07-22 08:37:33 +02:00
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.