03-04-2025, 11:13 AM
Please can you provide iguidence/nformation on configuring the RF 433mhz receiver/transmitter.
I have tried:
remote_transmitter:
pin:
number: GPIO18
carrier_duty_percent: 100%
remote_receiver:
pin:
number: GPIO8
But that results in :
Remote Receiver:
[10:52:38][C][remote_receiver.esp32:065]: Pin: GPIO8
[10:52:38][C][remote_receiver.esp32:070]: Channel: 1
[10:52:38][C][remote_receiver.esp32:071]: RMT memory blocks: 3
[10:52:38][C][remote_receiver.esp32:072]: Clock divider: 80
[10:52:38][C][remote_receiver.esp32:074]: Tolerance: 25%
[10:52:38][C][remote_receiver.esp32:075]: Filter out pulses shorter than: 50 us
[10:52:38][C][remote_receiver.esp32:076]: Signal is done after 10000 us of no changes
[10:52:38][E][remote_receiver.esp32:079]: Configuring RMT driver failed: ESP_ERR_INVALID_ARG (in rmt_config)
[10:52:38][E][component:082]: Component remote_receiver is marked FAILED
If I change remote_receiver to :remote_receiver:
pin:
number: GPIO8
inverted: true
rmt_channel: 4
The error is gone. However the data received by the RF shown in the logs is different from the data received via a KC868-A16 logs for the same transmitting device (door sensor):
KC868-A16v3 RF Logs:
[11:01:52][I][remote.pronto:231]: Received Pronto: data=
[11:01:52][I][remote.pronto:233]: 0000 006D 0019 0000 000D 0027 000C 0027 000C 0027 0028 000B 0028 000B 000C 0027 000C 0027 000C 0027 000C 0027 0028 000B 0028 000B 000C 0027 0028 000B 0028 000B 0028 000B 000C 0027 000C 0027 000C 0027 000C 0027 000D 0027 0028 000B
[11:01:52][I][remote.pronto:233]: 0028 000B 0028 000B 000C 0027 000C 0181
KC868-A16RF Logs:
[11:04:50][I][remote.pronto:231]: Received Pronto: data=
[11:04:50][I][remote.pronto:233]: 0000 006D 0019 0000 000B 0029 000B 0029 000B 0028 0026 000D 0026 000D 000A 0029 000B 0029 000A 0029 000B 0028 0026 000D 0026 000D 000B 0028 0026 000D 0026 000D 0026 000D 000B 0029 000B 0028 000B 0028 000B 0028 000B 0028 0027 000D
[11:04:50][I][remote.pronto:233]: 0026 000D 0026 000D 000B 0029 000B 0181
[11:04:50][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='000110000110111000001110'
As you can see the remote.rc_switch data is missing in the V3 data??? Is this expected behaviour?
Is the config correct?
Many thanks
I have tried:
remote_transmitter:
pin:
number: GPIO18
carrier_duty_percent: 100%
remote_receiver:
pin:
number: GPIO8
But that results in :
Remote Receiver:
[10:52:38][C][remote_receiver.esp32:065]: Pin: GPIO8
[10:52:38][C][remote_receiver.esp32:070]: Channel: 1
[10:52:38][C][remote_receiver.esp32:071]: RMT memory blocks: 3
[10:52:38][C][remote_receiver.esp32:072]: Clock divider: 80
[10:52:38][C][remote_receiver.esp32:074]: Tolerance: 25%
[10:52:38][C][remote_receiver.esp32:075]: Filter out pulses shorter than: 50 us
[10:52:38][C][remote_receiver.esp32:076]: Signal is done after 10000 us of no changes
[10:52:38][E][remote_receiver.esp32:079]: Configuring RMT driver failed: ESP_ERR_INVALID_ARG (in rmt_config)
[10:52:38][E][component:082]: Component remote_receiver is marked FAILED
If I change remote_receiver to :remote_receiver:
pin:
number: GPIO8
inverted: true
rmt_channel: 4
The error is gone. However the data received by the RF shown in the logs is different from the data received via a KC868-A16 logs for the same transmitting device (door sensor):
KC868-A16v3 RF Logs:
[11:01:52][I][remote.pronto:231]: Received Pronto: data=
[11:01:52][I][remote.pronto:233]: 0000 006D 0019 0000 000D 0027 000C 0027 000C 0027 0028 000B 0028 000B 000C 0027 000C 0027 000C 0027 000C 0027 0028 000B 0028 000B 000C 0027 0028 000B 0028 000B 0028 000B 000C 0027 000C 0027 000C 0027 000C 0027 000D 0027 0028 000B
[11:01:52][I][remote.pronto:233]: 0028 000B 0028 000B 000C 0027 000C 0181
KC868-A16RF Logs:
[11:04:50][I][remote.pronto:231]: Received Pronto: data=
[11:04:50][I][remote.pronto:233]: 0000 006D 0019 0000 000B 0029 000B 0029 000B 0028 0026 000D 0026 000D 000A 0029 000B 0029 000A 0029 000B 0028 0026 000D 0026 000D 000B 0028 0026 000D 0026 000D 0026 000D 000B 0029 000B 0028 000B 0028 000B 0028 000B 0028 0027 000D
[11:04:50][I][remote.pronto:233]: 0026 000D 0026 000D 000B 0029 000B 0181
[11:04:50][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=1 data='000110000110111000001110'
As you can see the remote.rc_switch data is missing in the V3 data??? Is this expected behaviour?
Is the config correct?
Many thanks

