Skip to content
Skillpedia
Misc48k · #2701

dali-short-address-commissioner

Helps your agent set up DALI lighting systems. It manages addresses, groups, and colors so lights work correctly.

What it does

This agent helps set up DALI lighting systems. It discovers lights, fixes address conflicts, and organizes them.

When to use it

  • ✓When installing a new DALI lighting system.
  • ✓When there are address conflicts between lights.
  • ✓When adding new lights to an existing system.

Example of what to ask your AI

“Set up my DALI lighting system and assign addresses.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dali-short-address-commissioner/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dali-short-address-commissioner/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It communicates with DALI lights by sending specific commands in a defined order. First, it finds the lights, then it resolves address issues, and finally organizes them.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill dali-short-address-commissioner

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/dali-short-address-commissioner/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

DALI Short-Address Commissioner: Deterministic IEC 62386 Bus Provisioning

Systematically discover, resolve address collisions, assign short addresses (0–63), program groups and scenes, configure DT8 color gear, and schedule emergency battery duration tests on DALI and DALI-2 networks per IEC 62386.

When to Use This Skill

Activate this skill when:

  • Bringing up, commissioning, or expanding DALI or DALI-2 lighting installations (KNX/DALI gateways, Tridonic, Philips Dynalite, Helvar, Osram, Lunatone).
  • The user asks: "How do I commission this DALI bus?", "Fix duplicate DALI short addresses", "Assign DALI addresses without erasing existing fixtures", or "Program DALI groups and DT8 tunable white".
  • Resolving address clash loops where multiple ballasts respond simultaneously to broadcast queries.
  • Designing or scheduling DALI-2 Part 202 emergency lighting duration and function tests across staggered floor circuits.

Do NOT use this skill when:

  • Commissioning DMX512/RDM stage lighting, 0–10V analog dimming, or proprietary wireless RF networks (Zigbee, Bluetooth Mesh, Casambi).
  • Diagnosing dead ballasts or physical wiring faults before basic DALI bus voltage (12V–20.5V DC) and current limits (<= 250mA) are confirmed.
  • Programming building-wide KNX logic (this skill covers the DALI protocol domain strictly).

Core Mental Models & Non-Negotiable Rules

  1. The 64-Address Bus Capacity Law:

    • A single DALI subnet supports strictly 0 to 63 short addresses (64 control gear units maximum).
    • Groups are strictly bounded to 0 to 15 (16 groups).
    • Scenes are strictly bounded to 0 to 15 (16 scenes).
    • If an installation has 65+ ballasts, the physical bus MUST be segmented into multiple DALI subnets with separate line masters or gateways.
  2. The Double-Command 100ms Transmission Invariant:

    • Configuration and addressing commands (INITIALISE [cmd 258], RANDOMISE [259], SET SHORT ADDRESS [267], ENABLE WRITE [cmd 32], etc.) MUST be transmitted twice within 100ms to be executed by control gear.
    • Sending an addressing command only once will result in silent ignored execution by all IEC 62386 compliant gear.
  3. The 15-Minute Hardware Commissioning Timer:

    • Transmitting INITIALISE (cmd 258) starts a mandatory 15-minute countdown timer inside every ballast's micro-controller.
    • All discovery, random address binary searching, and short address assignment MUST complete within 15 minutes, or the bus must receive a periodic keep-alive INITIALISE refresh.
    • Upon completion, the master MUST transmit TERMINATE (cmd 257) to lock operational memory and exit programming state.
  4. 24-Bit Random Address Binary Search ($2^{24} = 16,777,216$ Space):

    • When gear enters randomizing state (RANDOMISE), each unit generates a pseudo-random 24-bit integer (0x000000 to 0xFFFFFF).
    • The master searches the 24-bit space using SEARCHADDRH, SEARCHADDRM, SEARCHADDRL and COMPARE (cmd 265).
    • If multiple ballasts match, the master performs binary search down to a single device.
    • Once isolated, assign short address via PROGRAM SHORT ADDRESS (cmd 267) and immediately transmit WITHDRAW (cmd 266) so the addressed fixture drops out of remaining search iterations.
  5. Physical Identify & Non-Destructive Extension Invariant:

    • Every assigned short address MUST be verified visually using IDENTIFY or toggling RECALL MAX LEVEL / OFF before committing to lighting schedules.
    • When adding fixtures to an existing operational line, NEVER broadcast a global INITIALISE (all); use INITIALISE (without short address) so already-commissioned ballasts (0–63) preserve their programming.

Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)

Anti-Pattern Manifestation in Code/Workflow Mandatory Production Counter-Rule
Single-Shot Addressing Commands Sending cmd 258 or cmd 267 once without repetition. Always repeat configuration commands within a strict 100ms window.
Exceeding 64 Short Addresses Attempting to assign address 64 or 65 on one loop. Partition into Subnet A and Subnet B; enforce 0–63 maximum.
Timer Starvation Letting the 15-minute INITIALISE window expire mid-search. Issue keep-alive refresh or optimize binary search loop to < 3 minutes.

…

FAQ

How many lights can I connect?

A DALI system supports up to 64 lights at a time.

What happens if two lights have the same address?

The agent detects this and assigns a unique address to each light, resolving the conflict.

Can I use this with other types of lighting?

No, this agent is only for DALI and DALI-2 lighting systems.

Details

Original description by the author

Commissions DALI and DALI-2 (IEC 62386) lighting buses: short-address assignment (0-63), 24-bit binary search collision resolution, groups, and DT8 color control. Trigger phrases: commission dali, dali short address, dali collision resolution, dali bus addressing, dali-2 setup.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2701
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills