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.5

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.5.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

zha_quirks-0.0.5-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zha-quirks-0.0.5.tar.gz
  • Upload date:
  • Size: 10.3 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.5.tar.gz
Algorithm Hash digest
SHA256 753d6982c654e1f58dbecc7a4b267fe2e50a9ad2a0dac11fc1b522c4bceea8a2
MD5 4150d7d5ce27d05b3ad497a661dedc38
BLAKE2b-256 68726a4c0ecad12f5f48095efbb5634f208173c070972df8f56d806ca791bab3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zha_quirks-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 26.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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6064be54fb867784fb0c09454a209af3c3b6aae265c7566885ed8e4e1b07d3
MD5 142e77b2982b92d71b4e23048e8da2c1
BLAKE2b-256 8ce82b408f2bd102ef80c6bfe818c3a447993d36abbe906ffc9d6233606acd90

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