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 (90 and 180 degrees)
,rotate_left
,rotate_right
,knock
,drop
,slide
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.6.tar.gz
.
File metadata
- Download URL: zha-quirks-0.0.6.tar.gz
- Upload date:
- Size: 10.9 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 | 111dc607fd1995b45c5436bac65538765983b9e235dd5b88ca42ba1b759e92f0 |
|
MD5 | fc13931414c60c3803196d6b4b20693b |
|
BLAKE2b-256 | c47f0f0eaf1a988b51efece28dd774a3a54cb8a8fb810dd5d930786f2906dd6d |
File details
Details for the file zha_quirks-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: zha_quirks-0.0.6-py3-none-any.whl
- Upload date:
- Size: 29.7 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 | 82a14f4d43f5f7412d0eb0f7713ed8b5d36b954a603a02dd0b4eeb58ef5ec7b6 |
|
MD5 | b69a8fc2157e61777d28a23ae0200c04 |
|
BLAKE2b-256 | 12371f986e6e6465d9a66157da9804fbce5de2de543b79e4cf166e49b9705d59 |