Library implementing Zigpy quirks for ZHA in Home Assistant
Project description
ZHA Device Handlers For Home Assistant
ZHA Device Handlers are quirks implementations for Zigpy, the library that provides the Zigbee support for the ZHA component in Home Assistant. These device handlers are similar to the device handlers that exist as part of the Smart Things platform and they expose additional functionality that isn't provided OOTB by the existing integration between these platforms. See Device Specifics for details.
These device handlers currently require the use of a custom branch of Home Assistant. This will be remediated soon.
Currently Supported Devices:
CentraLite
- Dimmer Switch: CentraLite 3130
- Water Sensor: CentraLite 3315-S
- Contact Sensor: CentraLite 3320-L
- Motion Sensor: CentraLite 3326-L
Xiaomi Aqara
- Cube: lumi.sensor_cube.aqgl01
- Button: lumi.sensor_switch.aq2
- Vibration Sensor: lumi.vibration.aq1
- Contact Sensor: lumi.sensor_magnet.aq2
- Motion Sensor: lumi.sensor_motion.aq2
- Temperature / Humidity Sensor: lumi.weather
- Water Leak: lumi.sensor_wleak.aq1
Osram
SmartThings
- Arrival Sensor: tagv4
Configuration:
- Update Home Assistant to use the ZHA component from this branch. Be sure to get the
zha.py
files from every component that ZHA supports.
NOTE: Some devices will need to be unpaired and repaired in order to see sensor values populate in Home Assistant.
Device Specifics:
Centralite
- All supported devices report battery level
- Dimmer Switch publishes events to Home Assistant
- Dimmer Switch temperature sensor is removed because it is non functional
Osram
- Dimmer Switch publishes events to Home Assistant and reports battery level
- Dimmer Switch temperature sensor is removed because it is non functional
Xiaomi Aqara
- All supported devices report battery level
- All supported devices report temperature but I am unsure if it is correct or accurate
- Vibration sensor exposes a binary sensor in Home Assistant that reports current vibration state
- Vibration sensor sends
tilt
anddrop
events to Home Assistant - Cube sends the following events:
flip
,rotate_left
,rotate_right
,knock_1
-knock_6
,drop
,slide_1
-slide_6
andshake
- Motion sensor exposes binary sensors for motion and occupancy.
- Button sends events to Home Assistant
SmartThings
- tagV4 exposed as a device tracker in Home Assistant and reports battery. The current implementation will use batteries rapidly.
Thanks
- Special thanks to damarco for the majority of the device tracker code
- Special thanks to Yoda-x for the Xioami attribute parsing code
- Special thanks to damarco and Adminiuga for allowing me to bounce ideas off of them and for listening to me ramble
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
File details
Details for the file zha-quirks-0.0.4.tar.gz
.
File metadata
- Download URL: zha-quirks-0.0.4.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ee0d71118c5c7735b85e37df14b1161d3aaa679380d9c8908de8307cb7e05d |
|
MD5 | c22cdfad786067ec4b11bae273f7b9b1 |
|
BLAKE2b-256 | ad7f83d4fd092e1f7f311dbc7b4e258d6081a8100c9c461a7410a9a525f50027 |
File details
Details for the file zha_quirks-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: zha_quirks-0.0.4-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf70935a50113774b6bb396b6b96b43f94970e52a46eb22956409171ef20923 |
|
MD5 | dd3bbf5f8ffae7efd47640c39479a04e |
|
BLAKE2b-256 | ec4c8ec60223bb9a9067ec603d7d6d1ea9e4ee8feffd6791efa84b3f67df7c55 |