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 โ// momentum
// why it's here
- Built almost entirely by one person
- Health 62/100 with only 7 stars
// how to help
// 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.