I want to make a wemos D1 with RF and IR.
In Remote_receiver i found, that this could be done to add “id”
When looking at the binary sensor, it has the option to add “id”. But i can’t get it to work.
Tried to find an example online, but can’t find one.
This is my remote_receiver part:
remote_receiver:
- id: RF
pin:
number: GPIO4
inverted: True
mode: INPUT_PULLUP
dump: all
tolerance: 60%
filter: 4us
idle: 4ms
- id: IR
pin:
number: GPIO5
inverted: True
This is my binary sensor part, which gives 2 errors
binary_sensor:
- platform: remote_receiver
id: RF
name: Test Doorbell push
rc_switch_raw:
code: '011001110100110100001110'
protocol: 6
filters:
- delayed_off: 1000ms
on_press:
then:
- switch.turn_on: rf_switch
On the line “- platform” i get the error: Too many candidates found for receiver ID
On the line " id:" i get error: ID RF Redefined
How can i define the receive ID to the binary sensor?