Hi!
I am acquiring the IR codes a CD player remote. I am using a device that uses a ts1201 quirk and it works just fine.
The codes are encoded as base64 strings, that is fine as this is what needs to put in the script to issue the command.
However I was wondering if one could leverage better the existing databases of IR codes. For instance this remote is supported in the LIRC database
https://lirc.sourceforge.net/remotes/pioneer/CU-PD096
hence I got curious how I should translate the info on LIRC on base64
Some example base64 I acquired
POWER
BXQhwRAVAkABA0gGFQLgAwHAD0AHQANAAUAHwANAAUAL4AMBQA/AA+ADAeATE2AbAJbg/YfghIcCBhUC
PLAY
BXYhyRASAkABA04GEgLgAwHAD0AHQANAAUAHwANAAUALQAFAB8ADQAFAC+APAcAbQAfAAwFEluD9h+CEhwIGEgI=
PAUSE
EpIhmhAJAgkCQQIpBgkCCQJBAglgAQFBAsAPQAdAAwEJAsALgAdAAUALAAlgAUAHgAMCKQYJIAMCQQIJYAFABwRBAikGCeAAAwMJAkECQAPgAxMBLZbgK4cBCQJAA0ABBCkGQQIJYAHgAQcCKQYJIAMDQQIJAsADAQkCQA/AAwEJAkADAQkCwA9AB4CHBUECCQJBAkAPQAcACWABAUECwA9ABwUpBgkCCQJAB0ADBgkCKQZBAgkgAQUpBgkCCQJAC0ADQAEBQQJAE0ADAwkCQQKAAwQJAikGQeAAAwEJAkADAQkC4AMT4A2HAUECQAMFKQYJAgkCQAeAA+ABCwEJAkADQAGAB4AbAAlgAQNBAikGQAMFCQIJAkECgAMBCQJADwIpBkFgAwEJAkADDQkCKQYJAikGQQIpBkEC
NEXT
BYkhsBAYAkABBTMGwAEYAuABAQMzBhgCQAFAB0ADQAFAB8ADQAFAC+ALAYAXAlICGKABQA/gAwNAAeADDwE0luADhwMYAhgC4AU7QAFAF0ADQAFAB8ADQAFAC+AJAQFSAuAHF0AP4AMDQAHgAw/gAYfAOwJSAhigAUAnAxgCUgJAB0ADARgC4AELgA8BGALABwQYAlICGOACAeABF0ABAVICQA/gAwNAAeADD+AJh8ABgDsBGAKAB0AzARgC4AELgA8BGALABwMYAlIC4QPV4AEXQAEBUgJAD+ADA0AB4AMP4AGHARgCQBfgAQGAO0ABATMGwAuABwEzBoADQAFAC+AFAQJSAhggAQMzBlIC4AWXA1ICMwZAF4ADQAELMwYYAjMGGAIzBlIC
PREVIOUS
EoghtxAKAgoCQAI2BgoCCgJAAgpgAQFAAsAPQAdAAwEKAuABCwQ2BkACCiABBzYGCgIKAkACwAdACwAKIAEBNgaABwEKAkAHQAMDCgI2BsADwA8AQOAAEwEvluAzh4BHAQoC4AEHQAtAAwc2BgoCCgJAAoADQAEBQAJAE4ADAkACCiABQAcBNgZABwEKAuANhwFAAkADQB8BCgKAB+AHC+ADDwEKAoAjBAoCQAIKYAEBQALAH0ALAApgAQFAAkATgAMCQAIKIAEBNgZAAwBAYAfgCYdAAQFAAkADBTYGCgIKAkAHQAMDCgIKAoAHQAtAAwEKAoAPAQoC4AEHAApgAQFAAsAfAApgAUAHAUACQBPAAwEKAsAPBUACNgZAAg==
STOP
BXghtRARAkABA1EGEQLgAwHAD0AHQANAAUAHwANAAUALwAFAC0ADQAHAB8AB4AMPwAtAB8ADAUmW4P2HYIcCBhEC
How these relate to those in the LIRC config? I found [lirc2broadlink.pl - converts LIRC conf files to broadlink b64 codes for use in home assistant · GitHub](this perl script) which has operated the translation, but the codes do not work with my unit, e.g. POWER
is converted to JgBIAAABG4gUDxQyFA8UDxQPFDIUDxQyFDIUDxQyFDIUMhQPFDIUDxQPFA8UMhQyFDIUDxQPFA8UMhQyFA8UDxQPFDIUMhQyFAANBQAAAAAAAAAAAAAAAAAAAAA
which is really different from the code I captured …
Another resource is https://pasthev.github.io/sensus/ but not so much that I can understand