sde1000 / python-dali

Library for controlling DALI lighting systems
Other
150 stars 73 forks source link

Support for DiiA extended memory banks #66

Closed ferdinandkeil closed 4 years ago

ferdinandkeil commented 4 years ago

As announced in #61 I have implemented support for reading the extended memory banks that were recently published by the DiiA.

The code lives in a new package named memory. location.py contains the data structures for memory locations and their corresponding values. In this terminology a value takes one or more memory locations and adds a helper to retrieve and translate them (applies scaling, offsets, etc.). oem.py, energy.py, diagnostics.py and maintenance.py access memory banks described in DALI parts 251, 252 and 253.