找回密碼
 立即註冊
惟家LINE群QRCODE
    查看: 2|回覆: 0

    廚房的智慧應用:安全第一,方便第二

    [複製鏈接]

    !lvup!   100%

    363

    主題

    27

    回帖

    2200萬

    積分

    管理員

    積分
    22005752
    發表於 3 天前 | 顯示全部樓層 |閱讀模式
    廚房是家裡最危險的地方 —— 有火、有水、有電、有刀。

    所以這裡的智慧化重點是「安全」不是「方便」。



    優先順序

    第一級:安全(一定要做)


    • 瓦斯偵測器
    • 水浸感測器(水槽下、洗碗機、淨水器)
    • 煙霧偵測器
    • 溫度異常偵測


    第二級:省事(很有用)


    • 排油煙機自動控制
    • 冰箱門沒關提醒
    • 電器忘記關提醒


    第三級:方便(有餘力再做)


    • 語音控制計時器
    • 燈光情境
    • 食材管理


    不要做的


    • 遠端開啟任何加熱設備
    • 自動控制瓦斯爐


    溫度異常偵測(很多人沒想到)

    在廚房天花板放一個溫度感測器
    1. automation:
    2.   - alias: 廚房溫度異常
    3.     mode: single
    4.     triggers:
    5.       - trigger: numeric_state
    6.         entity_id: sensor.廚房溫度
    7.         above: 45
    8.     actions:
    9.       - action: script.通知
    10.         data:
    11.           等級: 緊急
    12.           標題: 廚房溫度 {{ states('sensor.廚房溫度') }} 度
    13.           訊息: 可能有東西燒起來,或者鍋子乾燒
    複製代碼

    為什麼有用


    • 煙霧偵測器要有煙才會叫
    • 溫度異常可以更早發現
    • 鍋子乾燒、油鍋過熱都會先升溫


    注意


    • 門檻要設高一點(正常煮菜天花板也會到 35-40 度)
    • 感測器不要放在爐子正上方(會一直誤報)
    • 放在離爐子一兩公尺的天花板




    排油煙機的自動化

    三種觸發方式

    一、用溫度
    1.     triggers:
    2.       - trigger: numeric_state
    3.         entity_id: sensor.爐子上方溫度
    4.         above: 35
    複製代碼

    二、用 PM2.5
    1.     triggers:
    2.       - trigger: numeric_state
    3.         entity_id: sensor.廚房PM2.5
    4.         above: 80
    複製代碼

    三、用瓦斯爐的功率或電磁爐的用電


    • 電磁爐:直接用功率監測插座
    • 瓦斯爐:比較難,可以用溫度或火焰感測器


    最可靠的組合溫度 + PM2.5,任一觸發

    完整的自動化
    1. automation:
    2.   - alias: 排油煙機自動
    3.     id: hood_auto
    4.     mode: restart
    5.     triggers:
    6.       - trigger: numeric_state
    7.         entity_id: sensor.爐子上方溫度
    8.         above: 35
    9.       - trigger: numeric_state
    10.         entity_id: sensor.廚房PM2.5
    11.         above: 80
    12.     actions:
    13.       - action: switch.turn_on
    14.         target:
    15.           entity_id: switch.排油煙機
    16.       # 等兩個都降下來
    17.       - wait_template: >
    18.           {{ states('sensor.爐子上方溫度') | float(99) < 30
    19.              and states('sensor.廚房PM2.5') | float(999) < 40 }}
    20.         timeout: "02:00:00"
    21.         continue_on_timeout: true
    22.       # 再多抽十分鐘
    23.       - delay: "00:10:00"
    24.       - action: switch.turn_off
    25.         target:
    26.           entity_id: switch.排油煙機
    複製代碼

    mode: restart 很重要 —— 煮到一半溫度掉下去又上來,要重新計算。

    冰箱的監控

    三個實用的

    一、門沒關
    1. automation:
    2.   - alias: 冰箱門沒關
    3.     triggers:
    4.       - trigger: state
    5.         entity_id: binary_sensor.冰箱門
    6.         to: "on"
    7.         for: "00:02:00"
    8.     actions:
    9.       - action: script.通知
    10.         data:
    11.           等級: 重要
    12.           標題: 冰箱門開著兩分鐘了
    複製代碼

    二、溫度異常

    前面講過,放一個溫度感測器在冷藏室。

    注意訊號問題


    • 金屬會擋 Zigbee
    • 可以放在門邊的層架
    • 或者用有線的(ESP32 拉線)


    三、斷電偵測
    1. automation:
    2.   - alias: 冰箱可能斷電
    3.     triggers:
    4.       - trigger: numeric_state
    5.         entity_id: sensor.冰箱功率
    6.         below: 1
    7.         for: "01:00:00"
    8.     actions:
    9.       - action: script.通知
    10.         data:
    11.           等級: 緊急
    12.           標題: 冰箱一小時沒有耗電
    13.           訊息: 可能跳電或壞了
    複製代碼

    為什麼是一小時冰箱本來就會間歇運轉
    停個二三十分鐘是正常的。



    方便性的應用

    一、語音計時器


    • 「計時十分鐘」
    • 手上濕濕的時候超好用
    • HA 的語音助理內建支援


    或者用 timer 輔助元件 + 無線按鈕
    1. timer:
    2.   廚房計時:
    3.     duration: "00:10:00"
    4. automation:
    5.   - alias: 按鈕啟動計時
    6.     triggers:
    7.       - trigger: state
    8.         entity_id: sensor.廚房按鈕_action
    9.         to: single
    10.     actions:
    11.       - action: timer.start
    12.         target:
    13.           entity_id: timer.廚房計時
    14.   - alias: 計時到了
    15.     triggers:
    16.       - trigger: event
    17.         event_type: timer.finished
    18.         event_data:
    19.           entity_id: timer.廚房計時
    20.     actions:
    21.       - action: tts.speak
    22.         target:
    23.           entity_id: tts.piper
    24.         data:
    25.           media_player_entity_id: media_player.廚房音響
    26.           message: 時間到了
    複製代碼

    二、燈光情境


    • 料理區要亮、要高 CRI(看食材顏色)
    • 用餐區可以暗一點、暖一點
    • 半夜找東西吃 → 微亮

    1. automation:
    2.   - alias: 半夜廚房
    3.     triggers:
    4.       - trigger: state
    5.         entity_id: binary_sensor.廚房人體
    6.         to: "on"
    7.     conditions:
    8.       - condition: time
    9.         after: "23:00:00"
    10.         before: "06:00:00"
    11.     actions:
    12.       - action: light.turn_on
    13.         target:
    14.           entity_id: light.廚房
    15.         data:
    16.           brightness_pct: 15
    17.           color_temp_kelvin: 2400
    18.           transition: 2
    複製代碼

    三、水槽下的水浸偵測

    這個一定要做。


    • 水槽下的管線是最常漏的地方之一
    • 而且有櫃子擋著,漏了你不會發現
    • 等發現的時候櫃子已經爛了


    四、淨水器濾芯提醒
    1. # 用流量感測器(有的話)
    2. automation:
    3.   - alias: 淨水器濾芯
    4.     triggers:
    5.       - trigger: numeric_state
    6.         entity_id: sensor.淨水器累計用水
    7.         above: 1000
    8.     actions:
    9.       - action: todo.add_item
    10.         target:
    11.           entity_id: todo.待辦
    12.         data:
    13.           item: 換淨水器濾芯
    14. # 沒有流量感測器就用時間
    15. automation:
    16.   - alias: 濾芯時間到
    17.     triggers:
    18.       - trigger: time
    19.         at: "10:00:00"
    20.     conditions:
    21.       - condition: template
    22.         value_template: >
    23.           {{ (now() - as_datetime(
    24.                states('input_datetime.濾芯更換日'))).days > 180 }}
    25.     actions:
    26.       - action: todo.add_item
    27.         target:
    28.           entity_id: todo.待辦
    29.         data:
    30.           item: 換淨水器濾芯(已經六個月)
    複製代碼

    用 input_datetime 記錄更換日期
    換完之後手動更新那個日期。

    這招可以用在所有「定期要換」的東西


    • 淨水器濾芯
    • 空氣清淨機濾網
    • 冷氣濾網
    • 除濕機濾網
    • 瓦斯偵測器(五年)
    • 電池




    做一個「維護提醒」的儀表板卡片
    1. type: entities
    2. title: 該換的東西
    3. entities:
    4.   - entity: input_datetime.淨水器濾芯
    5.     name: 淨水器濾芯(180 天)
    6.   - entity: input_datetime.冷氣濾網
    7.     name: 冷氣濾網(90 天)
    8.   - entity: input_datetime.清淨機濾網
    9.     name: 清淨機濾網(365 天)
    10.   - entity: input_datetime.瓦斯偵測器
    11.     name: 瓦斯偵測器(5 年)
    複製代碼

    這是很低科技但很實用的一招。

    ---

    下一篇:系列總整理 ——
    最後的完整檢查表。
    您需要登入後纔可以回帖 登入 | 立即註冊

    本版積分規則

    Archiver|手機版|惟家的智能論壇

    GMT+8, 2026-9-24 11:29 , Processed in 0.088081 second(s), 24 queries .

    快速回覆 返回頂部 返回列表