Remote Receiver
The Remote Receiver lets receive and decode remote RF433/315 signal.
With remote KeyFob or RF wall switch can switch ON/OFF relays On ASTRA controller or ESP32R4 controller.
RF module connecting to GPIO27 to ASTRA controller and to ESP32R4 controller
For TASMOTA:
TASMOTA firmware is already configured for the RF receiver module. Need only add the rule for use of payload data.
For example for KeyFob 4 buttons:
Rule1 ON RfReceived#Data=0x214008 DO POWER8 2 ENDON ON RfReceived#Data=0x214004 DO POWER9 2 ENDON ON RfReceived#Data=0x214002 DO POWER10 2 ENDON ON RfReceived#Data=0x214001 DO POWER4 2 ENDON
Rule1 1
For ESPHOME:
Configuration:
remote_receiver:
pin: GPIO27
dump: rc_switch
# Settings to optimize recognition of RF devices
tolerance: 50%
filter: 200us
idle: 4ms
buffer_size: 2kb
– platform: remote_receiver
name: “Button A”
device_class: motion
rc_switch_raw:
code: “011100100110101000001000”
protocol: 1
on_press:
then:
– switch.toggle: relay1
– platform: remote_receiver
name: “Button B”
device_class: motion
rc_switch_raw:
code: “011100100110101000000100”
protocol: 1
on_press:
then:
– switch.toggle: relay2
– platform: remote_receiver
name: “Button C”
device_class: motion
rc_switch_raw:
code: “011100100110101000000010”
protocol: 1
on_press:
then:
– switch.toggle: relay3
– platform: remote_receiver
name: “Button D”
device_class: motion
rc_switch_raw:
code: “011100100110101000000001”
protocol: 1
on_press:
then:
– switch.toggle: relay4