[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P0D0PYF9BE5XAG603ZHCV2":3,"skill-same:01M6P0D0PYF9BE5XAG603ZHCV2":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":13,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6P0D0PYF9BE5XAG603ZHCV2","dali-short-address-commissioner",null,"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.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fdali-short-address-commissioner\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"dali short address commissioner","short","dali","resolution","building-automation","iec-62386","lighting-control","dali-2","color","trigger","bit","safe","lighting","windsurf","community","iot","search","architecture","automation","gemini","2026-11-10 10:12:30",false,"---\nname: dali-short-address-commissioner\ndescription: \"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.\"\ncategory: architecture\nrisk: safe\nsource: community\nsource_repo: wwewtech\u002Fdali-short-address-commissioner\nsource_type: community\ndate_added: \"2026-09-22\"\nauthor: wwewtech\ntags: [dali, dali-2, lighting-control, iec-62386, building-automation, iot]\ntools: [claude, cursor, gemini, windsurf]\nlicense: \"MIT\"\n---\n\n# DALI Short-Address Commissioner: Deterministic IEC 62386 Bus Provisioning\n\nSystematically 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.\n\n## When to Use This Skill\n\nActivate this skill when:\n- Bringing up, commissioning, or expanding DALI or DALI-2 lighting installations (KNX\u002FDALI gateways, Tridonic, Philips Dynalite, Helvar, Osram, Lunatone).\n- 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\".\n- Resolving address clash loops where multiple ballasts respond simultaneously to broadcast queries.\n- Designing or scheduling DALI-2 Part 202 emergency lighting duration and function tests across staggered floor circuits.\n\nDo NOT use this skill when:\n- Commissioning DMX512\u002FRDM stage lighting, 0–10V analog dimming, or proprietary wireless RF networks (Zigbee, Bluetooth Mesh, Casambi).\n- Diagnosing dead ballasts or physical wiring faults before basic DALI bus voltage (12V–20.5V DC) and current limits (\u003C= 250mA) are confirmed.\n- Programming building-wide KNX logic (this skill covers the DALI protocol domain strictly).\n\n## Core Mental Models & Non-Negotiable Rules\n\n1. **The 64-Address Bus Capacity Law**:\n   - A single DALI subnet supports strictly **0 to 63 short addresses** (64 control gear units maximum).\n   - Groups are strictly bounded to **0 to 15** (16 groups).\n   - Scenes are strictly bounded to **0 to 15** (16 scenes).\n   - If an installation has 65+ ballasts, the physical bus MUST be segmented into multiple DALI subnets with separate line masters or gateways.\n\n2. **The Double-Command 100ms Transmission Invariant**:\n   - 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.\n   - Sending an addressing command only once will result in silent ignored execution by all IEC 62386 compliant gear.\n\n3. **The 15-Minute Hardware Commissioning Timer**:\n   - Transmitting `INITIALISE` (cmd 258) starts a mandatory 15-minute countdown timer inside every ballast's micro-controller.\n   - 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.\n   - Upon completion, the master MUST transmit `TERMINATE` (cmd 257) to lock operational memory and exit programming state.\n\n4. **24-Bit Random Address Binary Search ($2^{24} = 16,777,216$ Space)**:\n   - When gear enters randomizing state (`RANDOMISE`), each unit generates a pseudo-random 24-bit integer (`0x000000` to `0xFFFFFF`).\n   - The master searches the 24-bit space using `SEARCHADDRH`, `SEARCHADDRM`, `SEARCHADDRL` and `COMPARE` (cmd 265).\n   - If multiple ballasts match, the master performs binary search down to a single device.\n   - 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.\n\n5. **Physical Identify & Non-Destructive Extension Invariant**:\n   - Every assigned short address MUST be verified visually using `IDENTIFY` or toggling `RECALL MAX LEVEL` \u002F `OFF` before committing to lighting schedules.\n   - 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.\n\n## Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)\n\n| Anti-Pattern | Manifestation in Code\u002FWorkflow | Mandatory Production Counter-Rule |\n| :--- | :--- | :--- |\n| **Single-Shot Addressing Commands** | Sending cmd 258 or cmd 267 once without repetition. | Always repeat configuration commands within a strict 100ms window. |\n| **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. |\n| **Timer Starvation** | Letting the 15-minute `INITIALISE` window expire mid-search. | Issue keep-alive refresh or optimize binary search loop to \u003C 3 minutes. |\n| **Ghost Address Overwrite** | Assigning address 0 without scanning if address 0 is in use. | Run non-destructive `QUERY STATUS` (cmd 144) across 0–63 before reassigning. |\n| **Bus Overcurrent Overload** | Connecting 64 ballasts (2mA each) + sensors to a 100mA PSU. | Verify total quiescent load $\\le$ PSU rating (250mA max per IEC 62386). |\n| **DT8 \u002F DT6 Type Mismatch** | Controlling tunable white gear with single-channel DT6 arc power. | Issue `SELECT DIMMING CURVE \u002F COLOUR` (Part 209) and send DT8 color coordinates. |\n| **Simultaneous Emergency Discharge** | Triggering 3-hour duration tests on all emergency lights at once. | Stagger tests across alternating weeks\u002Fgroups to ensure safety illumination. |\n| **Missing WITHDRAW Command** | Forgetting cmd 266 after addressing a found ballast. | Send `WITHDRAW` immediately after `PROGRAM SHORT ADDRESS` to exclude from search. |\n| **DALI Polarity Panic** | Halting installation claiming standard DALI requires polarity. | Note DALI uses an integrated bridge rectifier; polarity is non-critical (though consistent coloring is advised). |\n| **Energizing Unverified Mains** | Commissioning ballasts while 230V live mains work is ongoing. | Enforce physical lockout\u002Ftagout (LOTO) prior to terminal connection. |\n\n## Concrete Archetypes \u002F Presets\n\n### Archetype 1: Greenfield DALI Discovery & Binary Search (Python\u002FC Pseudo-code)\n```python\nimport time\n\ndef send_dali_double_cmd(cmd_byte1: int, cmd_byte2: int):\n    transmit_dali_frame(cmd_byte1, cmd_byte2)\n    time.sleep(0.015)  # 15ms spacing\n    transmit_dali_frame(cmd_byte1, cmd_byte2)\n\ndef commission_greenfield_bus() -> dict:\n    assigned = {}\n    # 1. Start 15-min commissioning session\n    send_dali_double_cmd(0xA5, 0x00)  # INITIALISE (all gear)\n    send_dali_double_cmd(0xA7, 0x00)  # RANDOMISE\n    time.sleep(0.100)                  # Wait 100ms for random address generation\n\n    next_short_addr = 0\n    while next_short_addr \u003C 64:\n        low, high = 0x000000, 0xFFFFFF\n        found_random_addr = None\n\n        # Binary search 24-bit space\n        while low \u003C= high:\n            mid = (low + high) \u002F\u002F 2\n            set_search_address(mid)\n            if query_compare():  # cmd 265: does any gear have random_addr \u003C= mid?\n                found_random_addr = mid\n                high = mid - 1\n            else:\n                low = mid + 1\n\n        if found_random_addr is None:\n            break  # No more unaddressed fixtures on the bus\n\n        # Isolate and assign\n        set_search_address(found_random_addr)\n        short_addr_payload = (next_short_addr \u003C\u003C 1) | 0x01\n        send_dali_double_cmd(0xB7, short_addr_payload)  # PROGRAM SHORT ADDRESS\n        send_dali_cmd(0xAB, 0x00)                       # WITHDRAW (cmd 266)\n\n        # Physical verify\n        flash_fixture(next_short_addr)\n        assigned[next_short_addr] = hex(found_random_addr)\n        next_short_addr += 1\n\n    send_dali_cmd(0xA1, 0x00)  # TERMINATE (cmd 257)\n    return assigned\n```\n\n### Archetype 2: Surgical Replacement of a Failed Ballast\n```python\ndef replace_single_failed_ballast(expected_short_addr: int):\n    # Do NOT wipe existing 63 ballasts:\n    send_dali_double_cmd(0xA5, 0xFF)  # INITIALISE (ONLY gear without short address)\n    send_dali_double_cmd(0xA7, 0x00)  # RANDOMISE\n    time.sleep(0.100)\n\n    # Perform binary search for the single new replacement unit\n    random_addr = search_single_unit()\n    set_search_address(random_addr)\n\n    # Program directly into the missing slot\n    payload = (expected_short_addr \u003C\u003C 1) | 0x01\n    send_dali_double_cmd(0xB7, payload)\n    send_dali_cmd(0xAB, 0x00)  # WITHDRAW\n    send_dali_cmd(0xA1, 0x00)  # TERMINATE\n```\n\n### Archetype 3: Group & DT8 Tunable White Configuration\n```python\ndef configure_dt8_tunable_white(short_addr: int, mirek: int, group_id: int):\n    # Mirek = 1,000,000 \u002F Kelvin (e.g. 2700K = 370 mirek, 6500K = 153 mirek)\n    send_dali_cmd(0x01, 0x00)  # DTR0: low byte of mirek\n    send_dali_cmd(0x03, 0x00)  # DTR1: high byte of mirek\n    send_dali_double_cmd(0xE7, 0x20)  # SET TEMP COLOUR (DT8 Part 209)\n    # Add to group (0-15)\n    group_payload = 0x60 | (group_id & 0x0F)\n    send_dali_double_cmd(0x01 | (short_addr \u003C\u003C 1), group_payload)\n```\n\n## The Pre-Emit Quality Gate Checklist\n\nBefore finalizing any DALI commissioning plan or script, check:\n- [ ] **Address Ceiling**: Total short addresses $\\le 64$ (addresses 0–63).\n- [ ] **Double Transmission Timing**: Configuration commands repeat twice within 100ms.\n- [ ] **Commissioning Window**: 15-minute timer monitored with `TERMINATE` sent at conclusion.\n- [ ] **Withdrawal Discipline**: `WITHDRAW` (cmd 266) sent immediately after each address assignment.\n- [ ] **Bus Current Check**: Total quiescent load calculated ($\\le 250\\text{mA}$ power supply capacity).\n- [ ] **Emergency Test Staggering**: Emergency battery duration tests scheduled in alternating groups.\n- [ ] **Physical Verification**: `IDENTIFY` \u002F `WINK` toggle step included for human visual signoff.\n\n## Self-Correction & Verification Loop\n\n### Bad (Vibe-Coded AI Slop Output):\n> \"To assign addresses on DALI, loop from 1 to 100 and send cmd 267 to each light. If lights don't respond, change the positive and negative wires because DALI needs polarity.\"\n*Problems: Exceeds 64 addresses, addresses start at 1 instead of 0, misses double-command transmission, forgets random search, wrongly asserts DALI polarity dependence.*\n\n### Good (Production DALI Commissioner Output):\n> 1. Verify bus PSU delivers 16V DC with total load under 250mA (e.g., 42 ballasts $\\times$ 2mA = 84mA).\n> 2. Send `INITIALISE (all)` [cmd 258] twice within 100ms, starting the 15-minute commissioning watchdog.\n> 3. Transmit `RANDOMISE` [cmd 259] twice within 100ms.\n> 4. Execute 24-bit binary search across `SEARCHADDR` space. For each isolated unit, transmit `PROGRAM SHORT ADDRESS` (slot 0–41) twice within 100ms, immediately followed by `WITHDRAW` [cmd 266].\n> 5. Issue `TERMINATE` [cmd 257] to exit programming mode and physically pulse each luminaire to verify mapping.\n\n## Limitations\n\n- DALI command support, timing, gear limits, and DT8 behavior vary by control gear, device type, and IEC 62386 edition. Confirm commands against the exact gear and gateway manuals before transmission.\n- Commissioning can disrupt occupied lighting and emergency systems. Coordinate an approved outage and have a qualified lighting professional verify any live bus operation; never treat these examples as a substitute for site procedures.\n- Pseudo-code is illustrative and is not a tested gateway driver. Verify address mapping and every fixture physically before saving configuration.\n","# DALI Short-Address Commissioner: Deterministic IEC 62386 Bus Provisioning\n\nSystematically 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.\n\n## When to Use This Skill\n\nActivate this skill when:\n- Bringing up, commissioning, or expanding DALI or DALI-2 lighting installations (KNX\u002FDALI gateways, Tridonic, Philips Dynalite, Helvar, Osram, Lunatone).\n- 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\".\n- Resolving address clash loops where multiple ballasts respond simultaneously to broadcast queries.\n- Designing or scheduling DALI-2 Part 202 emergency lighting duration and function tests across staggered floor circuits.\n\nDo NOT use this skill when:\n- Commissioning DMX512\u002FRDM stage lighting, 0–10V analog dimming, or proprietary wireless RF networks (Zigbee, Bluetooth Mesh, Casambi).\n- Diagnosing dead ballasts or physical wiring faults before basic DALI bus voltage (12V–20.5V DC) and current limits (\u003C= 250mA) are confirmed.\n- Programming building-wide KNX logic (this skill covers the DALI protocol domain strictly).\n\n## Core Mental Models & Non-Negotiable Rules\n\n1. **The 64-Address Bus Capacity Law**:\n   - A single DALI subnet supports strictly **0 to 63 short addresses** (64 control gear units maximum).\n   - Groups are strictly bounded to **0 to 15** (16 groups).\n   - Scenes are strictly bounded to **0 to 15** (16 scenes).\n   - If an installation has 65+ ballasts, the physical bus MUST be segmented into multiple DALI subnets with separate line masters or gateways.\n\n2. **The Double-Command 100ms Transmission Invariant**:\n   - 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.\n   - Sending an addressing command only once will result in silent ignored execution by all IEC 62386 compliant gear.\n\n3. **The 15-Minute Hardware Commissioning Timer**:\n   - Transmitting `INITIALISE` (cmd 258) starts a mandatory 15-minute countdown timer inside every ballast's micro-controller.\n   - 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.\n   - Upon completion, the master MUST transmit `TERMINATE` (cmd 257) to lock operational memory and exit programming state.\n\n4. **24-Bit Random Address Binary Search ($2^{24} = 16,777,216$ Space)**:\n   - When gear enters randomizing state (`RANDOMISE`), each unit generates a pseudo-random 24-bit integer (`0x000000` to `0xFFFFFF`).\n   - The master searches the 24-bit space using `SEARCHADDRH`, `SEARCHADDRM`, `SEARCHADDRL` and `COMPARE` (cmd 265).\n   - If multiple ballasts match, the master performs binary search down to a single device.\n   - 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.\n\n5. **Physical Identify & Non-Destructive Extension Invariant**:\n   - Every assigned short address MUST be verified visually using `IDENTIFY` or toggling `RECALL MAX LEVEL` \u002F `OFF` before committing to lighting schedules.\n   - 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.\n\n## Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)\n\n| Anti-Pattern | Manifestation in Code\u002FWorkflow | Mandatory Production Counter-Rule |\n| :--- | :--- | :--- |\n| **Single-Shot Addressing Commands** | Sending cmd 258 or cmd 267 once without repetition. | Always repeat configuration commands within a strict 100ms window. |\n| **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. |\n| **Timer Starvation** | Letting the 15-minute `INITIALISE` window expire mid-search. | Issue keep-alive refresh or optimize binary search loop to \u003C 3 minutes. |\n| **Ghost Address Overwrite** | Assigning address 0 without scanning if address 0 is in use. | Run non-destructive `QUERY STATUS` (cmd 144) across 0–63 before reassigning. |\n| **Bus Overcurrent Overload** | Connecting 64 ballasts (2mA each) + sensors to a 100mA PSU. | Verify total quiescent load $\\le$ PSU rating (250mA max per IEC 62386). |\n| **DT8 \u002F DT6 Type Mismatch** | Controlling tunable white gear with single-channel DT6 arc power. | Issue `SELECT DIMMING CURVE \u002F COLOUR` (Part 209) and send DT8 color coordinates. |\n| **Simultaneous Emergency Discharge** | Triggering 3-hour duration tests on all emergency lights at once. | Stagger tests across alternating weeks\u002Fgroups to ensure safety illumination. |\n| **Missing WITHDRAW Command** | Forgetting cmd 266 after addressing a found ballast. | Send `WITHDRAW` immediately after `PROGRAM SHORT ADDRESS` to exclude from search. |\n| **DALI Polarity Panic** | Halting installation claiming standard DALI requires polarity. | Note DALI uses an integrated bridge rectifier; polarity is non-critical (though consistent coloring is advised). |\n| **Energizing Unverified Mains** | Commissioning ballasts while 230V live mains work is ongoing. | Enforce physical lockout\u002Ftagout (LOTO) prior to terminal connection. |\n\n## Concrete Archetypes \u002F Presets\n\n### Archetype 1: Greenfield DALI Discovery & Binary Search (Python\u002FC Pseudo-code)\n```python\nimport time\n\ndef send_dali_double_cmd(cmd_byte1: int, cmd_byte2: int):\n    transmit_dali_frame(cmd_byte1, cmd_byte2)\n    time.sleep(0.015)  # 15ms spacing\n    transmit_dali_frame(cmd_byte1, cmd_byte2)\n\ndef commission_greenfield_bus() -> dict:\n    assigned = {}\n    # 1. Start 15-min commissioning session\n    send_dali_double_cmd(0xA5, 0x00)  # INITIALISE (all gear)\n    send_dali_double_cmd(0xA7, 0x00)  # RANDOMISE\n    time.sleep(0.100)                  # Wait 100ms for random address generation\n\n    next_short_addr = 0\n    while next_short_addr \u003C 64:\n        low, high = 0x000000, 0xFFFFFF\n        found_random_addr = None\n\n        # Binary search 24-bit space\n        while low \u003C= high:\n            mid = (low + high) \u002F\u002F 2\n            set_search_address(mid)\n            if query_compare():  # cmd 265: does any gear have random_addr \u003C= mid?\n                found_random_addr = mid\n                high = mid - 1\n            else:\n                low = mid + 1\n\n        if found_random_addr is None:\n            break  # No more unaddressed fixtures on the bus\n\n        # Isolate and assign\n        set_search_address(found_random_addr)\n        short_addr_payload = (next_short_addr \u003C\u003C 1) | 0x01\n        send_dali_double_cmd(0xB7, short_addr_payload)  # PROGRAM SHORT ADDRESS\n        send_dali_cmd(0xAB, 0x00)                       # WITHDRAW (cmd 266)\n\n        # Physical verify\n        flash_fixture(next_short_addr)\n        assigned[next_short_addr] = hex(found_random_addr)\n        next_short_addr += 1\n\n    send_dali_cmd(0xA1, 0x00)  # TERMINATE (cmd 257)\n    return assigned\n```\n\n### Archetype 2: Surgical Replacement of a Failed Ballast\n```python\ndef replace_single_failed_ballast(expected_short_addr: int):\n    # Do NOT wipe existing 63 ballasts:\n    send_dali_double_cmd(0xA5, 0xFF)  # INITIALISE (ONLY gear without short address)\n    send_dali_double_cmd(0xA7, 0x00)  # RANDOMISE\n    time.sleep(0.100)\n\n    # Perform binary search for the single new replacement unit\n    random_addr = search_single_unit()\n    set_search_address(random_addr)\n\n    # Program directly into the missing slot\n    payload = (expected_short_addr \u003C\u003C 1) | 0x01\n    send_dali_double_cmd(0xB7, payload)\n    send_dali_cmd(0xAB, 0x00)  # WITHDRAW\n    send_dali_cmd(0xA1, 0x00)  # TERMINATE\n```\n\n### Archetype 3: Group & DT8 Tunable White Configuration\n```python\ndef configure_dt8_tunable_white(short_addr: int, mirek: int, group_id: int):\n    # Mirek = 1,000,000 \u002F Kelvin (e.g. 2700K = 370 mirek, 6500K = 153 mirek)\n    send_dali_cmd(0x01, 0x00)  # DTR0: low byte of mirek\n    send_dali_cmd(0x03, 0x00)  # DTR1: high byte of mirek\n    send_dali_double_cmd(0xE7, 0x20)  # SET TEMP COLOUR (DT8 Part 209)\n    # Add to group (0-15)\n    group_payload = 0x60 | (group_id & 0x0F)\n    send_dali_double_cmd(0x01 | (short_addr \u003C\u003C 1), group_payload)\n```\n\n## The Pre-Emit Quality Gate Checklist\n\nBefore finalizing any DALI commissioning plan or script, check:\n- [ ] **Address Ceiling**: Total short addresses $\\le 64$ (addresses 0–63).\n- [ ] **Double Transmission Timing**: Configuration commands repeat twice within 100ms.\n- [ ] **Commissioning Window**: 15-minute timer monitored with `TERMINATE` sent at conclusion.\n- [ ] **Withdrawal Discipline**: `WITHDRAW` (cmd 266) sent immediately after each address assignment.\n- [ ] **Bus Current Check**: Total quiescent load calculated ($\\le 250\\text{mA}$ power supply capacity).\n- [ ] **Emergency Test Staggering**: Emergency battery duration tests scheduled in alternating groups.\n- [ ] **Physical Verification**: `IDENTIFY` \u002F `WINK` toggle step included for human visual signoff.\n\n## Self-Correction & Verification Loop\n\n### Bad (Vibe-Coded AI Slop Output):\n> \"To assign addresses on DALI, loop from 1 to 100 and send cmd 267 to each light. If lights don't respond, change the positive and negative wires because DALI needs polarity.\"\n*Problems: Exceeds 64 addresses, addresses start at 1 instead of 0, misses double-command transmission, forgets random search, wrongly asserts DALI polarity dependence.*\n\n### Good (Production DALI Commissioner Output):\n> 1. Verify bus PSU delivers 16V DC with total load under 250mA (e.g., 42 ballasts $\\times$ 2mA = 84mA).\n> 2. Send `INITIALISE (all)` [cmd 258] twice within 100ms, starting the 15-minute commissioning watchdog.\n> 3. Transmit `RANDOMISE` [cmd 259] twice within 100ms.\n> 4. Execute 24-bit binary search across `SEARCHADDR` space. For each isolated unit, transmit `PROGRAM SHORT ADDRESS` (slot 0–41) twice within 100ms, immediately followed by `WITHDRAW` [cmd 266].\n> 5. Issue `TERMINATE` [cmd 257] to exit programming mode and physically pulse each luminaire to verify mapping.\n\n## Limitations\n\n- DALI command support, timing, gear limits, and DT8 behavior vary by control gear, device type, and IEC 62386 edition. Confirm commands against the exact gear and gateway manuals before transmission.\n- Commissioning can disrupt occupied lighting and emergency systems. Coordinate an approved outage and have a qualified lighting professional verify any live bus operation; never treat these examples as a substitute for site procedures.\n- Pseudo-code is illustrative and is not a tested gateway driver. Verify address mapping and every fixture physically before saving configuration.\n",{"name":5,"risk":29,"tags":43,"tools":44,"author":47,"source":32,"license":14,"category":35,"date_added":48,"description":7,"source_repo":49,"source_type":32},[20,25,24,23,22,33],[45,46,37,31],"claude","cursor","wwewtech","2026-09-22","wwewtech\u002Fdali-short-address-commissioner","main","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fdali-short-address-commissioner","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill dali-short-address-commissioner",{"tool":62,"command":63},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill dali-short-address-commissioner",{"tool":65,"command":66},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill dali-short-address-commissioner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fdali-short-address-commissioner\u002FSKILL.md",true,[],[71,99,123,147,173,197],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":82,"publishedAt":38},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[77],{"categoryNo":78,"categoryName":79,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[83,84,85,35,86,87,73,88,89,90,91,92,32,50,93,94,95,96,97,98],"ZeRO","trust","zero trust","assessment","verification","segmentation","devops-security","access","configure","only","active","critical","scope","scripts","relevant","implementing",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":38},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[106,107,108,109,110,111,112,113,114,115,116,117,118,92,119,32,120,121,94,122],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":38},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[130,131,132,29,133,134,135,136,137,138,139,140,141,32,50,142,143,144,145,146],"transcript","youtube transcript","youtube","github","codex","research","license","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":164,"publishedAt":38},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[153,156,159],{"categoryNo":154,"categoryName":155,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":157,"categoryName":158,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":160,"categoryName":161,"taxonomyType":162,"taxonomyTypeDesc":163},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[130,131,132,165,29,37,133,134,136,34,166,167,168,139,169,32,50,170,171,172],"youtube transcript skills","api","Video","browse","api-integration","free","card","channels",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":183,"publishedAt":38},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[179,182],{"categoryNo":180,"categoryName":181,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":157,"categoryName":158,"taxonomyType":80,"taxonomyTypeDesc":81},[132,184,185,110,29,186,187,188,189,136,167,190,191,192,193,50,194,142,195,196],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":38},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[203],{"categoryNo":154,"categoryName":155,"taxonomyType":80,"taxonomyTypeDesc":81},[205,132,206,207,29,37,34,208,209,166,167,168,139,210,169,32,50,170,211,145],"youtube full","full","google","server","dlp","credits","automatic"]