03-30-2023, 07:50 AM
(03-29-2023, 09:56 AM)admin Wrote: you can use ESPHome, just config IR receiver or RF reciever gpio pin. make sure your product have IR or RF hardware function.
How do I make sure that the KC868-Server has IR or RF hardware function?
I have tried different configs using different pins (22, 36) in each instant. this is for Samsung TV.
Here is config 1 below for ESPHome:
captive_portal:
remote_receiver:
pin: 36
dump: all
# Settings to optimize recognition of RF devices
tolerance: 50%
filter: 250us
idle: 4ms
buffer_size: 2kb
Here is config 2 below for ESPHome:
captive_portal:
web_server:
port: 80
remote_receiver:
pin:
number: 23
inverted: True
dump: all
remote_transmitter:
pin:
number: 22
carrier_duty_percent: 50%
switch:
- platform: template
name: "TV Power"
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x00BD
command: 0x807F
repeat:
times: 10
wait_time: 50ms
turn_off_action:
- remote_transmitter.transmit_nec:
address: 0x00BD
command: 0x807F
repeat:
times: 10
wait_time: 50ms