Skip to main content

Interface to DALI lighting systems

Project description

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:

  • IEC 62386-101:2014 (general requirements for system components)

  • IEC 62386-102:2014 (general requirements for control gear)

  • IEC 62386-103:2014 (general requirements for control devices)

  • IEC 62386-201:2009 (fluorescent lamps)

  • IEC 62386-202:2009 (self-contained emergency lighting)

  • IEC 62386-205:2009 (supply voltage controller for incandescent lamps)

  • IEC 62386-207:2009 (LED modules)

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.

Library structure

  • dali

    • address - Device addressing

    • bus - DALI bus and attached devices

    • command - Command registry, interface to command decoding

    • compat - Compatibility code for Python 2 and 3

    • device - DALI control devices as defined in IEC 62386

      • general - Commands and events from part 103

    • driver - Objects to communicate with physical DALI gateways or services

      • base - General driver contracts

      • hasseb - Driver for Hasseb DALI Master (needs to be adopted to dali.driver.base API)

      • tridonic - Driver for Tridonic DALI USB

      • daliserver - Driver for https://github.com/onitake/daliserver (needs to be adopted to dali.driver.base API)

    • exceptions - DALI related exceptions

    • frame - Forward and backward frames

    • gear - DALI control gear as defined in IEC 62386

      • emergency - Commands from part 202

      • general - Commands from part 102

      • incandescent - Commands from part 205

      • led - Commands from part 207

Contributors

  • Stephen Early (Author)

  • Robert Niederreiter

  • Diogo Gomes

  • Caiwan

  • Boldie

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-dali-0.5.tar.gz (35.1 kB view details)

Uploaded Source

File details

Details for the file python-dali-0.5.tar.gz.

File metadata

  • Download URL: python-dali-0.5.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-dali-0.5.tar.gz
Algorithm Hash digest
SHA256 0550cb17012f892ac69da8500495b6963676ae7bf11701c558b3216fe1ba6e1e
MD5 ab108444ba5388f5b1bdae0bbebc3306
BLAKE2b-256 66dc05b64efcd61d4b4fbf2611a34aeaa0c0c7ccf3578e90bb0efb0d443c1f24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page