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

    廚房的燈光與通風自動化:完整設定與注意事項

    [複製鏈接]

    !lvup!   100%

    363

    主題

    27

    回帖

    2200萬

    積分

    管理員

    積分
    22005752
    發表於 3 天前 | 顯示全部樓層 |閱讀模式
    廚房的環境變化最劇烈:溫度、濕度、油煙、氣味。

    這篇講怎麼讓它自己處理。



    一、燈光:三層設計

    前面講過廚房建議分 2-3 路。這裡講自動化。

    第一層:主照明


    • 進廚房自動開
    • 亮度和色溫依時間調整
    • 色溫用 4000K 左右(食物顏色比較準,太暖的話肉看起來會怪)

    1. alias: 廚房主燈
    2. triggers:
    3.   - trigger: state
    4.     entity_id: binary_sensor.kitchen_motion
    5.     to: "on"
    6. conditions:
    7.   - condition: numeric_state
    8.     entity_id: sensor.kitchen_illuminance
    9.     below: 80              # 夠亮就不開
    10. actions:
    11.   - action: light.turn_on
    12.     target: {entity_id: light.kitchen_main}
    13.     data:
    14.       brightness_pct: >
    15.         {% set h = now().hour %}
    16.         {% if h < 6 or h >= 23 %}20
    17.         {% elif h < 8 %}70
    18.         {% else %}100
    19.         {% endif %}
    20.       color_temp_kelvin: 4000
    21.   - wait_for_trigger:
    22.       - trigger: state
    23.         entity_id: binary_sensor.kitchen_motion
    24.         to: "off"
    25.   - delay: "00:05:00"
    26.   - action: light.turn_off
    27.     target: {entity_id: light.kitchen_main}
    28. mode: restart
    複製代碼

    加照度判斷很重要
    白天廚房如果採光夠,不需要開燈。

    延遲五分鐘比其他房間長,因為煮飯的時候人會站著不太動。

    第二層:櫥下工作燈


    • 最常用的一盞
    • 可以用揮手感應(手濕、有油的時候)
    • 半夜只給低亮度


    第三層:夜間導引
    1. alias: 廚房夜間微光
    2. triggers:
    3.   - trigger: state
    4.     entity_id: binary_sensor.kitchen_motion
    5.     to: "on"
    6. conditions:
    7.   - condition: time
    8.     after: "23:00:00"
    9.     before: "06:00:00"
    10. actions:
    11.   - action: light.turn_on
    12.     target: {entity_id: light.kitchen_undercabinet}
    13.     data:
    14.       brightness_pct: 8
    15.       color_temp_kelvin: 2200
    16.   - wait_for_trigger:
    17.       - trigger: state
    18.         entity_id: binary_sensor.kitchen_motion
    19.         to: "off"
    20.   - delay: "00:02:00"
    21.   - action: light.turn_off
    22.     target: {entity_id: light.kitchen_undercabinet}
    23. mode: restart
    複製代碼

    半夜倒水喝不用開大燈,這個真的很有感。



    二、通風:兩種觸發

    觸發 A:溫度(煮飯時)

    煮飯的時候廚房溫度會明顯上升。
    1. alias: 煮飯時自動抽風
    2. triggers:
    3.   - trigger: numeric_state
    4.     entity_id: sensor.kitchen_temperature
    5.     above: 30
    6.     for: "00:03:00"
    7. conditions:
    8.   # 排除「整個家都很熱」的情況(夏天)
    9.   - condition: template
    10.     value_template: >
    11.       {{ states('sensor.kitchen_temperature') | float(0)
    12.          - states('sensor.living_room_temperature') | float(0) > 3 }}
    13. actions:
    14.   - action: switch.turn_on
    15.     target: {entity_id: switch.kitchen_exhaust}
    16.   - wait_template: >
    17.       {{ states('sensor.kitchen_temperature') | float(0)
    18.          - states('sensor.living_room_temperature') | float(0) < 1.5 }}
    19.     timeout: "01:00:00"
    20.   - delay: "00:10:00"          # 再抽十分鐘
    21.   - action: switch.turn_off
    22.     target: {entity_id: switch.kitchen_exhaust}
    23. mode: restart
    複製代碼

    用「廚房和客廳的溫差」而不是絕對溫度
    這樣夏天不會一直誤觸發。

    這個技巧很好用:需要判斷「某個房間特別熱」的時候,
    用相對值比絕對值可靠太多

    觸發 B:濕度(燒水、煮湯時)
    1. triggers:
    2.   - trigger: template
    3.     value_template: >
    4.       {{ states('sensor.kitchen_humidity') | float(0)
    5.          - states('sensor.living_room_humidity') | float(0) > 12 }}
    6.     for: "00:02:00"
    複製代碼

    觸發 C:瓦斯 / VOC 感測器(比較進階)

    有些空氣品質感測器可以偵測 VOC(揮發性有機物)。
    炒菜的時候會明顯上升。

    這個反應比溫濕度快,但感測器比較貴。

    三、抽油煙機的控制方式

    這是最麻煩的部分。

    方式 1:智能插座(如果是插電的)


    • 最簡單
    • 但要確認功率(抽油煙機通常 100-250W,一般插座夠)
    • 缺點:只能開關,不能調速


    方式 2:內嵌式模組(固定安裝的)


    • 要動線路,建議找水電
    • 有些模組支援多段(對應抽油煙機的強弱)


    方式 3:紅外線遙控(有遙控器的話)


    • 用萬用紅外線遙控器學碼
    • 缺點是單向的 —— 不知道現在是開還是關
    • 可以配功率監控補足狀態回饋


    方式 4:實體按壓器(最後手段)

    有一種小裝置可以物理性地按下按鈕。


    • 完全不用改裝
    • 但很醜,而且電池要換




    四、安全相關的自動化

    「忘記關火」偵測(間接)

    沒有直接的方法偵測瓦斯爐開著,但可以用溫度推測:
    1. alias: 可能忘記關火
    2. triggers:
    3.   - trigger: numeric_state
    4.     entity_id: sensor.kitchen_temperature
    5.     above: 33
    6.     for: "00:20:00"
    7. conditions:
    8.   - condition: state
    9.     entity_id: binary_sensor.kitchen_motion
    10.     state: "off"
    11.     for: "00:15:00"
    12. actions:
    13.   - action: script.smart_announce
    14.     data:
    15.       area: all
    16.       message: 廚房溫度偏高但沒有人,請確認爐火
    17.       volume: 0.7
    18.   - action: notify.mobile_app_charles
    19.     data:
    20.       title: 請確認廚房
    21.       message: >
    22.         廚房 {{ states('sensor.kitchen_temperature') }} 度,
    23.         而且十五分鐘沒有人
    24.       data:
    25.         push:
    26.           interruption-level: time-sensitive
    27. mode: single
    複製代碼

    這個會有誤報(例如夏天中午、或烤箱在用),
    但我覺得寧可誤報也不要漏報

    要真正偵測的話,可以考慮:


    • 熱成像感測器(AMG8833 之類)對著爐具
    • 瓦斯流量感測器(要專業安裝)


    這兩個都超出一般 DIY 的範圍。

    離家時的廚房檢查
    1. alias: 離家前廚房檢查
    2. triggers:
    3.   - trigger: state
    4.     entity_id: input_select.house_mode
    5.     to: 外出
    6. actions:
    7.   - variables:
    8.       問題: >
    9.         {% set p = [] %}
    10.         {% if states('sensor.kitchen_temperature') | float(0) > 32 %}
    11.           {% set p = p + ['廚房溫度偏高'] %}
    12.         {% endif %}
    13.         {% if is_state('switch.kitchen_exhaust','on') %}
    14.           {% set p = p + ['抽油煙機開著'] %}
    15.         {% endif %}
    16.         {% if is_state('binary_sensor.fridge_door','on') %}
    17.           {% set p = p + ['冰箱門開著'] %}
    18.         {% endif %}
    19.         {% if states('sensor.rice_cooker_power') | float(0) > 20 %}
    20.           {% set p = p + ['電鍋還在保溫'] %}
    21.         {% endif %}
    22.         {{ p }}
    23.   - condition: "{{ 問題 | count > 0 }}"
    24.   - action: notify.mobile_app_charles
    25.     data:
    26.       title: 廚房檢查
    27.       message: "{{ 問題 | join('、') }}"
    28.       data:
    29.         actions:
    30.           - action: KITCHEN_OFF
    31.             title: 幫我關掉抽油煙機和電鍋
    32. mode: single
    複製代碼

    五、環境注意事項

    感測器的位置


    • 溫濕度 —— 不要放爐具正上方(會被瞬間高溫影響),
        放在離爐具一兩公尺的牆上
    • 人體感應 —— 避開會冒蒸氣的地方(熱氣會誤觸發 PIR)
    • 瓦斯偵測 —— 高度看瓦斯種類(前一篇講過)
    • 漏水 —— 水槽下方最低點


    油煙的長期影響


    • 感測器表面會積油,每半年擦一次
    • 電池接點容易氧化,壽命比其他房間短
    • 不要裝在抽油煙機的氣流路徑上


    電池選擇

    廚房的溫度變化大,建議用品質好一點的電池
    便宜的鈕扣電池在溫差大的環境下容易漏液。

    ---

    我家廚房的自動化清單:


    • 主燈感應(配照度判斷)
    • 櫥下燈感應(分日夜亮度)
    • 溫差觸發抽風
    • 瓦斯警報
    • 漏水警報
    • 電鍋煮好通知
    • 離家前廚房檢查


    七個自動化,但只有前三個是每天都在跑的。

    後面四個是「希望永遠不要觸發」的那種,
    但正是因為有它們,我出門的時候不會再回頭想「我有沒有關火」。
    您需要登入後纔可以回帖 登入 | 立即註冊

    本版積分規則

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

    GMT+8, 2026-9-24 10:31 , Processed in 0.085544 second(s), 26 queries .

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