Jump to content
Flirc Forums

Search the Community

Showing results for tags 'suspend'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Flirc forums
    • Skip
    • Raspberry Pi Cases
    • Flirc USB
    • Flirc USB Gen1
    • Jeff Probe

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests

Found 6 results

  1. 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/Openelec Go to system information and make a note of it's IP address Turn on SSH in Kodi services Harmony Software Devices Flirc Media Player Change Device Settings Power Settings I want to turn this device off when not in use I press the same button for on and off Add 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 software Select file clear configuration Select full keyboard Select 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 Windows Download WinSCP Select SFTP Input Kodi IP address Username = root and password = openelec Once logged in select options\preferences\panels and tick the box for “show hidden files” Browse to /storage/.kodi/userdata/keymaps folder Create a file called remote.xml Copy 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/Openelec Reboot 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.
  2. My FLIRC is getting disconnected (as in, the GUI has a sad face and says "disconnected") after I resume my HTPC from sleep mode. Rebooting is fine - it's only when I put the machine to sleep and then resume that I experience this issue. Motherboard is a Gigabyte GA-H170-HD3 - I've been through all the BIOS settings and tried to make sure all USB and wake from USB etc settings are turned on. Related to this is that I cannot get the machine to resume using the remote - but that's kind of expected I guess if the FLIRC is getting disconnected in sleep mode. I've set my Harmony remote to use a a Panasonic TV remote which I have mapped to the full keyboard in FLIRC. Interestingly, the GUI says recording the keypress for wake from sleep was successful, but when I touch that button on the remote, the sleep key in the GUI doesn't light up like the other keys do. Any suggestions?
  3. Hello, I have searched for an answer to my problem but no luck finding a resolution. I setup my Flirc with my Asus Chromebox Openelec HTPC. I setup an Acitivity on my Harmony One to "Watch Videos" and it works perfectly to wake/suspend the HTPC. But when I switch to another activity (Watch TV or Play PS4), it will also wake up the HTPC. Here's what I did: In the Harmony software, I added a new device under Computer>Media Center PC>Flirc>KodiUnder "Advanced setup for this device", I set it to "turn this device off when not in use", selected "one button on remote to turning it both On and Off", and set the command used to "PowerOff".I created an activity to "Watch Videos" using the Flirc device and added an additional customized button that I called "Suspend/Wake" that will send a command from the Flirc to "PowerOff"I used the Flirc software to map Ctrl + End to the customized button that I just created ("Suspend/Wake"). For some reason, it used to work with Ctrl + F12 but it suddenly stopped working. I did a search and found Ctrl + End works but only from the main screen of Kodi. I thought Ctrl + F12 worked in any screen in Kodi but I could be wrong.I double-checked and all my activities do not use the FlircKodi device except "Watch Videos". I also created a new activity to "Play PS4" thinking there was an issue with the old activity but it still wakes up the HTPC. Does anybody know what I did wrong to wake up the HTPC even though I'm watching/playing a different activity?
  4. My goal is to have one key suspend and wake (with no other keys waking). According to: the "Suspend" key should wake (and suspend). However, for me it acts no different than any other key with regard to waking (in particular, if Wake is undefined, all keys including Suspend wake, otherwise only Wake does). I have tried both the beta and stable firmwares. Using a strategy similar to: I was able to get the desired beahvior, but I am concerned that there may be too many write cycles. Does anyone know the number of write cycles that this microcontroller can handle (from looking up what I believe is the specs, the flash has 10k cycles, and the eeprom has 100k. not sure which is applicable here). Thanks!
  5. Here is how i got my Harmony Smart Control and Flirc to suspend and wake up my HTPC Linux Mint box. Note: make sure you are connecting your Flirc to a consistently powered USB even if the PC is powered off, to choose one; power off your pc and connect your mobile on the desired USB port and make sure your mobile is charging with the box turned off. 1- Download Flirc latest Linux GUI from here (i used the zipped x64 version). 2- Add the file 51-flirc.rules to /etc/udev/rules.d/ (download the file from here), this udev rule insures that the GUI can connect to Flirc without root permissions. 3- Unplug then Plug your Flirc or restart your box for changes to take effect. 4- extract the GUI tools and run the file named Flirc(might need permissions update), you should now see the GUI and the title bar should says connected. 5- Upgrade your Flirc settings and flash it to the latest FW version using the GUI tools, from File -> Advanced, do the following: enable sleep detection. enable noise canceler. enable built-in profiles click on force FW upgrade. 6- by now, you should have no problems running XBMC with flirc and Harmony or any other remote. 7- locate two free buttons on your remote that will be used to wake and suspend your box. 8- follow the steps from 2 to 6 mentioned in this great post (Flirc will apear as 'Clay Logic'). 9- Unplug then Plug your Flirc or restart your box for changes to take effect. 10- Re-lunch you GUI tool and switch to the Full keyboard view. 11- Record the wake on the remote on the Flirc virtual keyboard. 12- Record the suspend button on a combination of your choice (that does not conflict with XBMC's default map!), i used Ctrl+Del. 13- create the file ~/.xbmc/userdata/keymaps/suspend.xml with the following content (change the mapping to your preference in step 12) <?xml version="1.0" encoding="UTF-8"?> <keymap> <global> <keyboard> <delete mod="ctrl">XBMC.Suspend()</delete> </keyboard> </global> </keymap> 14-restart XBMC. 15- if everything went fine, you should now be able to suspend/wake your XBMC box. 16- you can expand the functionality to Gnome by adding the same shortcut to as a keyboard shortcuts to call 'sudo pm-suspend' (need to switch to sudo with no password) 17- using Harmony software i added my wake and sleep buttons to be executed when powering on/off activities or switching between them. Hope this helps, let me know if you need more details! Happy Flircing!
  6. Hi guys I'm having trouble with my flirc waking my pc (acer revo r3700, openelec 3.2.4) from suspend by itself. I have enabled sleep detection and assigned a wake button on my remote. This wakes it as it should. I left it in suspend last night before I went to bed an it was awake in the morning. Before I got in bed tonight I wrapped the flirc in tin foil and set my pc to suspend to see if it's still in suspend in the morning. Any Ideas?
×
×
  • Create New...