-
Hi, is there a way to convert these IR codes to Pronto HEX or LIRC codes which can be imported to AnyMote remote app for custom buttons? I am trying to add direct buttons for HDMI 1 & 2 into my LG weOS TV (UF640T) AnyMote remote. They have emulated independent buttons for HDMI ports, but they don't work. In fact, HDMI switching is possible on the said AnyMote remote thru some sub-menu of the APPS button they have rendered, but they are not programmable into macros, to create independent buttons. Nor are they selectable in IFTTT where I am trying to create Google Home voice commands for the LG remote. As you had mentioned in the github post, SURE remote app does work on my TV, and their independent HDMI buttons work as well.
Edited by Abhilash Mohan -
@abhilabhila I'm not sure, but I think you can:
function* mapBits(n, l, fn) { for (let mask = 1 << (l-1); mask; mask >>>= 1) { yield fn(Number(!!(n & mask))); } } const hexcode = 0x20DFA35C; // POWEROFF console.log(['0000 006C 0022 0002 015B 00AD', ...mapBits(hexcode, 32, (bit) => '0016 '+ ['0016', '0041'][bit]), '0016 0622 015B 0057 0016 0E6C'].join(' '));
You might also be interested in Protocol NEC1 device 4 subdevice -1
Edited by Andre Cerqueira -
This content was removed as it violated our Acceptable Use Policy.
Reach out to our Abuse Team for any further questions.
Edited by KARAN -
Тo make it easier to work with Arduino and NodeMCU I convert it to decimal:
on-off->551489775 tv/rad->551489520 input->551538735 settings->551535165 live zoom->551548170 subtitle->551525475 1->551520375 2->551504055 3->551536695 4->551495895 5->551528535 6->551512215 7->551544855 8->551491815 9->551524455 0->551487735 list->551537205 guide->551540010 vol +->551502015 vol- ->551534655 info->551507370 search->551493345 mute->551522415 prog./page +->551485695 prog./page -->551518335 recent->551529810 home->551501505 live menu->551516550 back->551490795 exit->551541285 arrow up->551486205 arrow down->551518845 arrow right->551510175 arrow left->551542815 ok button->551494365 teletext->551486715 teletext options->551519355 ad->551520630 rec/*->551533890 stop->551521650 play->551489010 pause->551509410 rew->551547150 forward->551514510 red button->551505585 green button->551521905 yellow button->551536185 blue button ->551519865 # Below are buttons not present on the actual remote, if they are uncommented they actually work on 55UH605V POWER OFF->551527260 POWER ON->551494620 energy->551528790 quick view->551508135 fav->551516295 EZ ratio->551525985 EZ picture->551531085 EZ sleep->551514255 3D->551500740 # Will just say 3D mode is unsupported on my TV EZ adjust->551550720 # Password is 0413 IN start->551542560 # Password is 0413 # Here you can turn off the retarded dimming INPUT Antenna->551512980 INPUT Component 1->551550210 # INPUT av. mode->551488755 # Looks like an old code - moved to a different code on new TVs? INPUT AV->551508645 INPUT HDMI1->551515020 INPUT HDMI2->551498700 INPUT HDMI3->551524200 # INPUT HDMI4->551508900 # TV doesn't have HDMI4 Record list->551487990 Audio->551506095 SIMPLINK toggle->551517825 TV guide->551523690 User guide->551509665 TV/Radio toggle->551546895 # Netflix->551512725 # webOS 4.x, replaces 'recent' button # Amazon->551500485 # webOS 4.x, replaces 'live menu' button
-
Some remotes has "IVI" button. Function Code (OBC): 93 (5D in HEX)
complete code: IVI->20DFBA45
As you see code is 5D,but in complete code it converted to BA. This changed was made because bits in remote send from LSB to MSB. If reverse bits order in 5D you get BA.
Edited by Konstantin Ilyashenko -
This content was removed as it violated our Acceptable Use Policy.
Reach out to our Abuse Team for any further questions.
Edited by trezor elevator -
@accerqueira Which language tool is it? @abhilabhila Were you able to convert?
-
@skbobade It's just javascript. You can paste it on browser console, and it should output the following sequence:
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0622 015B 0057 0016 0E6C
-
@jondo201010 Normal way is NEC IR Standard; described very well on below Altium website. https://techdocs.altium.com/display/FPGA/NEC+Infrared+Transmission+Protocol
For reference, I have created a dirty code which translate these codes to NEC format. https://github.com/siriuspal/UniversalRemote/blob/main/helpercode/codeconv.py
Edited by Sameer Bobade -
🦊 @Biswa96Thank you for providing the IR codes. I have added these IR code in this Android app https://gitlab.com/divested-mobile/irremote/-/commit/ba79da51d204df85c2b03070da8c13f0ef072b40
I have converted the NEC format to Pronto format using this project https://github.com/abidkyo/nec-converter
Please register or sign in to comment