Trying to generate working config for air conditioner remote

Sahbi via LIRC-list <[email protected]> Sat, 20 Jul 2024 22:25:00 +0200
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
I'm trying to use irrecord (with -f option) to generate a config file, 
which has always worked fine but seems to have some troubles with this 
particular remote. The exact model of the AC is Eurom PAC 29R. Unlike 
many other AC remotes this one does not seem to include its own state 
(e.g. current temperature setting). It has no little display on it to 
show any current settings, so if people can't even see any state then 
it's probably safe to assume there is no state. I'm guessing because the 
unit has physical controls as well, so communicating changes from that 
end to the remote would be overly complex (and unreliable, if the remote 
is out of "sight").

Anyway, I'm using the "default" driver and I think the problem is 
related to errors I get during recording:

 > Something went wrong: Signal length is 0
 > That's weird because the signal length must be odd!

The signal length varies a lot too:
 > Something went wrong: Signal length is 192
 > Something went wrong: Signal length is 180
 > Something went wrong: Signal length is 172
 > Something went wrong: Signal length is 176
 > Something went wrong: Signal length is 138
 > Something went wrong: Signal length is 86

If I keep holding down the button long enough it will eventually 
succeed, but I think it's pretty much guaranteed to be garbage at this 
point anyway? Note that releasing the button once the error pops up and 
holding it down "fresh" will cause it to keep throwing errors, unless of 
course the next attempt proceeds too fast for me to even register the 
error. It doesn't seem to matter if I hold the remote right in front of 
the receiver or about 30-50 cm away, sending codes from the resulting 
config will always be ignored by the unit (but the IR LED does light 
up). I've verified that sending other IR codes at least works correctly; 
I have other configs and sending any code makes the relevant device 
respond immediately. I even tried the devinput driver (and without -f) 
but that just generates the code 0x0 for any and all buttons.

I'm running all this off a Raspberry Pi by the way.

~Sahbi