irplus-remote / irplus-codes.github.io

Code updates for irplus
75 stars 46 forks source link

[Request] Support for new Android phones with IR receiver #529

Open pmoralesgh opened 3 years ago

pmoralesgh commented 3 years ago

Hi! I was thinking in adquiring an old LG G3 in order to record some remote codes, but found that my Huawei P20 pro has an IR receiver (tested with in-built app, learning codes, but cannot pass these codes to irplus app). Could it be possible to add this (or other) device so we can record remote codes?

Thanks in advance!

irplus-remote commented 3 years ago

Hi, using an LG G3 is not possible for this, as the codes are saved in a proprietary and encrypted way, so they can only be used on that device even with irplus.

Unfortunately the same is true for all Huawei and Xiaomi, Poco etc. codes are saved in a proprietary way and there is no possibility to extract them, so learning only works with stock app, not third party. (Unless you want to reverse engineer and help ;P)

So the conclusion is: The only phones capable of learning the raw codes are the older HTC M7, M8 series For anything else it is recommended to use a Raspberry Pi or PC to learn.

pmoralesgh commented 3 years ago

Thank you! What a pity In other thead i explained i tried using a pc, but it looks that lirc doesnt support usb irda

BTW, LG G3 is listed in the learning help page: Some Smartphones can record codes (HTC M7,M8,M9+, LG G3, G4). In that case you can use irplus to record the codes.

irplus-remote commented 3 years ago

Technically this statement is not wrong per se. Irplus can record /learn but in a special format called LG_UEI which will work only on irplus on that device.

There is this older thread with more explaination: https://github.com/irplus-remote/irplus-codes.github.io/issues/305