Why your Home Assistant motion light turns off on you (and the Zigbee fix that comes first)
说明与用途
在 Home Assistant 中,基于运动的照明经常在有人仍在场时关闭,这是由于默认的 single 模式和固定延迟导致的。切换到 restart 模式,等待传感器保持关闭,并正确配置触发器可解决此问题。将 Zigbee 协调器移至 USB 2.0 端口并选择无干扰通道,可进一步稳定网络。
问题
Motion lights in Home Assistant often turn off while people are still present, fire at inappropriate times, and rely on sensors that drop from the Zigbee network.
结果
Lights now stay on until two minutes after the last motion, eliminating premature turn‑offs. Zigbee network becomes more reliable, reducing sensor dropouts.
工作流
- 1. Change automation mode to restart. 2. Replace delay with wait_for_trigger on motion sensor off for 2 minutes. 3. Add to: in state triggers and for: where appropriate. 4. Optionally use a timer helper to prevent turning off manually lit lights. 5. Move Zigbee coordinator to a USB 2.0 extension cable. 6. Select a Zigbee channel (15, 20, or 25) before pairing. 7. Add mains-powered routers to create a mesh. 8. Set permit_join to false after pairing.
证据
The default, single, means that if the motion sensor fires again while the first run is still sleeping through its delay, the second trigger is dropped.
USB 3.0 ports and the cables plugged into them radiate noise in the 2.4 GHz band, which is exactly where Zigbee lives.
- 记录日期: 2026-10-12T22:55:55.799Z