This is a python implementation of the Zencontrol TPI Advanced protocol for DALI lighting.
https://support.zencontrol.com/hc/en-us/articles/360000337175-What-is-the-Third-Party-Interface-TPI ↗// readme
zencontrol-python
A Python implementation of the Zencontrol TPI Advanced protocol, organised in three layers:
- zencontrol.io: raw TPI Advanced UDP packet framing;
- zencontrol.api: control surface for TPI Advanced API commands and events;
- zencontrol.interface: an opinionated world model, suitable for smart-building integrations. It provides a fully resolved set of methods, objects, and callbacks for lights, groups, buttons, sensors and everything else in your zencontrol universe.
In addition to its own test suite, this library is exercised heavily by zencontrol-simulator, a nearly feature-complete simulator of zencontrol hardware. As part of that suite, the simulator imports and drives this library to a substantial extent.
As a practical demonstration of the library in production use, zencontrol-homeassistant exposes the full capability of this library. Home Assistant is an open source smart building system ostensibly designed for residential homes, but is seeing…