dali-short-address-commissioner
できること
このエージェントは、DALI照明システムの設定を支援します。照明機器を検出し、アドレスの重複を解消して、整理します。
使う場面
- ✓新しいDALI照明システムを設置するとき。
- ✓照明機器どうしでアドレスが重複しているとき。
- ✓既存のシステムに新しい照明を追加するとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dali-short-address-commissioner/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のDALI照明システムを設定して、アドレスを割り当ててください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このエージェントは、決められた順序で特定のコマンドを送信し、DALI照明機器と通信します。まず照明機器を見つけ、次にアドレスの問題を解決し、最後に照明機器を整理します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
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.
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.
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
INITIALISErefresh. - Upon completion, the master MUST transmit
TERMINATE(cmd 257) to lock operational memory and exit programming state.
- Transmitting
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 (0x000000to0xFFFFFF). - The master searches the 24-bit space using
SEARCHADDRH,SEARCHADDRM,SEARCHADDRLandCOMPARE(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 transmitWITHDRAW(cmd 266) so the addressed fixture drops out of remaining search iterations.
- When gear enters randomizing state (
Physical Identify & Non-Destructive Extension Invariant:
- Every assigned short address MUST be verified visually using
IDENTIFYor togglingRECALL MAX LEVEL/OFFbefore committing to lighting schedules. - When adding fixtures to an existing operational line, NEVER broadcast a global
INITIALISE (all); useINITIALISE (without short address)so already-commissioned ballasts (0–63) preserve their programming.
- Every assigned short address MUST be verified visually using
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. |
…
よくある質問
一度に何台の照明を接続できますか?
DALIシステムでは、一度に最大64台の照明をサポートしています。
2台の照明が同じアドレスを持っている場合はどうなりますか?
エージェントがこれを検出し、各照明に固有のアドレスを割り当てて、重複を解消します。
他の種類の照明でも使えますか?
いいえ、このエージェントはDALIおよびDALI-2の照明システム専用です。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 48k
- ランキング
- #4315
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。