IR Remote power on/off

Hello,

my new Vero V won’t turn off when the command is sent from a IR remote. It will react to left/right/ok commands from the remote, however.

I used the same remote with Vero 4k+ and it works fine there. The config is “rc6-mce-lircd” on both devices.

How can I make the V accept the power-off command by IR?

REgards

I’m not entirely clear exactly what you expect to happen when you press that button but if your can ssh into your 4K+ and run the following and let us know the url it returns it should provide the information needed…

cat ~/.kodi/userdata/keymaps/* | paste-log

Sure.

The Vero 4k+ says:

osmc@osmc:~$ cat ~/.kodi/userdata/keymaps/* | paste-log
https://paste.osmc.tv/weterurune
osmc@osmc:~$

The Vero V:

osmc@vero5:~$ cat ~/.kodi/userdata/keymaps/* | paste-log
cat: '/home/osmc/.kodi/userdata/keymaps/*': No such file or directory
https://paste.osmc.tv/epocefavac
osmc@vero5:~$

Is this what you need?

Yes. You can either install the Keymap Editor add-on and navigate to global>system>suspend and assign that key to it that way or else via ssh again you can type

nano ~/.kodi/userdata/keymaps/gen.xml

and then copy the following text in

<?xml version="1.0" encoding="UTF-8"?>
<keymap>
	<global>
		<keyboard>
			<key id="196">suspend</key>
		</keyboard>
	</global>
</keymap>

and then press ctrl+x, then y, then enter, to save the file and exit. You will then be back in the terminal and you can type the following to load the keymap and it should then work.

kodi-send -a reloadkeymaps

1 Like

… perfect!

Thank you very much!

Regards

1 Like