Hello,
I’m trying to setup a LOLIN D32 with an RF receiver (to decode the signals) and a RF transmitter without any success. I’d like to decode a rf remote codes from my outdoor awning to control it via home assistant.
Using the default settings to catch signals:
pin:
number: 16
mode: INPUT_PULLUP
dump: rc_switch
# Settings to optimize recognition of RF devices
tolerance: 50%
filter: 250us
idle: 4ms
buffer_size: 10kb
I could once see logs of the signal (I kept the remote button pressed for 30 seconds or more), and I got this:
[23:28:10][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='1101001110111011000101111000101101001100110101011'
[23:28:13][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='110100111011101100010111100'
[23:28:15][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='110100111011101100010111100010'
[23:28:22][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='110100111011101100010111100'
[23:28:22][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='110100111011101100010111100'
[23:28:24][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='110100111011'
I’ve tried to reproduce it again, but I wasn’t able. No more data received.
When I then tried to emit the signals - tried all above options - using this code:
switch:
- platform: template
name: Raw Code Power Button
turn_on_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '110100111011101100010111100'
protocol: 6
It did not work and the receiver didn’t catch the transmitter code. If I relax the tolerance to 60% I can get data output on every button click, and when I emit it via the esp32 emitter the receiver catches it and I can see the data on the logs, the problem is that the awning doesn’t work.
I’d appreciate if someone could help!
Thanks!