[Ultimate Smart Home EP38] วิธี Learn IR Remote สำหรับ Broadlink เพื่อใช้งานกับ Home Assistant

Published at : 23 Dec 2025

Script สำหรับใส่ใน configuraiton.yaml
script:
learn_tv_commands:
sequence:
- service: remote.learn_command
target:
entity_id: remote.bedroom
data:
device: ac
command:
- turn on
- turn off
- volume up
- volume down

Code สำหรับ smartIR ใน configuraiton.yaml
climate:
- platform: smartir
name: bedroom AC
unique_id: bedroom_ac
device_code: 9999
controller_data: remote.bedroom_remote_remote

Link ตัวอย่าง code สำหรับใส่ใน\config\custom_components\smartir\codes\climate
https://github.com/pakkardkaw/witkubkanis/blob/main/9999.json

สนับสนุนรายการโดยการอุดหนุนสินค้าได้ที่ https://www.shopee.co.th/witkubkanis

เข้าร่วม Line Open Chat ห้อง Home Assistant Thailand
สำหรับพูดคุย ถามตอบ show case เกี่ยวกับ Home Assistant และ Home Automation สามารถขายของได้แต่ต้องราคาดีกว่าท้องตลาด
https://line.me/ti/g2/XMrAgjwKasz2Z1ZqP7V3SA?utm_source=invitation&utm_medium=link_copy&utm_campaign=default