# Analytics snippet placeholder — HearthNodes (gatherer.top) # Paste the measurement snippet here (server.js inlines any content that contains # a markup tag into on every page). No GA4 property is assigned to this # site yet, so leave this file as comments only and the build emits no tracking # code.
HearthNodesgatherer.top 已发布 11/28 EN 中文

门厅毫米波感应触发的归家暖光接力

门厅的 60 GHz 毫米波传感器在你迈进门的一瞬间点亮 2400 K 的两路灯组,保持 12 分钟后自动熄灭,并且白天绝不误触发。实测从检测到亮灯延迟 850 毫秒。

协议 · matter 延迟 · 850 ms 供电 · mains 发布 · 2026-08-22 3 devices
自动化 YAML presence-arrival-warm-lights.yaml
# HearthNodes recipe 01 - arrival warm-light handoff
alias: "Presence - arrival warm light handoff"
id: hn_presence_arrival_warm_lights
description: "Hall mmWave arrival -> two-fixture 2400 K scene, 12 minute hold"
mode: restart
max_exceeded: silent

trigger:
  - platform: state
    entity_id: binary_sensor.hall_mmwave_presence
    from: "off"
    to: "on"
    for: "00:00:03"
    id: mmwave
  - platform: state
    entity_id: binary_sensor.hall_pir_presence
    from: "off"
    to: "on"
    id: pir_backup

variables:
  someone_home: >-
    {{ is_state('person.primary','home') or is_state('person.partner','home') }}
  genuinely_dark: >-
    {{ state_attr('sun.sun','elevation') | float(0) < 0
       or states('sensor.exterior_north_lux') | float(999) < 40 }}

condition:
  - condition: template
    value_template: "{{ someone_home }}"
  - condition: numeric_state
    entity_id: sensor.hall_illuminance
    below: 120
  - condition: template
    value_template: "{{ genuinely_dark }}"

action:
  - service: light.turn_on
    target:
      entity_id: light.hall_downlights
    data:
      brightness_pct: 35
      color_temp_kelvin: 2400
      transition: 1.5
  - service: light.turn_on
    target:
      entity_id: light.coat_nook
    data:
      brightness_pct: 20
      color_temp_kelvin: 2200
      transition: 1.5
  - service: timer.start
    target:
      entity_id: timer.arrival_hold
    data:
      duration: "00:12:00"
  - service: counter.increment
    target:
      entity_id: counter.arrival_events

# Local binding retained on the Inovelli dimmer so the wall switch still works
# when the hub is unreachable. PIR is ORed in at trigger level for slow walkers.
触发器 · state

binary_sensor.hall_mmwave_presence

门厅毫米波存在传感器由「无人」变为「有人」,并持续 3 秒以上。

门厅毫米波感应触发的归家暖光接力 topology

分步说明

  1. light.hall_downlights两盏吸顶筒灯在 1.5 秒内渐亮到 35 %、色温 2400 K,让亮度变化看起来是渐变而不是闪跳。 turn_on · brightness_pct 35 · color_temp_kelvin 2400 · transition 1.5s
  2. light.coat_nook衣帽区灯带上到 20 %,作为指向挂钩方向的引导光。 turn_on · brightness_pct 20 · color_temp_kelvin 2200
  3. timer.arrival_hold启动一个 12 分钟保持计时器;期间任何新的感应事件都重置它,而不是叠加多个计时器。 start · duration 00:12:00 · restore false
  4. counter.arrival_events本地计数器加一,便于每周审计触发次数与手动干预次数的比值。 increment
分步说明
把传感器安装成顺着人行走的方向

把毫米波传感器装在角落、让探测面沿着门厅长边向下,可用探测走廊比正对门口长得多。在厂商 App 里划定探测区,并删掉任何与邻居门口重叠的区域——这两个区域是跨户误触发最常见的来源。

去抖设为 3 秒而不是 0

去抖设为 0 秒时,走廊里有人经过敞开的大门就会让灯闪一下。3 秒是「正常步速走到第一盏筒灯之前就亮」的最短可行值。可以实测:站在门口走进来,计时从关门到你的手够到开关之间的间隔。

刻意把归家场景做得偏暖、偏暗

2400 K、35 % 明显低于阅读亮度。归家场景过亮会让人下意识去按开关,久而久之就不再信任自动化。衣帽区比主灯再暗两档,门厅就有了明确的视觉行进方向。

硬件

型号协议连接在本链路中的作用
Aqara FP2 wifi 无线 60 GHz 毫米波存在传感器,天花板角落安装,在厂商 App 里配置 3 秒去抖。
Inovelli White Series 2-1 Dimmer matter 有线 门厅回路的 Matter-over-Thread 调光器;保留本地绑定,中枢离线时墙面开关仍然可用。
VELUX-style exterior lux probe (any Zigbee illuminance sensor) zigbee 无线 朝北的室外照度参考,用来判断户外是否真的已经变暗。

失效时怎么办

如果毫米波对慢速移动漏检,同墙面的 PIR 传感器会在触发层以「或」的方式补上。中枢不可达时,Inovelli 调光器保留与筒灯的 Matter 绑定,物理开关仍能控制回路。若两个传感器都失效,12 分钟计时到期后灯自动关闭,不会一直亮着。

同一触发源的配方

条款 仅供参考。这些配方会控制市电、水路与物理门禁。当地电气与给排水规范、熔断与隔离措施、以及每一处失效保护的实际测试,都需要你自己负责。本页内容不构成专业工程、法律或安全建议。