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 custom quirks implementations for Zigpy, the library that provides the Zigbee support for the ZHA component in Home Assistant.

Custom quirks implementations for zigpy implemented as ZHA Device Handlers are similar to Hub-connected Device Handlers for the SmartThings Classics platform, meaning they are virtual representation of a physical device that expose additional functionality that is not provided out-of-the-box by the existing integration between these platforms. See Device Specifics for details.

Currently Supported Devices:

CentraLite

Xiaomi Aqara

Osram

SmartThings

Configuration:

  1. Update Home Assistant to 0.85.1 or a later version.

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
  • 3321-S reports acceleration
  • 3310-S reports humidity

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 (90 and 180 degrees), rotate_left, rotate_right, knock, drop, slide and shake
  • Motion sensor exposes binary sensors for motion and occupancy.
  • Button sends events to Home Assistant

SmartThings

  • All supported devices report battery level
  • tagV4 exposed as a device tracker in Home Assistant. The current implementation will use batteries rapidly
  • MultiV4 reports acceleration

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

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

Uploaded Source

Built Distribution

zha_quirks-0.0.7-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zha-quirks-0.0.7.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for zha-quirks-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d15e5d87abb929a492cf3a00d08ca7d4fd6f34336d08b860f48d5ba52842766f
MD5 d60e1f2d8bacaba7e8f6d4d299419015
BLAKE2b-256 364b82cdcb7591a43c52d2b8e1ad2e338a77efb0d9e3ccc6d9483989e1a30eb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zha_quirks-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for zha_quirks-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0df45a495296fc2ff42779f57a7accd453338d882db2ed8919686dba80b085c9
MD5 1ebfc333e62dfea547c7ddce41115d6b
BLAKE2b-256 22455156765d40d414659dd42f6175805943f2663c939e97462694921ba3df86

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