I have a small problem that maybe someone out there can help with.
I’m not sure whether I should be on an ESP32 forum but I’ll give it a go here as maybe another Volumio user has had the same scenario.
My HiFi is controlled by a number of ESP32s and a remote control.
I used an ESP32 sketch to ‘grab’ the codes from the remote, included those codes into my HiFi control ESPs and everything is fine.
I also use the remote directly with Volumio.
I ‘grabbed’ the necessary codes with the lirc irrecord function which produced the appropriate lircd.conf file. Again all is good. (These codes differ from the ones produced by the ESP. - same button, different code).
I would now like to use an ESP32 to produce and send an ir signal.
This signal works (with the ESP generated codes) on my ESPs but I can’t seem to produce the correct codes that lirc on the pi (Volumio) is expecting.
I realise that I might not be explaining this that well! Maybe someone who has done this before will recognise the problem.
So basically, to recap…
ESP generated codes work with ESP sketches.
lirc generated codes work with lirc (Volumio)
ESP generated codes ‘sent’ from ESP work in ESP sketches
lirc generated codes ‘sent’ from ESP to lirc (Volumio) do not work.
An example code.
Button 2 on ESP produces code 0x0D10
Same button lirc produces code 0x1502