All Projects → sde1000 → python-dali

sde1000 / python-dali

Licence: Unknown and 2 other licenses found Licenses found Unknown LICENSE GPL-3.0 COPYING LGPL-3.0 COPYING.LESSER
Library for controlling DALI lighting systems

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to python-dali

Mrlightingtools Unity
A Unity library and MRTK extension for estimating and replicating the current environment's lighting on Mixed Reality devices.
Stars: ✭ 142 (+44.9%)
Mutual labels:  lighting
Vqengine
DirectX 11 Renderer written in C++11
Stars: ✭ 250 (+155.1%)
Mutual labels:  lighting
tradfri-flux
f.lux-like temp adjustments on IKEA trådfri 💡
Stars: ✭ 18 (-81.63%)
Mutual labels:  lighting
Lightprobesplacement
Unity project showing how to use the custom Package LightProbesVolumes for placing lightprobes automatically
Stars: ✭ 152 (+55.1%)
Mutual labels:  lighting
Contactshadows
Experimental implementation of contact shadows for Unity.
Stars: ✭ 219 (+123.47%)
Mutual labels:  lighting
awesome-zigbee
Curated List of ZigBee related stuff
Stars: ✭ 45 (-54.08%)
Mutual labels:  lighting
Ericw Tools
Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
Stars: ✭ 118 (+20.41%)
Mutual labels:  lighting
Cinelights
Example project using Lighting tools package and Cine lights package for Unity.
Stars: ✭ 23 (-76.53%)
Mutual labels:  lighting
Midimonster
Multi-protocol control & translation software (ArtNet, MIDI, OSC, sACN, ...)
Stars: ✭ 241 (+145.92%)
Mutual labels:  lighting
android-3d-model-viewer
Android app to load 3D models in obj, stl, dae & gltf format using pure OpenGL ES 2.0. Published on Play Store https://play.google.com/store/apps/details?id=org.andresoviedo.dddmodel2
Stars: ✭ 150 (+53.06%)
Mutual labels:  lighting
Node Tradfri Client
Library to talk to IKEA Trådfri Gateways without external binaries
Stars: ✭ 193 (+96.94%)
Mutual labels:  lighting
Gaffer
A light-manager add-on for Blender
Stars: ✭ 218 (+122.45%)
Mutual labels:  lighting
Tradfri-FHEM
A Module for the FHEM Home-Control Software which enables connectivity to the IKEA Trådfri gateway
Stars: ✭ 23 (-76.53%)
Mutual labels:  lighting
Appleseed
A modern open source rendering engine for animation and visual effects
Stars: ✭ 1,824 (+1761.22%)
Mutual labels:  lighting
eruption
Realtime RGB LED Driver for Linux
Stars: ✭ 140 (+42.86%)
Mutual labels:  lighting
Unflattener
Make normal maps for 2D art
Stars: ✭ 125 (+27.55%)
Mutual labels:  lighting
synesthesia
A Lighting & Sound Project
Stars: ✭ 16 (-83.67%)
Mutual labels:  lighting
open-fixture-library
A library and website for lighting technology's DMX fixture definition files.
Stars: ✭ 113 (+15.31%)
Mutual labels:  lighting
LightMask
A tiny 2D header-only flood-fill lighting engine
Stars: ✭ 71 (-27.55%)
Mutual labels:  lighting
BakeManager
Simple bake manager for lightmapping in Unity
Stars: ✭ 68 (-30.61%)
Mutual labels:  lighting

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:

  • 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.

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

  • DiiA DALI Part 251 — Memory Bank 1 Extension
  • DiiA DALI Part 252 — Energy Reporting
  • DiiA DALI Part 253 — Diagnostics & Maintenance

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

  • dali
    • address - Device addressing; stable for gear, not stable for devices
    • command - Command registry, interface to command decoding; stable
    • device - DALI control devices as defined in IEC 62386; not stable
      • general - Commands and events from part 103
    • driver - Objects to communicate with physical DALI gateways or services; not stable
      • base - General driver contracts
      • hasseb - Driver for Hasseb DALI Master
      • tridonic - Driver for Tridonic DALI USB
      • daliserver - 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 Master
      • serial - asyncio-based driver for Lunatone LUBA RS232 interfaces
    • exceptions - DALI related exceptions
    • frame - Forward and backward frames; stable
    • gear - DALI control gear as defined in IEC 62386; stable
      • emergency - Commands from part 202
      • general - Commands from part 102
      • incandescent - Commands from part 205
      • led - Commands from part 207
    • memory - access to memory banks; not stable
    • sequences - packaged sequences of commands; stable

Contributors

  • Stephen Early (Author)
  • Robert Niederreiter
  • Diogo Gomes
  • Caiwan
  • Boldie
  • Martijn Hemeryck
  • Hans Baumgartner
  • Ferdinand Keil

Copyright

python-dali is Copyright (C) 2013–2022 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].