Very useful thread, thanks. But I need some help please!
I’ve got the IR receiver and transmitter working, each attached to a separate ESP8266, and integrated into Home Assistant. I’ve recorded the IR codes from my Logitech Harmony remote control - itself set up for Dynaudio Xeo 3 active loudspeakers - and can see what look like the right codes coming up.
e.g. Power On
[15:58:27][I][remote.jvc:049]: Received JVC: data=0x00FF
[15:58:27][I][remote.lg:054]: Received LG: data=0x00FF00FF, nbits=32
[15:58:27][I][remote.nec:097]: Received NEC: address=0xFF00, command=0xFF00 command_repeats=1
[15:58:27][I][remote.pioneer:149]: Received Pioneer: rc_code_X=0x0000
plus various lines of pronto codes.
Power Off
[16:18:28][I][remote.jvc:049]: Received JVC: data=0x00FF
[16:18:28][I][remote.lg:054]: Received LG: data=0x00FF28D7, nbits=32
[16:18:28][I][remote.nec:097]: Received NEC: address=0xFF00, command=0xEB14 command_repeats=1
[16:18:28][I][remote.pioneer:149]: Received Pioneer: rc_code_X=0x0014
plus various lines of pronto codes.
This and the others seem to align with the Dynaudio guidance here.
I have put the codes into the ESPHome script for the transmitter and can successfully send the signal to the receiver, where it is decoded correctly. (The range is about 30cm, which is a bit feeble, but as I’m going to tape the transmitter to the loudspeaker IR sensor, I don’t think that will matter.)
button:
- platform: template
name: "On NEC"
on_press:
- remote_transmitter.transmit_nec:
address: 0xFF00
command: 0xFF00
- platform: template
name: "Off NEC"
on_press:
- remote_transmitter.transmit_nec:
address: 0xFF00
command: 0xEB14
- platform: template
name: "On Pioneer"
on_press:
- remote_transmitter.transmit_pioneer:
rc_code_1: 0x0000
- platform: template
name: "Off Pioneer"
on_press:
- remote_transmitter.transmit_pioneer:
rc_code_1: 0x0014
All good so far. The problem is that the loudspeakers fail to respond at all to the signals sent from the IR transmitter, even when they are right together. I’ve been tending to use the NEC codes because the Dynaudio guidance refers to the NEC protocol. However that guidance only gives 2 digit codes, whereas the actual NEC codes are of the form 0x0014 etc. I also see the guidance states that the “Vendor Code” is 00FF. I don’t know what this is so I’ve done nothing with it.
I also noticed, when writing the yaml for the transmitter that the Pioneer syntax required rc_code_1
to make it work but it shows up as rc_code_X
on the receiver logs. It wouldn’t compile unless I used the rc_code_1
Does anyone have any advice on what to do now? As it all seems to be set up to mimic the same codes as the Logitech Harmony remote correctly, I am flummoxed about why it won’t operate the actual speakers.