Hi, first of all I want to apologize if this was already asked. I am new with all this stuff. However, I am quite confused with how the remote.conf works, I’ve read the wiki and some forums but I still am not sure if I am doing it correctly.
Initially, I would like to replace the UR01 remote with the new UR02 one I got.
Is it possible for the new remote to turn on the system or I could only use the provided remote? Because I used SSH to access my box files and put remote.conf (which is the .conf for UR02) in Configfiles folder then reboot my system. I tried turning it on using the new remote but seems to not work.
Or is there a better workaround to replace the remote with the new one to work?
Do you have the remote.conf from UR01 in flash folder? Replace that also with UR02 .conf.
I don’t have UR02 to test, but as I understand it has a “learning” posibility, so you can transfer/clone red power buton from UR01 to UR02 comand.
Thanks for the advice. I already did replace the remote.conf but still won’t turn on. I am guessing when the box is turned off the bluetooth connection is stopped as well, thus the bluetooth remote not working.
As for cloning the power button from UR01 to UR02, I am currently using the remappable grey button for turning on the TV.
Do you think its possible to clone the power button of UR01 to UR02 (the grey button), then get the IR keymap settings thru SSH and replace it on the non-remappable power button (the red one) of UR02?
I scrounged up someone’s UR-02 remote.conf file UR02
Ugoos UR-01 has a factory code of 0xff000001 either 0x14, or 0xff.
UR-02 has factory code (assuming that conf file was posted unmodified from Ugoos) of 0xe6190001 and 0x74 for power.
Not sure if this is for the AM6B+ (which is all the rage right now!), but my understanding is that since it has a locked bootloader, that makes it so that the box is hard coded to that specific power button on the UR-01, when it’s either powered off, or in standby. So as far as I know that needs to stay as the power-on/resume button.
What you should be able to do is effectively swap the buttons. Gray button becomes power-on/standby-resume programmed from the UR-01 remote (the red one) , The UR-02’s red power button should trigger the device to go into standby. Keep in mind you will need two remote.conf files: one for UR-01 and another for UR-02.
Original line for the red power button (this should trigger standby mode in its current setting): 0x74 116 # power ← keep this as is
In the UR-01 remote.conf file: 0x14 143 #wakeup
This is the remote.conf file I use for like UR-01:
And for anyone that cares, the Dune HD Premium IR Remote conf file, I use both remotes programmed into a Harmony 900 remote. Because I like remote buttons, they don’t scare me if there’s too many.
# *********************************************************************************************************
#
# this file is configuration for each factory remote device
#
# work_mode 0 :software mode 1 :hardware mode
# repeat_enable 0 :disable repeat 1 :enable repeat
#
# factory_code each device has it's unique factory code.
# pattern:custom_code(16bit)+index_code(16bit)
# examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
#
# release_delay unit:ms.release will report from kernel to user layer after this period of time
# from press or repeat triggered.
#
# debug_enable 0 :debug disable 1 :debug disable
#
# SW MODE:
#
# bit_count how many bits in each frame
# tw_leader_act time window for leader active
# tw_bit0 time window for bit0 time.
# tw_bit1 time window for bit1 time
# tw_repeat_leader time window for repeat leader
#
# REG
#
# reg_base_gen set value for PREG_IR_DEC_BASE_GEN
# reg_control set value for PREG_IR_DEC_CONTROL
# reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
#
# *********************************************************************************************************
#
# amlogic NEC remote * Dune HD Premium IR Remote
#
factory_code = 0xbf000001
factory_infcode = 1 # set as second remote
work_mode = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay = 20
debug_enable = 1
#OLD SETTINGS
# work_mode = 0
# repeat_enable = 1
# repeat_delay = 40
# repeat_peroid = 50
# release_delay = 100
# debug_enable = 1
#
left_key_scancode = 0x17
right_key_scancode = 0x18
up_key_scancode = 0x15
down_key_scancode = 0x16
ok_key_scancode = 0x14
fn_key_scancode = 0x81
#
key_begin
0x15 103 #KEY_UP
0x16 108 #KEY_DOWN
0x17 105 #KEY_LEFT
0x18 106 #KEY_RIGHT
0x14 28 #KEY_ENTER
0x04 158 #AC_Back
0x44 226 #KEY_MEDIA
0x45 65 #F7 MODE
0x06 217 #KEY_SEARCH
0x02 15 #KEY_TAB
0x4f 125 #KEY_LEFTMETA CURSOR
0x07 46 #KEY_C - Context Menu
0x43 116 #KEY_POWER
0x42 58 #KEY_CAPSLOCK
0x4e 64 #F6 SETUP
0x63 377 #KEY_TV TV
0x47 393 #KEY_VIDEO MOVIES
0x58 392 #KEY_AUDIO MUSIC
0x54 63 #F5 SUBTITLE
0x51 130 #KEY_PROPS
0x50 23 #KEY_I
0x40 59 #KEY_F21 KEY_RED
0x1f 60 #KEY_F22 KEY_GREEN
0x00 61 #KEY_F23 KEY_YELLOW
0x41 62 #KEY_F24 KEY_BLUE
0x52 115 #KEY_VOLUMEUP
0x53 114 #KEY_VOLUMEDOWN
0x80 104 #TV_UP KEY_PAGEUP
0x83 109 #TV_DOWN KEY_PAGEDOWN
0x82 142 #TV_POWER KEY_SLEEP
0x4b 104 #KEY_PAGEUP
0x4c 109 #KEY_PAGEDOWN
0x46 113 #KEY_MUTE
0x61 102 #KEY_HOME
0x1c 168 #KEY_REWIND
0x1b 208 #KEY_FASTFORWARD
0x49 165 #KEY_PREVIOUSSONG
0x1d 163 #KEY_NEXTSONG
0x48 207 #KEY_PLAY
0x1e 164 #KEY_PLAYPAUSE
0x60 167 #KEY_RECORD
0x19 128 #KEY_STOP
0x0b 2 #KEY_1
0x0c 3 #KEY_2
0x0d 4 #KEY_3
0x0e 5 #KEY_4
0x0f 6 #KEY_5
0x01 7 #KEY_6
0x11 8 #KEY_7
0x12 9 #KEY_8
0x13 10 #KEY_9
0x0a 11 #KEY_0
0x05 52 #KEY_DOT
# 0x02 120 #KEY_SCALE
# 0x50 138 #KEY_HELP
# 0x07 139 #KEY_MENU
# 0x50 23 #KEY_I
# 0x42 353 #KEY_SELECT
# 0x42 58 #KEY_CAPSLOCK
# 0x05 78 #KEY_KPPLUS
# 0x04 1 #KEY_ESC
# 0x4c 403 #KEY_CHANNELDOWN
# 0x4b 402 #KEY_CHANNELUP
# 0x51 619 #KEY_MEDIA_TOP_MENU
# 0x50 358 #KEY_INFO
# 0x54 370 #KEY_SUBTITLE
# 0x07 438 #KEY_CONTEXT_MENU
# 0x02 372 #KEY_FULL_SCREEN
# 0x44 392 #KEY_AUDIO
# 0x45 373 #KEY_MODE
key_end
Thank you for the detailed instructions @PurplePlayer!
I added your own remote.conf for UR-01 and another for the UR-02 and just did what you suggested for the buttons. I suppose that this is the best way to make everything function.
Out of curiosity, for the UR-02, I have these 3-extra remappable grey buttons which I might not need. And I was wondering if you had any suggestions for what I could remap these buttons to on the Kodi keymapper or in the .conf file.
I know it comes down to preferences, but perhaps there are important/convenient functions to make everything easy to use.
I just received 3 x UR02 remotes (2 for my two AM6B boxes and one for an Intel NUC running LibreElec). The UR02s working for all three but only the basic buttons.
I have a remote.conf for the UR02 which has the additional buttons programmed (I plan to customise further) but I can’t find where to copy the conf file on my AM6B CE boxes. Could someone please advise which folder? My two AMB6 are running CE from eMMC.
I tried in this folder but it seems it’s ignored as the extra UR02 buttons are not active when the UR02 remote.conf is copied to the config folder.
My original remote.conf is in the read-only flash folder (this is for the original UR01 remote.conf). I’m wondering if CoreElec is reading that one and ignoring config folder.