By using this thread Request: will any user successfully using ESPhome as a remote IR transmitter please post their yaml 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???