92 lines
4.3 KiB
JSON
92 lines
4.3 KiB
JSON
{
|
||
"_meta": {
|
||
"layout_id": "D",
|
||
"layout_name": "独居老人 (Elderly Living Alone)",
|
||
"description": "独居老人户型,设备使用规律性强,安全监护需求高",
|
||
"typical_residents": "1人(65岁以上老人)",
|
||
"total_rooms": 4,
|
||
"entry_points": ["front_door"],
|
||
"windows": ["bedroom_window", "living_room_window"],
|
||
"special_considerations": [
|
||
"设备使用频率低但规律性极强",
|
||
"长时间无活动需要关注(跌倒风险)",
|
||
"夜间活动异常需要关注",
|
||
"厨房是高风险区域(忘记关火)",
|
||
"卫生间是跌倒高发区域"
|
||
]
|
||
},
|
||
"rooms": {
|
||
"living_room": {
|
||
"display_name": "客厅",
|
||
"devices": {
|
||
"living_room_light": { "type": "dimmable_light", "display_name": "客厅灯" },
|
||
"living_room_ac": { "type": "air_conditioner", "display_name": "客厅空调" },
|
||
"living_room_temp_sensor": { "type": "temperature_sensor", "display_name": "客厅温度传感器" },
|
||
"living_room_occupancy": { "type": "occupancy_sensor", "display_name": "客厅运动传感器" },
|
||
"living_room_window": { "type": "window_covering", "display_name": "客厅窗帘" },
|
||
"living_room_window_contact": { "type": "contact_sensor", "display_name": "客厅窗户传感器" },
|
||
"living_room_smoke_alarm": { "type": "smoke_co_alarm", "display_name": "客厅烟雾报警器" }
|
||
}
|
||
},
|
||
"bedroom": {
|
||
"display_name": "卧室",
|
||
"devices": {
|
||
"bedroom_light": { "type": "dimmable_light", "display_name": "卧室灯" },
|
||
"bedroom_bedside_light": { "type": "onoff_light", "display_name": "床头灯" },
|
||
"bedroom_occupancy": { "type": "occupancy_sensor", "display_name": "卧室运动传感器" },
|
||
"bedroom_window": { "type": "window_covering", "display_name": "卧室窗帘" },
|
||
"bedroom_window_contact": { "type": "contact_sensor", "display_name": "卧室窗户传感器" },
|
||
"bedroom_temp_sensor": { "type": "temperature_sensor", "display_name": "卧室温度传感器" }
|
||
}
|
||
},
|
||
"kitchen": {
|
||
"display_name": "厨房",
|
||
"devices": {
|
||
"kitchen_light": { "type": "onoff_light", "display_name": "厨房灯" },
|
||
"kitchen_cook_surface": { "type": "cook_surface", "display_name": "厨房灶具" },
|
||
"kitchen_smoke_alarm": { "type": "smoke_co_alarm", "display_name": "厨房烟雾报警器" },
|
||
"kitchen_temp_sensor": { "type": "temperature_sensor", "display_name": "厨房温度传感器" },
|
||
"kitchen_occupancy": { "type": "occupancy_sensor", "display_name": "厨房运动传感器" },
|
||
"kitchen_water_leak": { "type": "water_leak_detector", "display_name": "厨房漏水传感器" }
|
||
}
|
||
},
|
||
"bathroom": {
|
||
"display_name": "卫生间",
|
||
"devices": {
|
||
"bathroom_light": { "type": "onoff_light", "display_name": "卫生间灯" },
|
||
"bathroom_occupancy": { "type": "occupancy_sensor", "display_name": "卫生间运动传感器" },
|
||
"bathroom_water_leak": { "type": "water_leak_detector", "display_name": "卫生间漏水传感器" }
|
||
}
|
||
},
|
||
"entrance": {
|
||
"display_name": "玄关",
|
||
"devices": {
|
||
"front_door_lock": { "type": "door_lock", "display_name": "入户门锁" },
|
||
"front_door_contact": { "type": "contact_sensor", "display_name": "入户门传感器" },
|
||
"entrance_light": { "type": "onoff_light", "display_name": "玄关灯" },
|
||
"entrance_occupancy": { "type": "occupancy_sensor", "display_name": "玄关运动传感器" }
|
||
}
|
||
}
|
||
},
|
||
"_stats": {
|
||
"total_devices": 26,
|
||
"contact_sensors": 3,
|
||
"occupancy_sensors": 5,
|
||
"smoke_alarms": 2,
|
||
"door_locks": 1,
|
||
"water_leak_detectors": 2,
|
||
"window_coverings": 2,
|
||
"lights": 6,
|
||
"temperature_sensors": 3,
|
||
"air_conditioners": 1,
|
||
"cook_surfaces": 1
|
||
},
|
||
"_elderly_specific_notes": {
|
||
"extra_occupancy_sensors": "厨房和玄关额外配了运动传感器,用于跟踪老人活动",
|
||
"no_complex_appliances": "没有洗碗机/洗衣机等复杂设备,减少干扰信号",
|
||
"dual_smoke_alarms": "客厅和厨房各一个烟雾报警器,覆盖忘关火风险",
|
||
"dual_water_leak": "厨房和卫生间都有漏水传感器",
|
||
"bedside_light": "床头灯单独作为设备,夜间起床模式的关键信号"
|
||
}
|
||
}
|