sde1000 / python-dali

Library for controlling DALI lighting systems
Other
150 stars 71 forks source link
dali iec-62386 lighting python

python-dali — lighting control interface

DALI ("Digital Addressable Lighting Interface") defines how lighting control gear (eg. fluorescent ballasts, LED dimmers) and input devices (push buttons, motion detectors, etc.) should interoperate. It is standardised in IEC 62386.

IEC 62386 contains several parts. Part 101 contains general requirements for all system components, part 102 covers general requirements for control gear, and part 103 describes general requirements for control devices. Parts 2xx extend part 102 with lamp-specific extensions and parts 3xx extend part 103 with input device specific extensions.

This library has been written with reference to the following documents:

I do not have copies of the other parts of the standard; they are fairly expensive to obtain. The library is designed to be extensible; adding support for the other parts ought to be easy and self-contained.

The dali.memory module supports the extended memory bank specifications created and maintained by the Digital Illumination Interface Alliance_:

Python versions supported

This library currently requires Python version 3.7 or later.

Stability

Some of the code in this project is experimental and its API is subject to change. Modules with stable APIs are noted below.

Library structure

Contributors

Copyright

python-dali is Copyright (C) 2013–2024 Stephen Early steve@assorted.org.uk and other contributors.

It is distributed under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License and GNU General Public License along with this program. If not, see this link_.

.. _this link: https://www.gnu.org/licenses/ .. _Digital Illumination Interface Alliance: https://www.dali-alliance.org/dali/data.html