I succeeded, using this guide, to setup a power on code on my Odroid N2+:
I am using a Logitech Harmony 650.
The problem with this method is that it’s only a power toggle that will both power on and off, and it’s not comfortable as it can power off if people press the button 2 times. So I’m looking to get 2 codes in my remote for power on and off.
I correctly succeeded to create a new power on code on the remote, and I’ve set it in config.ini. Everything works great for the power on code.
But now for the power off code, I didn’t find anything on the forum about that. The only guide I found is this one:
I followed it, and created the following .toml file:
[[protocols]] name = "stopcode" protocol = "RC6A" [protocols.scancodes] 0x800f042a = "KEY_POWER2"
The code I scanned is this one:
Received IRMP code: remotewakeup=‘0x800f042a’, decode_type=‘0x5’, remotewakeupmask=‘0xffff7fff’
But it didn’t work. Worse, now all my IR controls are messed and nothing works. Not a single key. The guide doesn’t explain how to reset it. So my questions are:
- How can I reset the modifications I made using this guide ?
- How can I change only the power off code ?
I would really need help as I’m currently stuck on a broken coreelec setup right now. Any answer is welcome, have a great day !