烟感与一氧化碳报警:疏散照明、解锁门禁、关闭新风
任意互连报警器响起时,房子会按顺序把疏散路径点亮到 100 %、解锁前门、打开车库、停掉新风风机并关闭锅炉——全部在 4 秒内完成,且不依赖任何云服务。
# HearthNodes recipe 25 - smoke and CO egress
alias: "Safety - smoke and CO egress sequence"
id: hn_safety_smoke_co_egress
description: "Egress lighting, unlock, garage, HVAC off, all within 4 seconds"
mode: single
max_exceeded: queued
trigger:
- platform: state
entity_id: binary_sensor.smoke_alarm_any
to: "on"
id: smoke
- platform: state
entity_id: binary_sensor.co_alarm_any
to: "on"
id: co
variables:
egress_lights:
- light.egress_hall
- light.egress_stairs
- light.egress_landing
- light.porch
air_handling:
- climate.hvac_fan
- climate.boiler
condition:
- condition: template
value_template: "{{ is_state_attr(trigger.entity_id, 'sounder_active', true) }}"
- condition: state
entity_id: input_boolean.alarm_test_mode
state: "off"
action:
- service: light.turn_on
target:
entity_id: "{{ egress_lights }}"
data:
brightness_pct: 100
- service: lock.unlock
target:
entity_id: lock.front_door
- service: cover.open_cover
target:
entity_id: cover.garage
- service: climate.turn_off
target:
entity_id: "{{ air_handling }}"
- service: notify.all_devices
data:
title: >-
{{ 'SMOKE' if trigger.id == 'smoke' else 'CARBON MONOXIDE' }} alarm
message: >-
{{ trigger.entity_id }} on
{{ state_attr(trigger.entity_id, 'floor') }}.
Egress lit, front door unlocked, garage open, air handling stopped.
priority: high
- service: timer.start
target:
entity_id: timer.egress_relock
data:
duration: "00:10:00"
# Every stage runs on the LAN; nothing here needs a cloud service. The alarms'
# own 85 dB sounders and the interconnect wire are the safety device, and they
# keep working with the hub unpowered. Quarterly full test, weekly silent test.
触发器 · state
binary_sensor.smoke_alarm_any · binary_sensor.co_alarm_any
任意互连的烟感或一氧化碳报警器转为「报警中」状态。
分步说明
- light.egress_*把每个疏散区域点至全亮,包括楼梯间和前门外的门灯;这一步在序列中必须最先执行。
turn_on · 100 % · all zones - lock.front_door · cover.garage解锁前门并打开车库——需要钥匙才能走的路径不算疏散路径。
unlock · open - climate.hvac_fan · climate.boiler停掉新风风机与锅炉,这正是防止烟气与一氧化碳在全屋扩散的关键。
off - notify.all_devices发送高优先级通知,指明触发传感器及其所在楼层;但绝不能把通知当作主要报警手段。
send · priority high · which sensor · which floor
先点亮路径,再处理其他
在火灾烟气中,能见度是逃生的限制因素,因此照明动作必须排在序列最前,并且除报警本身外不依赖任何条件。这里顺序比完整性更重要:一个 10 秒打开车库、却 40 秒才点亮楼梯的序列,顺序是错的。
绝不能让智能层充当报警器
自带声光的互连报警器才是安全装置,自动化只是增强。中枢宕机时,每台报警器仍会响,因为互连线不经过中枢。测试时可以通过切断中枢电源、确认所有单元仍能响起,来验证这一点。
要停的是空气处理,而不只是制热
运行中的新风风机把烟气送进卧室的速度,比烟气自然蔓延快得多。停风机比停锅炉更重要。如果系统有「壁炉」或「循环」模式,要确保它不会被某个场景重新启用。
硬件
| 型号 | 协议 | 连接 | 在本链路中的作用 |
|---|---|---|---|
| Z-Wave interconnected smoke and CO alarms | zwave |
有线 | 市电供电、带电池后备与 Z-Wave 射频;让所有报警器一起响的是互连线,而不是智能层。 |
| Fail-secure smart lock with a mechanical override | zwave |
有线 | 断电或收到命令时必须解锁;失效时保持锁定的门锁会在火灾中把人困住。 |
| Garage door controller with a local radio | zwave |
有线 | 即使断网也能按命令开启,因为自动化全程不出局域网。 |
失效时怎么办
本配方按「中枢离线可用」设计:报警器之间的互连线仍会让每台机器响起,而报警器自身的 85 dB 声光才是主要报警手段。如果中枢不可达,疏散照明回退到由本地继电器驱动的独立应急回路。本配方中没有任何环节依赖云服务,并且每周日 11:00 会带静默标记对整个链路做一次测试。