dali-short-address-commissioner
Skill này làm gì
Agent này giúp thiết lập hệ thống chiếu sáng DALI. Nó tìm các đèn, xử lý xung đột địa chỉ và sắp xếp chúng lại.
Khi nào nên dùng
- ✓Khi lắp đặt một hệ thống chiếu sáng DALI mới.
- ✓Khi có xung đột địa chỉ giữa các đèn.
- ✓Khi thêm đèn mới vào một hệ thống hiện có.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dali-short-address-commissioner/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy thiết lập hệ thống chiếu sáng DALI của tôi và gán địa chỉ cho các đèn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gửi các lệnh cụ thể đến đèn DALI theo một thứ tự nhất định. Trước tiên, nó tìm các đèn, sau đó giải quyết vấn đề địa chỉ và cuối cùng sắp xếp chúng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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. |
…
Câu hỏi thường gặp
Tôi có thể kết nối bao nhiêu đèn?
Một hệ thống DALI hỗ trợ tối đa 64 đèn cùng lúc.
Điều gì xảy ra nếu hai đèn có cùng địa chỉ?
Agent phát hiện điều này và gán một địa chỉ riêng cho mỗi đèn, giải quyết xung đột.
Tôi có thể dùng agent này với các loại đèn khác không?
Không, agent này chỉ dành cho hệ thống chiếu sáng DALI và DALI-2.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4315
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.