Request: will any user successfully using ESPhome as a remote IR transmitter please post their yaml

Different AC has different raw code right? So what you have shared here might not be working for Daikin?

Hello again…

The code below I downloaded from this forum, it was uploaded by a member with a Daikin AC unit and I tested it and it works… turns on my AC unit.

code: [414,-494,368,-496,368,-496,370,-494,368,-498,368,-25192,3540,-1678,450,-1282,424,-442,396,-468,424,-440,420,-1284,398,-466,424,-442,422,-442,422,-442,422,-1284,422,-442,424,-1282,424,-1282,422,-444,398,-1308,424,-1282,422,-1284,398,-1308,420,-1284,424,-442,422,-442,422,-1284,424,-440,424,-440,398,-466,424,-442,422,-442,424,-440,400,-464,424,-442,422,-442,424,-442,424,-1282,422,-446,420,-1284,424,-440,424,-442,422,-442,422,-1282,398,-1308,424,-442,424,-440,422,-444,424,-442,422,-442,422,-444,422,-440,400,-464,424,-442,398,-466,424,-442,422,-442,424,-442,420,-444,424,-442,422,-440,424,-1284,424,-1280,424,-1284,424,-440,422,-1284,424,-442,422,-1282,422,-1282,422,-34626,3486,-1758,368,-1340,366,-496,370,-496,368,-496,370,-1336,368,-496,368,-496,370,-496,366,-496,368,-1338,370,-496,366,-1338,366,-1340,368,-496,368,-1338,366,-1338,368,-1336,370,-1338,370,-1336,368,-496,368,-496,370,-1338,368,-496,366,-498,370,-496,368,-496,370,-496,366,-498,368,-496,368,-496,370,-496,368,-496,368,-498,368,-1338,368,-496,368,-498,368,-496,366,-496,370,-1336,368,-496,368,-496,370,-494,368,-496,370,-496,368,-496,368,-496,368,-496,366,-498,370,-496,368,-496,370,-496,366,-496,368,-496,368,-496,370,-496,368,-496,366,-496,370,-496,366,-1338,366,-498,368,-1336,368,-496,368,-1336,370,-496,368,-34680,3534,-1708,370,-1338,416,-448,416,-448,418,-448,366,-1338,418,-446,368,-496,368,-496,368,-496,366,-1340,366,-498,368,-1336,418,-1288,366,-496,418,-1290,416,-1288,416,-1290,368,-1338,418,-1288,418,-448,368,-496,418,-1288,368,-498,416,-452,364,-496,418,-446,366,-498,368,-498,366,-496,370,-496,414,-448,370,-494,368,-496,418,-448,418,-446,368,-496,418,-448,368,-496,368,-496,366,-498,420,-1286,370,-496,366,-498,418,-1286,418,-448,368,-1338,416,-1288,420,-446,416,-450,416,-1246,458,-448,366,-496,418,-1286,370,-1338,418,-446,368,-496,422,-446,366,-496,418,-448,416,-448,370,-496,368,-496,366,-498,418,-446,412,-452,418,-448,366,-498,418,-448,368,-1338,368,-1338,366,-1338,370,-496,416,-448,418,-446,368,-496,416,-448,418,-450,366,-496,420,-448,414,-448,420,-446,418,-446,368,-498,368,-498,366,-496,370,-496,368,-496,370,-496,418,-448,420,-1286,418,-1288,370,-496,366,-498,370,-496,414,-448,418,-448,368,-496,370,-496,368,-496,366,-496,370,-496,366,-1340,414,-1290,370,-496,416,-448,418,-446,368,-496,368,-496,368,-496,368,-496,368,-498,416,-446,418,-448,368,-496,366,-498,416,-448,416,-446,370,-498,366,-502,414,-446,368,-1338,368,-496,368,-498,366,-498,416,-448,416,-448,366,-1340,368,-1336,370,-496,366,-498,418,-448,366,-498,418,-446,418,-446,368,-496,370,-1336,368,-496,418,-446,368,-496,366,-498,368,-498,414,-448,418,-448,366,-500,366,-496,368,-498,366,-1338,368,-498,368,-496,418,-448,368,-1338,366,-1338,366]

The code below is what I captured from my AC remote control via the IR receiver attached to my NodeMCU, but it doesn’t work.

[16:10:53][D][remote.raw:041]: Received Raw: -477, 391, -477, 390, -477, 391, -478, 390, -475, 392, -478
[16:10:53][D][remote.raw:028]: Received Raw: -3515, 1689, -480, 1256, -453, 415, -478, 390, -476, 391, -478, 1257, -477, 392, -477, 389, -464, 403, -479, 389, -477, 1258, -479, 389, -478, 1256, -477, 1258, -452, 416, -454, 1281, -476, 1258, -478, 1257, -479, 1257, -478, 1257, -477, 
[16:10:53][D][remote.raw:028]:   391, -476, 391, -452, 1283, -476, 392, -457, 410, -476, 392, -477, 390, -476, 392, -476, 391, -477, 390, -451, 417, -478, 389, -477, 392, -476, 1257, -452, 417, -477, 1257, -478, 390, -453, 415, -451, 416, -454, 1280, -478, 1258, -477, 390, -477, 392, 
[16:10:53][D][remote.raw:041]:   -475, 391, -477, 391, -478, 1257, -476, 391, -469, 399, -478, 390, -477, 390, -478, 390, -476, 391, -477, 391, -476, 390, -453, 415, -458, 409, -476, 392, -476, 1259, -452, 1283, -477, 1258, -475, 393, -477, 390, -477, 1258, -451, 1284, -477, 1258, -477
[16:10:54][D][remote.raw:028]: Received Raw: -3513, 1691, -477, 1259, -452, 415, -452, 416, -450, 418, -449, 1285, -477, 391, -475, 393, -476, 392, -457, 410, -450, 1284, -475, 393, -450, 1285, -476, 1259, -450, 417, -475, 1260, -475, 1260, -464, 1271, -450, 1285, -475, 1260, -476, 
[16:10:54][D][remote.raw:028]:   393, -449, 418, -450, 1284, -449, 419, -475, 392, -475, 393, -475, 393, -474, 393, -476, 392, -475, 392, -476, 392, -449, 418, -484, 383, -451, 417, -451, 1284, -450, 417, -466, 402, -476, 391, -476, 392, -453, 1281, -475, 393, -451, 1284, -476, 391, 
[16:10:54][D][remote.raw:028]:   -453, 1282, -476, 1260, -475, 393, -474, 393, -475, 1258, -453, 1284, -450, 1285, -474, 1260, -450, 419, -473, 1260, -451, 418, -450, 1284, -449, 420, -449, 418, -451, 416, -476, 392, -474, 1261, -476, 1258, -475, 393, -474, 393, -468, 1267, -476, 393, 
[16:10:54][D][remote.raw:041]:   -449, 
[16:10:54][D][remote.raw:028]: Received Raw: -3513, 1691, -478, 1258, -475, 393, -450, 418, -475, 392, -476, 1259, -474, 394, -450, 417, -450, 417, -477, 391, -450, 1284, -476, 392, -476, 1259, -474, 1261, -476, 393, -475, 1258, -477, 1258, -474, 1261, -476, 1259, -476, 1259, -476, 
[16:10:54][D][remote.raw:028]:   392, -450, 418, -476, 1258, -476, 392, -471, 397, -475, 392, -452, 416, -475, 393, -475, 392, -450, 417, -476, 391, -461, 407, -476, 392, -454, 413, -451, 417, -476, 391, -475, 393, -476, 393, -450, 416, -450, 418, -474, 392, -450, 1285, -477, 395, 
[16:10:54][D][remote.raw:028]:   -446, 417, -452, 1283, -476, 1258, -451, 1285, -476, 391, -475, 394, -451, 416, -476, 391, -451, 417, -477, 390, -459, 1276, -475, 1260, -451, 417, -476, 391, -452, 416, -476, 391, -450, 417, -451, 418, -474, 393, -476, 391, -450, 418, -476, 391, -468, 
[16:10:54][D][remote.raw:028]:   399, -477, 391, -476, 392, -451, 416, -476, 392, -477, 1257, -475, 393, -452, 1283, -477, 390, -475, 393, -476, 392, -475, 393, -474, 393, -475, 393, -474, 393, -450, 417, -475, 392, -476, 392, -475, 393, -475, 392, -476, 391, -450, 418, -477, 390, 
[16:10:54][D][remote.raw:028]:   -478, 390, -476, 391, -477, 1258, -475, 1260, -476, 392, -476, 391, -475, 393, -475, 392, -476, 392, -455, 412, -477, 391, -474, 393, -450, 418, -476, 391, -476, 1259, -475, 1260, -475, 393, -475, 392, -476, 392, -475, 392, -476, 392, -451, 416, -476, 
[16:10:54][D][remote.raw:028]:   391, -475, 393, -476, 391, -476, 392, -450, 418, -450, 417, -476, 392, -476, 391, -476, 392, -450, 417, -475, 393, -474, 1260, -475, 393, -474, 1260, -475, 393, -449, 419, -450, 417, -475, 1260, -477, 1258, -476, 392, -450, 417, -475, 393, -451, 416, 
[16:10:54][D][remote.raw:041]:   -451, 417, -449, 419, -449, 418, -475, 392, -475, 393, -449, 418, -475, 393, -450, 1285, -474, 392, -453, 416, -475, 392, -450, 418, -476, 391, -450, 1284, -475, 1260, -476, 1259, -476, 393, -450, 417, -474, 1260, -451, 418, -449

So… I have the code that turns on my AC, but I dont have the code to turn it off. That is why I am using the IR receiver to try and capture the IR codes to turn it off.

I’ve tried different buffer sizes on my NodeMCU and it doesn’t work, so I also tried an ESP32, and that doesn’t appear to work either.

Thanks, Mark

Thanks for the codes Richard, the yaml will come in handy for sure. Each AC unit uses different IR codes, so not sure your codes will work for my Daikin unit, but I guess I could try?

Could you check this:

4950,-2150,300,-1800,350,-700,300,-700,350,-700,350,-1750,350,-700,350,-700,300,-750,300,-700,350,-1800,300,-700,350,-1750,350,-1800,350,-700,300,-1800,300,-1800,350,-1750,350,-1750,350,-1750,350,-700,350,-700,300,-1800,350,-700,300,-750,300,-750,300,-700,350,-700,350,-700,300,-1800,350,-1750,350,-1750,350,-1800,350,-1750,350,-700,300,-1800,300,-1800,350,-700,300,-700,350,-700,350,-700,300,-750,300,-750,300,-700,350,-700,350,-700,300,-750,300,-750,300,-700,350,-1750,350,-1800,350,-1750,350,-1750,350,-700,300,-750,300,-700,350,-700,350

Yes, my code will not work for your AC.
You could try “inverted” and/or “mode” and see if the first burst gives a positive number when receiving your RAW code.

remote_receiver:
  pin:
    number: D5
    inverted: true
    mode: INPUT_PULLUP
  dump: all

Hi Richard,

So here’s my config…

remote_receiver:
  pin:
    number: D5
    inverted: true
    mode: INPUT_PULLUP
  dump: all

And here’s the codes I receive…

[14:35:48][D][remote.raw:041]: Received Raw: 522, -346, 497, -371, 495, -373, 496, -371, 496, -372, 496
[14:35:48][D][remote.panasonic:068]: Received Panasonic: address=0x885B, command=0xE400A308
[14:35:49][D][remote.panasonic:068]: Received Panasonic: address=0x885B, command=0xE40042B6
[14:35:49][D][remote.panasonic:068]: Received Panasonic: address=0x885B, command=0xE400009C

No idea why it is saying panasonic when the AC unit is a Daikin? The above codes are very different to what I receive when I turn off inverted? See below…

[14:40:26][D][remote.raw:041]: Received Raw: -505, 364, -504, 364, -504, 363, -504, 364, -505, 362, -503
[14:40:26][D][remote.raw:028]: Received Raw: -3512, 1692, -505, 1230, -506, 364, -504, 363, -504, 364, -503, 1230, -505, 364, -504, 363, -505, 363, -504, 363, -504, 1230, -505, 364, -503, 1231, -505, 1229, -505, 365, -502, 1231, -505, 1230, -505, 1230, -506, 1229, -506, 1229, -504, 
[14:40:26][D][remote.raw:028]:   365, -505, 363, -505, 1228, -505, 365, -504, 363, -504, 364, -503, 363, -504, 364, -504, 364, -505, 362, -504, 364, -504, 363, -504, 364, -504, 1229, -504, 365, -503, 1231, -504, 365, -504, 363, -505, 363, -505, 1228, -506, 1231, -503, 364, -506, 362, 
[14:40:26][D][remote.raw:041]:   -504, 364, -487, 381, -504, 1229, -505, 363, -502, 367, -503, 363, -492, 377, -503, 363, -504, 364, -504, 364, -504, 364, -504, 362, -505, 363, -480, 388, -504, 1229, -505, 1230, -506, 1229, -506, 363, -505, 363, -503, 1230, -506, 1229, -505, 1230, -505
[14:40:26][D][remote.raw:028]: Received Raw: -3514, 1690, -506, 1230, -505, 364, -503, 365, -485, 383, -504, 1229, -506, 364, -503, 364, -502, 365, -504, 364, -505, 1228, -506, 363, -503, 1231, -504, 1231, -505, 363, -505, 1229, -505, 1230, -505, 1230, -506, 1229, -506, 1229, -506, 
[14:40:26][D][remote.raw:028]:   363, -503, 365, -480, 1253, -505, 364, -505, 363, -504, 364, -503, 364, -505, 362, -505, 363, -504, 364, -504, 363, -504, 364, -504, 364, -503, 363, -504, 1230, -507, 363, -504, 363, -496, 371, -504, 364, -504, 1229, -506, 363, -505, 363, -503, 1230, 
[14:40:26][D][remote.raw:028]:   -505, 364, -503, 365, -504, 1229, -506, 1229, -506, 1229, -506, 363, -505, 1228, -506, 1230, -506, 364, -503, 1229, -506, 1231, -503, 1230, -504, 365, -503, 365, -504, 1229, -505, 364, -504, 364, -503, 364, -504, 364, -504, 364, -503, 364, -504, 364, 
[14:40:26][D][remote.raw:041]:   -504, 
[14:40:27][D][remote.raw:028]: Received Raw: -3513, 1691, -504, 1232, -505, 364, -505, 362, -505, 363, -505, 1229, -504, 365, -504, 363, -504, 363, -505, 363, -505, 1228, -507, 363, -503, 1230, -507, 1229, -505, 364, -503, 1230, -504, 1231, -506, 1229, -506, 1229, -505, 1230, -505, 
[14:40:27][D][remote.raw:028]:   364, -504, 364, -504, 1229, -505, 364, -504, 364, -503, 364, -504, 363, -506, 363, -503, 363, -504, 364, -501, 367, -502, 364, -504, 365, -503, 364, -502, 366, -504, 363, -505, 363, -504, 363, -504, 364, -504, 364, -493, 373, -504, 1230, -505, 364, 
[14:40:27][D][remote.raw:028]:   -504, 363, -483, 1251, -505, 1230, -505, 1232, -504, 363, -504, 364, -504, 364, -504, 363, -503, 364, -503, 365, -503, 1230, -506, 1229, -505, 363, -506, 363, -503, 364, -503, 365, -504, 363, -503, 365, -504, 363, -505, 363, -504, 363, -504, 364, -504, 
[14:40:27][D][remote.raw:028]:   363, -504, 364, -504, 364, -502, 365, -503, 364, -504, 1230, -505, 364, -503, 1230, -506, 363, -504, 365, -480, 386, -504, 364, -505, 363, -503, 364, -504, 363, -503, 365, -504, 364, -504, 363, -484, 383, -497, 371, -503, 364, -481, 387, -504, 364, 
[14:40:27][D][remote.raw:028]:   -504, 363, -503, 364, -504, 1229, -506, 1230, -506, 363, -504, 364, -504, 363, -504, 363, -504, 364, -503, 365, -479, 388, -504, 363, -504, 364, -504, 363, -504, 1230, -506, 1229, -505, 364, -503, 365, -504, 363, -505, 363, -504, 363, -503, 365, -504, 
[14:40:27][D][remote.raw:028]:   363, -504, 364, -490, 377, -504, 363, -504, 363, -505, 364, -504, 363, -504, 364, -504, 363, -504, 364, -480, 387, -504, 1230, -506, 363, -504, 1229, -506, 363, -503, 365, -504, 363, -504, 1230, -505, 1229, -506, 364, -504, 363, -504, 364, -486, 382, 
[14:40:27][D][remote.raw:041]:   -503, 364, -504, 363, -494, 374, -504, 363, -505, 363, -486, 382, -503, 364, -504, 1229, -507, 362, -505, 364, -502, 365, -503, 364, -504, 364, -505, 1228, -505, 1230, -504, 1230, -507, 363, -502, 365, -505, 1229, -505, 364, -504

Not sure what is going on here… but I at least it gave me a laugh :laughing:

Update… tried the same code on an ESP32…

remote_receiver:
  pin:
    number: GPIO16
    inverted: true
    mode: INPUT_PULLUP
  dump: all

And here’s what I received…

[14:51:39][D][remote.raw:041]: Received Raw: 475, -447, 394, -476, 391, -477, 389, -478, 389, -479, 422, -624
[14:51:39][D][remote.raw:028]: Received Raw: 3536, -1671, 408, -1328, 408, -512, 426, -445, 353, -515, 352, -1327, 408, -512, 394, -475, 390, -478, 387, -481, 395, -1285, 409, -512, 395, -1286, 442, -1293, 410, -512, 395, -1287, 409, -1325, 447, -1288, 408, -1327, 409, -1326, 443, 
[14:51:39][D][remote.raw:028]:   -426, 445, -476, 392, -1288, 444, -479, 394, -473, 426, -443, 427, -441, 427, -440, 433, -435, 391, -476, 423, -446, 353, -512, 410, -459, 388, -1291, 408, -460, 442, -1293, 408, -460, 482, -443, 387, -478, 392, -1287, 409, -1326, 417, -505, 393, -476, 
[14:51:39][D][remote.raw:041]:   391, -478, 421, -446, 392, -1287, 409, -511, 425, -446, 391, -475, 436, -435, 389, -476, 393, -475, 388, -479, 394, -473, 391, -477, 392, -475, 395, -473, 391, -1288, 409, -1327, 445, -1290, 441, -480, 425, -445, 427, -1252, 409, -1326, 408, -1327, 3294
[14:51:39][D][remote.raw:028]: Received Raw: 3534, -1671, 481, -1255, 409, -511, 431, -440, 392, -475, 388, -1291, 410, -511, 357, -513, 390, -478, 353, -514, 424, -1256, 444, -478, 393, -1288, 408, -1326, 409, -460, 474, -1260, 409, -1326, 409, -1327, 408, -1326, 408, -1328, 408, 
[14:51:40][D][remote.raw:028]:   -513, 425, -445, 423, -1256, 445, -475, 433, -438, 426, -442, 391, -476, 393, -475, 353, -513, 391, -478, 390, -476, 401, -468, 389, -478, 423, -445, 428, -1251, 407, -513, 395, -477, 393, -474, 388, -479, 390, -1289, 409, -459, 449, -1285, 408, -514, 
[14:51:40][D][remote.raw:028]:   396, -1285, 444, -1291, 408, -1327, 408, -1328, 407, -1327, 409, -459, 448, -1287, 409, -1326, 410, -512, 396, -1285, 478, -1257, 445, -1290, 409, -513, 422, -447, 423, -447, 390, -476, 431, -1247, 443, -1292, 407, -514, 395, -476, 432, -436, 353, 
[14:51:40][D][remote.raw:041]:   -514, 5218
[14:51:40][D][remote.raw:028]: Received Raw: 3447, -1759, 478, -1258, 408, -460, 477, -447, 390, -478, 418, -1260, 409, -513, 394, -477, 387, -478, 398, -470, 426, -1253, 409, -513, 393, -1287, 408, -1327, 444, -478, 390, -1291, 409, -1327, 479, -1255, 447, -1289, 409, -1326, 408, 
[14:51:40][D][remote.raw:028]:   -513, 408, -464, 391, -1286, 408, -513, 423, -447, 429, -440, 433, -435, 391, -474, 392, -477, 393, -475, 422, -445, 353, -515, 387, -480, 392, -477, 351, -514, 435, -434, 422, -448, 410, -456, 420, -447, 425, -443, 420, -446, 423, -1255, 409, -513, 
[14:51:40][D][remote.raw:028]:   432, -437, 427, -1253, 449, -1286, 445, -1290, 447, -421, 489, -379, 484, -442, 422, -445, 389, -477, 424, -444, 426, -1251, 448, -1287, 408, -460, 480, -446, 387, -479, 392, -475, 439, -430, 390, -477, 432, -436, 393, -475, 421, -446, 392, -418, 479, 
[14:51:40][D][remote.raw:028]:   -447, 386, -480, 388, -478, 440, -431, 420, -447, 392, -1284, 477, -391, 496, -1239, 408, -459, 451, -475, 392, -419, 487, -439, 390, -419, 450, -417, 488, -438, 419, -391, 449, -474, 433, -378, 482, -445, 391, -417, 493, -434, 392, -416, 484, -384, 
[14:51:40][D][remote.raw:028]:   449, -419, 493, -433, 424, -1251, 478, -1257, 480, -388, 489, -379, 494, -433, 433, -435, 390, -418, 480, -388, 494, -373, 494, -403, 463, -375, 484, -384, 492, -1241, 488, -1248, 486, -382, 497, -371, 491, -377, 491, -377, 491, -375, 496, -373, 481, 
[14:51:40][D][remote.raw:028]:   -386, 497, -371, 495, -372, 489, -408, 467, -400, 464, -404, 465, -374, 497, -370, 494, -402, 469, -399, 468, -371, 495, -1238, 484, -384, 499, -1235, 496, -372, 499, -369, 493, -376, 497, -1236, 489, -1246, 498, -371, 498, -399, 469, -399, 469, -399, 
[14:51:40][D][remote.raw:041]:   468, -369, 498, -399, 468, -400, 468, -370, 498, -399, 469, -369, 498, -399, 468, -1235, 500, -369, 499, -369, 499, -370, 497, -398, 470, -369, 499, -1234, 497, -1238, 495, -1240, 499, -370, 499, -369, 499, -1234, 499, -371, 498

Interesting… and heading in the right direction.

In this context Panasonic is a class of IR protocols not an IR product per se and Daikin AC could, in fact, be using Panasonic IR protocol (or it might be just an incorrect decoding).

Have you tried the code I posted? It is from a Daikin AC unit however there are multiple versions of protocols even for Daikin thus it might not work.

I still say setting it up as climate would spare a lot of headaches :slight_smile:

Hi Petrica, yes tried the code you posted and it didn’t work. You make a compelling argument for going with the climate… it’s a shame as I really would have liked the raw codes. Oh well :slight_smile:

What are you using for a receiver? Is it turned on the correct carrier frequency?

Hi Richard, here’s the spec sheet for the receiver module.

https://www.jaycar.com.au/medias/sys_master/images/images/9555201490974/XC4427-dataSheetMain.pdf

It states the Carrier Frequency is 38KHz.

Thanks, Mark

Ended up trialing the code below and it works fine, so looks like I will go with this for now.

climate:
  - platform: daikin
    name: "Aircon Studio"
    id: climate_id
    supports_heat: false
    transmitter_id: ir_trans

binary_sensor:
  - platform: gpio
    pin:
      number: D1
      mode: INPUT_PULLUP
      inverted: True
    name: "IR Transmitter"
    on_press:
      - climate.control:
          id: climate_id
          mode: 'cool'
    on_release:
      - climate.control:
          id: climate_id
          mode: 'off'

Manual switch for now, and will automate it later.

Another reason for the component instead of raw would be that, if you still have a hardware remote to control the AC, then in HA you would have the updated state :slight_smile:

Take a look at mqtt hvac.

what a breath… i was seriously looking and doing lot of trail and errors… finally this worked.

a Ton thanks Man

I just compiled all my knowledge about transmitting IR signals from ESPHome into a guide. Also includes a short discussion why you should avoid to send raw data (if possible).

3 Likes

I was wondering if this thread you could help me out. I have a similar problem trying to emulate an Xfinity XR15 remote. I will state that on the ESP8266 I was using pin 4 and was not inverting it to get the codes, so would I have done that correct here?

remote_receiver:
  pin: D4
#  dump: all
  dump: raw

Here is what the receiver read prior to converting data to raw, it was all in pronto format:

[11:55:59][D][remote.pronto:229]: Received Pronto: data=0000 006D 0009 0000 0007 0023 0007 0044 0006 001E 0006 006E 0006 0033 0006 0034 0006 002E 0006 0068 0006 06C3
[11:55:59][D][remote.pronto:229]: Received Pronto: data=0000 006D 0009 0000 0006 0023 0006 0064 0006 001E 0006 001F 0006 0029 0006 001F 0006 001E 0006 001F 0006 06C3
[11:55:59][D][remote.pronto:229]: Received Pronto: data=0000 006D 0009 0000 0006 0024 0006 0043 0006 001F 0006 006D 0006 0034 0006 0033 0006 002E 0007 0068 0006 06C3
[11:55:59][D][remote.pronto:229]: Received Pronto: data=0000 006D 0009 0000 0006 0024 0006 0039 0006 0048 0006 001F 0006 0029 0006 001E 0006 001F 0006 001F 0006 06C3

Here it is in raw format prior to trying to invert it, as you can see I have 2 negative numbers side by side that ESPhome does not like.

[12:30:21][D][remote.raw:041]: Received Raw: -147, 959, -145, 1770, -168, 803, -145, 2874, -144, 1353, -143, 1379, -145, 1220, -145, 2715, -145
[12:30:21][D][remote.raw:041]: Received Raw: -147, 957, -147, 2611, -141, 803, -142, 828, -145, 1089, -144, 828, -143, 800, -145, 827, -145
[12:30:21][D][remote.raw:041]: Received Raw: -147, 958, -145, 1771, -145, 830, -140, 2849, -143, 1379, -144, 1352, -144, 1220, -146, 2743, -144
[12:30:21][D][remote.raw:041]: Received Raw: -144, 956, -146, 1483, -167, 1905, -146, 802, -146, 1086, -145, 826, -145, 827, -144, 801, -167

I have tried inputting an integer in there and playing around with it to no success. Here are my attempts below. Any suggestions?

button:
  - platform: template
    name: "cable_menu_2"
    on_press:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 959, -145, 1770, -168, 803, -145, 2874, -144, 1353, -143, 1379, -145, 1220, -145, 2715, -145 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 957, -147, 2611, -141, 803, -142, 828, -145, 1089, -144, 828, -143, 800, -145, 827, -145 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 958, -145, 1771, -145, 830, -140, 2849, -143, 1379, -144, 1352, -144, 1220, -146, 2743, -144 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -144, 956, -146, 1483, -167, 1905, -146, 802, -146, 1086, -145, 826, -145, 827, -144, 801, -167 ]

switch:
  - platform: gpio
    name: "${esphome_name}-Onboard-LED"
    pin: 0
    inverted: True
  - platform: restart
    name: ${esphome_name}-restart
    id: restart_switch
#buttonsrow1
  - platform: template
    name: "cable_menu_pronto"
    id: cable_menu_pronto
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          data: "0000 006D 0009 0000 0007 0023 0007 0044 0006 001E 0006 006E 0006 0033 0006 0034 0006 002E 0006 0068 0006 06C3 0000 006D 0009 0000 0006 0023 0006 0064 0006 001E 0006 001F 0006 0029 0006 001F 0006 001E 0006 001F 0006 06C3 0000 006D 0009 0000 0006 0024 0006 0043 0006 001F 0006 006D 0006 0034 0006 0033 0006 002E 0007 0068 0006 06C3 0000 006D 0009 0000 0006 0024 0006 0039 0006 0048 0006 001F 0006 0029 0006 001E 0006 001F 0006 001F 0006 06C3"
  - platform: template
    name: "cable_menu_split"
    id: cable_menu_split
    turn_on_action:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 959, -145, 1770, -168, 803, -145, 2874, -144, 1353, -143, 1379, -145, 1220, -145, 2715, -145 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 957, -147, 2611, -141, 803, -142, 828, -145, 1089, -144, 828, -143, 800, -145, 827, -145 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 958, -145, 1771, -145, 830, -140, 2849, -143, 1379, -144, 1352, -144, 1220, -146, 2743, -144 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -144, 956, -146, 1483, -167, 1905, -146, 802, -146, 1086, -145, 826, -145, 827, -144, 801, -167 ]
  - platform: template
    name: "cable_menu_zero"
    id: cable_menu_zero
    turn_on_action:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 959, -145, 1770, -168, 803, -145, 2874, -144, 1353, -143, 1379, -145, 1220, -145, 2715, -145, 0,
                  -147, 957, -147, 2611, -141, 803, -142, 828, -145, 1089, -144, 828, -143, 800, -145, 827, -145 , 0,
                  -147, 958, -145, 1771, -145, 830, -140, 2849, -143, 1379, -144, 1352, -144, 1220, -146, 2743, -144, 0,
                  -144, 956, -146, 1483, -167, 1905, -146, 802, -146, 1086, -145, 826, -145, 827, -144, 801, -167 ]
          repeat:
            times: 2
  - platform: template
    name: "cable_menu_1000"
    id: cable_menu_1000
    turn_on_action:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [ -147, 959, -145, 1770, -168, 803, -145, 2874, -144, 1353, -143, 1379, -145, 1220, -145, 2715, -145, 1000,
                  -147, 957, -147, 2611, -141, 803, -142, 828, -145, 1089, -144, 828, -143, 800, -145, 827, -145 , 1000,
                  -147, 958, -145, 1771, -145, 830, -140, 2849, -143, 1379, -144, 1352, -144, 1220, -146, 2743, -144, 1000,
                  -144, 956, -146, 1483, -167, 1905, -146, 802, -146, 1086, -145, 826, -145, 827, -144, 801, -167 ]
          repeat:
            times: 2        

By using this thread I was able to update my remote receiver and at least figured that piece out. This is what I did below for the remote receiver in esphome.

remote_receiver:
  pin:
    number: D5
    inverted: True
    mode: INPUT_PULLUP
#  dump: all
  dump: raw

When I do that the receiver gets this message in esphome, notice there is no more negate beginning values for the remote signals. Which makes me feel I am reading it correctly now. Here is that log.

[14:33:59][D][remote.raw:041]: Received Raw: 169, -938, 167, -1762, 166, -802, 197, -2827, 197, -1320, 198, -1319, 198, -1182, 197, -2690, 197
[14:33:59][D][remote.raw:041]: Received Raw: 198, -908, 200, -1044, 198, -771, 197, -772, 195, -772, 197, -2554, 197, -772, 167, -802, 197
[14:33:59][D][remote.raw:041]: Received Raw: 198, -908, 197, -1731, 198, -771, 197, -2825, 168, -1349, 199, -1320, 196, -1184, 167, -2720, 196
[14:33:59][D][remote.raw:041]: Received Raw: 199, -908, 198, -2141, 198, -1866, 197, -773, 197, -772, 197, -2554, 195, -773, 195, -774, 196

Here is where the issue is again, notice that there is 2 + numbers together so I am unable to concatenate this into one signal. Breaking it up into 4 signals I have done this.

  - platform: template
    name: "cable_channel_up"
    id: cable_channel_up
    turn_on_action:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [  169, -938, 167, -1762, 166, -802, 197, -2827, 197, -1320, 198, -1319, 198, -1182, 197, -2690, 197 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [  198, -908, 200, -1044, 198, -771, 197, -772, 195, -772, 197, -2554, 197, -772, 167, -802, 197 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [  198, -908, 197, -1731, 198, -771, 197, -2825, 168, -1349, 199, -1320, 196, -1184, 167, -2720, 196 ]
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [  199, -908, 198, -2141, 198, -1866, 197, -773, 197, -772, 197, -2554, 195, -773, 195, -774, 196 ]

It isn’t working on the box and when I check the receiving code, it isn’t 100% matching. Here it is:

[14:46:34][D][remote.raw:028]: Received Raw: 165, -1762, 61, -910, 163, -2860, 161, -1355, 163, -1354, 162, -1219, 93, -2795, 164, -755, 80, -1014, 97, -1144, 107, -1778, 103, -866, 129, -2620, 166, -802, 95, -876, 165, -2875, 75, -958, 162, -1765, 162, -834, 99, -2897, 95, -1422, 
[14:46:34][D][remote.raw:041]:   167, -1351, 164, -1215, 61, -2827, 163, -3401, 164, -2175, 194, -1868, 165, -807, 191, -777, 162, -3559, 95, -872, 197

Any ideas???

Can you share a wiring diagram? I am using a similar hookup with an ESP32

Have you checked with a phone camera that the output is occurring?

Have you tried a different remote and device, say a TV for testing purposes.?

Those codes seem short to me, but perhaps that’s the protocol.