Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A32 PRO RF433
#1
Hi, I've got recently an  RF433 Receiver module and the relevant RF Wireless Remote and I want to use them with A32 Pro and espHome.
First I inserted in the esphome configuration file these settings:
Code:
remote_receiver:
  pin:
    number: GPIO38
    inverted: true
    mode:
      input: true
      pullup: true
  dump: all
  tolerance: 50%
  filter: 250us
  idle: 4ms

logger:
  level: DEBUG
taking them from here and here and uploaded it on a32pro.

Then I inserted the RF433 receiver module on A32pro and restarted it.

Pressing the buttons on the RF Remote the logger does not show the expected (raw) codes.

What am I missing? Am I wrong with this settings? 

Thanassis
Reply
#2
remote_receiver:
pin: 48
rmt_channel: 4
dump: all

--------------------
make sure added rmt_channel: 4
this is ESP32-S3
Reply
#3
(08-17-2024, 01:49 AM)admin Wrote: remote_receiver:
  pin: 48
  rmt_channel: 4 
  dump: all

--------------------
make sure added    rmt_channel: 4
this is ESP32-S3

Thank you..., BUT the pin should be 38 as stated here (last line)
the rmt_channel made the difference ! 

Now I'm gonna write some actions for the received code(s). Any guidance on this will be much appreciated..!
Reply
#4
Hi,

When I press a button on the remote control, a burst of data is shown in the logger:

Code:
12:57:09    [I]    [remote.raw:028]    
Received Raw: -575, 1186, -530, 1230, -501, 1257, -479, 1271, -474, 1284, -1328, 443, -434, 1312, -1314, 451, -426, 1318, -1311, 459, -417, 1335, -1295, 472, -398, 1351, -1289, 465, -412, 1327, -1305, 466, -1290, 480, -1283, 473, -406, 1340, -414, 1334,
12:57:09    [I]    [remote.raw:041]    
  -1301, 463, -1296, 481, -1277, 483, -1280, 480, -400
12:57:09    [I]    [remote.raw:028]    
Received Raw: -583, 1178, -541, 1221, -502, 1259, -479, 1277, -464, 1289, -1332, 436, -440, 1313, -1313, 452, -426, 1321, -1309, 456, -420, 1327, -1305, 459, -419, 1334, -1298, 467, -412, 1332, -1300, 466, -1294, 468, -1292, 475, -404, 1352, -400, 1347,
12:57:09    [I]    [remote.raw:041]    
  -1290, 469, -1294, 472, -1289, 474, -1287, 480, -397
12:57:09    [I]    [remote.raw:028]    
Received Raw: -573, 1190, -528, 1231, -505, 1253, -488, 1272, -465, 1291, -1332, 438, -436, 1312, -1317, 450, -426, 1320, -1310, 462, -415, 1333, -1302, 462, -415, 1329, -1305, 459, -418, 1338, -1296, 467, -1293, 472, -1289, 476, -402, 1342, -418, 1329,
12:57:09    [I]    [remote.raw:041]    
  -1299, 483, -1282, 478, -1290
12:57:12    [I]    [remote.raw:028]    
Received Raw: -100, 1744, -69, 488, -110, 2420, -279, 377, -219, 4345, -106, 2566, -72, 4873, -348, 137, -258, 1868, -171, 103, -833, 1103, -242, 4393, -106, 1501, -60, 1132, -742, 224, -213, 123, -152, 155, -90, 192, -607, 576, -119, 202, -388, 515,
12:57:12    [I]    [remote.raw:028]    
  -247, 301, -242, 1216, -205, 283, -622, 216, -216, 600, -312, 793, -190, 188, -130, 306, -164, 337, -227, 222, -101, 203, -78, 554, -548, 179, -401, 655, -186, 572, -620, 586, -700, 1260, -327, 503, -277, 218, -406, 529, -633, 480, -264, 399, -279,
12:57:12    [I]    [remote.raw:028]    
  267, -62, 248, -319, 149, -109, 329, -99, 268, -458, 139, -552, 264, -369, 85, -627, 404, -171, 156, -58, 921, -79, 121, -809, 254, -496, 212, -213, 122, -440, 229, -214, 96, -941, 516, -169, 182, -854, 367, -451, 119, -51, 381, -168, 136, -107, 274,
12:57:12    [I]    [remote.raw:028]    
  -132, 157, -560, 211, -4024, 90, -227, 267, -83, 146, -279, 102, -256, 139, -519, 160, -166, 203, -311, 601, -220, 293, -739, 403, -1731, 108, -585, 832, -259, 281, -414, 56, -181, 861, -1097, 87, -188, 104, -523, 257, -189, 128, -253, 238, -922, 134,
12:57:12    [I]    [remote.raw:028]    
  -576, 477, -117, 148, -772, 173, -793, 63, -1316, 87, -731, 360, -628, 96, -278, 62, -584, 107, -351, 223, -516, 107, -340, 141, -1028, 139, -1286, 167, -848, 52, -472, 102, -588, 85, -1269, 105, -80, 149, -170, 242, -561, 99, -902, 55, -327, 127,
12:57:12    [I]    [remote.raw:028]    
  -205, 119, -746, 110, -1196, 106, -1744, 52, -573, 115, -2030, 130, -859, 72, -390, 81, -454, 126, -578, 144, -509, 78, -371, 513, -315, 220, -125, 71, -1490, 103, -73, 102, -454, 85, -521, 344, -674, 99, -233, 369, -93, 114, -531, 175, -265, 189,
12:57:12    [I]    [remote.raw:028]    
  -501, 141, -249, 98, -355, 196, -194, 330, -208, 163, -194, 118, -158, 86, -269, 365, -201, 150, -144, 114, -444, 177, -648, 131, -514, 73, -114, 222, -139, 174, -252, 66, -587, 103, -651, 198, -473, 294, -99, 133, -136, 76, -81, 194, -105, 687, -557,
12:57:12    [I]    [remote.raw:041]    
  336, -455, 79, -412, 360, -197, 1029, -133, 996, -125, 603, -93, 98, -117, 459, -195, 51, -805, 118, -201, 111, -595, 197, -79, 353, -99, 59, -381, 219, -155, 92, -307, 55, -345, 135, -149, 52, -1978, 55, -606, 451, -88, 384

Pressing the same button again tI don't get the same data. How should I filter this flood of data? What is the unique piece of data relevant to each button? 

Any help?

Thanks
Thanassis
Reply
#5
suggest you can test with RC-SWITCH type.
Reply


Forum Jump:


Users browsing this thread: