explaingit

mrk-its/python-dali

Analysis updated 2026-07-18 · repo last pushed 2023-04-02

Audience · developerComplexity · 3/5DormantSetup · moderate

TLDR

A Python library for controlling DALI-standard smart lighting, dim, switch, and coordinate lights, sensors, and buttons through code instead of manual setup.

Mindmap

mindmap
  root((python-dali))
    What it does
      Control DALI lights
      Dim and switch fixtures
      Read device status
      Automate scenes
    Tech stack
      Python
      DALI protocol
      USB gateways
    Use cases
      Building automation
      Smart home lighting
      Occupancy based scenes
      Custom control panels
    Audience
      Automation specialists
      Lighting installers
      Smart home developers
    Hardware
      Tridonic DALI USB
      Hasseb DALI Master
      Sensors and buttons

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Dim or switch DALI lights in a building from a Python script.

USE CASE 2

Build occupancy-based lighting scenes for offices or hotels.

USE CASE 3

Integrate DALI lighting control into a larger smart home platform.

USE CASE 4

Add support for new DALI equipment types as they come out.

What is it built with?

PythonDALI (IEC 62386)

How does it compare?

mrk-its/python-dali0verflowme/alarm-clock0verflowme/seclists
LanguageCSS
Last pushed2023-04-022022-10-032020-05-03
MaintenanceDormantDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audiencedevelopervibe coderops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a physical DALI gateway (e.g. Tridonic DALI USB or Hasseb DALI Master) wired to real lighting hardware.

Copy-paste prompts

Prompt 1
Show me how to use python-dali to connect to a Tridonic DALI USB gateway and turn on all lights in zone 3.
Prompt 2
Write a Python script using python-dali that dims a light to 50 percent and reads back its status.
Prompt 3
Help me build an occupancy-triggered lighting scene using python-dali and a motion sensor.
Prompt 4
Explain how to extend python-dali to add support for a new type of DALI equipment.

Frequently asked questions

What is python-dali?

A Python library for controlling DALI-standard smart lighting, dim, switch, and coordinate lights, sensors, and buttons through code instead of manual setup.

Is python-dali actively maintained?

Dormant — no commits in 2+ years (last push 2023-04-02).

How hard is python-dali to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is python-dali for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.