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:
This library currently requires Python version 3.7 or later.
Some of the code in this project is experimental and its API is subject to change. Modules with stable APIs are noted below.
dali
address
- Device addressing; stable for gear, not stable for devicescommand
- Command registry, interface to command decoding; stabledevice
- DALI control devices as defined in IEC 62386; not stablegeneral
- Commands and events from part 103helpers
- Useful functions and classes for working with DALI control devicesoccupancy
- Commands from part 303pushbutton
- Commands from part 301sequences
- Packaged sequences for working with DALI control devicesdriver
- Objects to communicate with physical DALI gateways or
services; not stablebase
- General driver contractshasseb
- Driver for Hasseb DALI Mastertridonic
- Driver for Tridonic DALI USBdaliserver
- Driver for https://github.com/onitake/daliserver (needs to be adopted to dali.driver.base API)hid
- asyncio-based drivers for Tridonic DALI USB and hasseb DALI Masterserial
- asyncio-based driver for Lunatone LUBA RS232 interfacesatxled
- Driver for ATX LED SERIAL DALI HATexceptions
- DALI related exceptionsframe
- Forward and backward frames; stablegear
- DALI control gear as defined in IEC 62386; stablecolour
- Commands from part 209 (Device Type 8)emergency
- Commands from part 202general
- Commands from part 102incandescent
- Commands from part 205led
- Commands from part 207memory
- access to memory banks; not stablesequences
- packaged sequences of commands; stablepython-dali is Copyright (C) 2013–2024 Stephen Early <[email protected]> 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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。