12-20-2024, 12:51 AM
Not sure where to post my question related to KC868-AG.
I have captured the rc_swich code for RF remote and the code is consistent so I understand it is correct. I next apply this code, still having receiver enabled. The device does not react to the code and the logged code is totally different. I have tested this on two different devices with the same effect.
This is part of my YAML:
remote_transmitter:
- id: remote_trans_RF
pin: GPIO22
carrier_duty_percent: 100%
- id: remote_trans
pin: GPIO2
carrier_duty_percent: 50%
remote_receiver:
- id: receiver_RF
pin:
number: GPIO13
dump: all
fan:
- platform: template
name: "RF Fan Controller"
id: rf_fan
speed_count: 6
on_turn_on:
- fan.turn_on:
id: rf_fan
speed: 1
on_turn_off:
- remote_transmitter.transmit_rc_switch_raw:
transmitter_id: remote_trans_RF
code: '111001111101100100000011'
protocol: 6
repeat:
times: 10
wait_time: 0s
I have captured the rc_swich code for RF remote and the code is consistent so I understand it is correct. I next apply this code, still having receiver enabled. The device does not react to the code and the logged code is totally different. I have tested this on two different devices with the same effect.
This is part of my YAML:
remote_transmitter:
- id: remote_trans_RF
pin: GPIO22
carrier_duty_percent: 100%
- id: remote_trans
pin: GPIO2
carrier_duty_percent: 50%
remote_receiver:
- id: receiver_RF
pin:
number: GPIO13
dump: all
fan:
- platform: template
name: "RF Fan Controller"
id: rf_fan
speed_count: 6
on_turn_on:
- fan.turn_on:
id: rf_fan
speed: 1
on_turn_off:
- remote_transmitter.transmit_rc_switch_raw:
transmitter_id: remote_trans_RF
code: '111001111101100100000011'
protocol: 6
repeat:
times: 10
wait_time: 0s