Hello,
i have hooked up a rf reciever and trasmitter to a wemos D1.
The recived codes are:
How do i resend these codes.
if i send one off the lines it doesn’t do anything, so i think i have all the lines to let things happend.
how can i do that ?
on:
[19:36:12][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101001111000'
[19:36:12][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101001111000'
[19:36:12][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101001111000'
[19:36:12][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='001100010000111010100111100'
off
[19:36:53][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101010000111'
[19:36:53][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101010000111'
[19:36:53][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='0011000100001110101010000111'
[19:36:53][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=1 data='001100010000111010101000011'
this is my code so far:
remote_receiver:
pin: D5
dump:
- rc_switch
remote_transmitter:
pin: D1
# RF uses a 100% carrier signal
carrier_duty_percent: 100%
binary_sensor:
switch:
- platform: template
name: RF on
turn_on_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '001100010000111010100111100'
protocol: 1
turn_off_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '001100010000111010101000011'
protocol: 1