ปัญหาของ CCTV แบบ Broadcast ทุก Alert
สมาร์ทโฮมไทยหลายบ้านมีผู้อยู่อาศัยหลายรุ่น: ปู่ย่าตายาย, พ่อแม่วัยทำงาน, และเด็กๆ แต่ระบบ CCTV ส่วนใหญ่ตั้งค่าให้ส่ง Alert ทุกอย่างให้ทุกคน ผลที่ตามมา:
- พ่อแม่ได้รับแจ้งเตือนทุกครั้งที่เด็กวิ่งเล่นในบ้าน (Tier 4 ที่ควรเป็น Digest)
- ปู่ย่าได้รับ Alert ระดับ Urgent ที่ควรไปถึงลูกคนโต
- ทุกคนได้รับแจ้งเตือนซ้ำซ้อน จนเริ่มเพิกเฉย
- เมื่อเกิดเหตุจริง ไม่มีใครตอบสนองเพราะคิดว่าคนอื่นจัดการแล้ว
การออกแบบ Zone-Based Security
แบ่ง Zone ตามลักษณะครอบครัวไทย:
Zone A — ผู้สูงอายุ (ปู่ย่า):
- ห้องนอนผู้สูงอายุ
- ห้องน้ำที่ผู้สูงอายุใช้
- บันไดและทางเดินระหว่างห้อง
Alert ไปที่: ลูกทุกคน + พยาบาล/ผู้ดูแล Priority: Critical สำหรับการล้มหรือหยุดนิ่ง
Zone B — เด็กและห้องเรียน:
- ห้องเด็ก
- ห้องเล่น
- ระเบียงและพื้นที่นอกบ้านที่เด็กใช้
Alert ไปที่: พ่อแม่เท่านั้น Priority: Normal สำหรับเคลื่อนไหวทั่วไป, Urgent สำหรับออกนอกพื้นที่
Zone C — พื้นที่ส่วนกลาง:
- ประตูหน้า
- ห้องนั่งเล่น
- ครัว
Alert ไปที่: ทุกคนที่บ้าน หรือหัวหน้าครอบครัว Priority: Normal สำหรับ Presence, Urgent สำหรับบุคคลแปลกหน้า
Zone D — พื้นที่ความปลอดภัยภายนอก:
- รอบบ้าน
- ประตูรั้ว
- จุดจอดรถ
Alert ไปที่: หัวหน้าครอบครัว Priority: High สำหรับบุคคลแปลกหน้าตอนกลางคืน
ตั้งค่าใน Home Assistant
yaml
alias: "Zone A - Elderly Fall Alert"
trigger:
- platform: state
entity_id: binary_sensor.elderly_room_mmwave
to: "off"
for:
minutes: 20
condition:
- condition: state
entity_id: binary_sensor.elderly_room_door
state: "on"
action:
- service: notify.notify_adult_children
data:
title: "Zone A — ตรวจสอบด่วน"
message: "ไม่มีการเคลื่อนไหวในห้องผู้สูงอายุ 20 นาที ประตูปิดอยู่"
data:
push:
sound:
name: default
critical: 1
- service: notify.notify_caregiver
data:
title: "ตรวจสอบผู้สูงอายุด่วน"
message: "Zone A Alert ที่บ้าน"
alias: "Zone B - Child Out of Bounds"
trigger:
- platform: state
entity_id: binary_sensor.garden_gate_sensor
to: "on"
condition:
- condition: time
after: "08:00:00"
before: "18:00:00"
- condition: state
entity_id: person.parent_1
state: "not_home"
action:
- service: notify.notify_parents_only
data:
title: "Zone B — เด็กออกจากบ้าน"
message: "ประตูสวนเปิด ตรวจสอบเด็กด่วน"
Notify Group ที่แนะนำ
สร้าง Notify Group ใน HA แทนการส่งหาทุกคน:
yaml
# configuration.yaml
notify:
- name: notify_adult_children
platform: group
services:
- service: mobile_app_child1_phone
- service: mobile_app_child2_phone
- name: notify_parents_only
platform: group
services:
- service: mobile_app_parent1_phone
- service: mobile_app_parent2_phone
- name: notify_caregiver
platform: group
services:
- service: mobile_app_caregiver_phone
Hardware แนะนำสำหรับบ้านหลายรุ่น
Zone A (ผู้สูงอายุ):
- Aqara FP2 mmWave Radar (4,000-5,000 บาท) — ไม่มีภาพ รักษาความเป็นส่วนตัว
- Xiaomi C300 Camera (1,200 บาท) — ในพื้นที่ที่ยินยอม
Zone B (เด็ก):
- Reolink E1 (1,800 บาท) — ห้องเด็ก
- Door Sensor Zigbee (300 บาท) — ประตูสวน
Zone C+D (พื้นที่กลาง + ภายนอก):
- Hikvision DS-2CD2T47G2 (5,000-8,000 บาท) — กล้องภายนอก IP67
- Reolink Duo 3 (4,500 บาท) — มุมกว้าง 180°