Skip to main content

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

Xiaomi Aqara

Osram

SmartThings

Configuration:

  1. 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 and drop events to Home Assistant
  • Cube sends the following events: flip, rotate_left, rotate_right, knock_1 - knock_6, drop, slide_1 - slide_6 and shake
  • 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

This version

0.0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zha-quirks-0.0.3.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

zha_quirks-0.0.3-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file zha-quirks-0.0.3.tar.gz.

File metadata

  • Download URL: zha-quirks-0.0.3.tar.gz
  • Upload date:
  • Size: 10.0 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

Hashes for zha-quirks-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8a35b885dc276846f8443c6130bda02767378aa55d9fc6b3160502f5ef1244cc
MD5 0f9a077a3bdd31a72ce38758a034afd1
BLAKE2b-256 e056d7d12244b7e69453bfe047d55066fe5a15bf1100903e52784f356b727a8c

See more details on using hashes here.

File details

Details for the file zha_quirks-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: zha_quirks-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.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

Hashes for zha_quirks-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ed6bf6051fccebd0f7a3a5310ca81bcacf53a3acaa809b88c909a45049129b0
MD5 8120e20b0c254fe2d0e6510a6c8d9a81
BLAKE2b-256 155ea81819653de6c032c32ab060ac746f3e5f275959f7be7bd207e677276f7a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page