crutonbn Posted October 16, 2015 Report Share Posted October 16, 2015 (edited) If you have been wondering on how to make Kodi work with Flirc and Harmony remotes to automatically suspend without you having to call up the shutdown menu or be stuck with the other methods that limit suspend commands to the home screen of Kodi this is how to do it with Kodi v15 at time of writing. Thx to GoodOmens for the tip though his info is a little out of date now so this is a guide on how to do it all. Kodi/OpenelecGo to system information and make a note of it's IP addressTurn on SSH in Kodi services Harmony SoftwareDevicesFlirc Media PlayerChange Device SettingsPower SettingsI want to turn this device off when not in useI press the same button for on and offAdd command and select PowerOff (if you have messed with poweroff before finding this guide choose the fix command and reset IR code for PowerOff)Sync remote Go to Flirc softwareSelect file clear configurationSelect full keyboardSelect Ctrl+F12 (as Kodi wont respond to this at least not yet)Go to devices on Harmony remote and select Flirc media player then hit the power off key to map it to Ctrl+F12 (requires harmony with display screen or map power off to physical button) From WindowsDownload WinSCPSelect SFTPInput Kodi IP addressUsername = root and password = openelecOnce logged in select options\preferences\panels and tick the box for “show hidden files”Browse to /storage/.kodi/userdata/keymaps folderCreate a file called remote.xmlCopy and paste in the text below, then save (old floppy disk icon)<keymap> <global> <keyboard> <f12 mod="ctrl">XBMC.Suspend()</f12> </keyboard> </global> </keymap> Exit WinSCP Kodi/OpenelecReboot the system (required for new xml to take effect) Now if all goes well when using Harmony activities the system should go into suspend.If you've been wondering why not just use the stock Flirc/Kodi power off command combined with the Kodi settings\power saving changing it from shutdown to suspend, this doesn't work. If you go this path the system will always wake up when using any activity and not go into suspend, the stock power off command is bugged somehow like it's being sent multiple times. Edited October 16, 2015 by crutonbn Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.