Jump to content
Flirc Forums

yawor

Administrators
  • Posts

    1,003
  • Joined

  • Last visited

  • Days Won

    74

Posts posted by yawor

  1. Hi,

    The Flirc itself doesn't have such ability. But newest Kodi now implements long press. I've tested it with Flirc on my OSMC installation without changing anything before and using the OK button on the remote when I hold it for few seconds when on the list I get the context menu on the list item. I don't know what Kodi version is used in OpenElec, maybe you need to check for updates if you still don't have long press support in Kodi.

  2. Hi,

    There's no way of directly invoking any mouse actions with the Flirc itself as it acts only as a keyboard. There are some indirect ways to achieve this. It's OS/software dependant. For example in Windows you can turn on availability option to control the mouse cursor with a numeric keypad portion of the keyboard:

    4, 8, 6, 2 = move left, up, right, down
    1, 7, 9, 3 = move along diagonals
    5 = click selected mouse button (selected mouse button is displayed on the system tray mouse icon)
    + = double click selected mouse button
    0 = click and hold selected mouse button
    . - release mouse button (after being hold by pressing 0)
    / = select left mouse button
    * = select both buttons
    - = select right mouse button
     

  3. Hi,

    You need to look for some software solution that is capable of sending CEC commands. It also depends on the hardware you use. You've not even given any information about your set up so it's hard to come up with something.

    On the other hand this is hardly a question for this forum. As Flirc can only send keyboard keystrokes to the host system it's all up to the user to set up any software that will act upon receiving the keystrokes. I think it would be better to ask in a community that is focused on the platform you are using (for example, if you're using Raspberry Pi with some media center distribution using Kodi, then you can ask on Kodi forum or the specific distribution forum, for example OSMC).

  4. I won't help you with the Harmony settings because I don't have one, but you somehow need to add extra buttons to the Kodi profile/device in the remote (they can be from different profile). After that you need to plug Flirc into your PC and run Flirc GUI application where you can assign S and R keys to appropriate buttons on your remote.

    You can also remap some current buttons like you've said yourself.

    On the other hand the shutdown command is not very useful with OSMC on Raspberry Pi. RPi doesn't have power management so when you shut it down you'll need to unplug the power yourself and plug it back.

    Also in the latest version of Kodi (it's already in OSMC) they've added long press support. By default you get two long press buttons:
    - press and hold enter (OK) button for context menu
    - press and hold backspace (Back) button for shutdown menu

     

  5. I've proposed discrete on and off buttons to Jason already but for now there's no such function yet. It's hard to tell if or when this could be implemented. This functionality requires a detection mechanism that would tell Flirc if the PC is on or off and depending on current state activate and deactivate appropriate buttons (so in power off state only power on button is active and in power on state only power off button is active).

  6. Thanks Yawor, unfortunately I am not enough skilled to go this way.

    I would really like to help more and give exact instructions but my knowledge of Fedora package system and management is really small.

    I've googled "fedora install 32 bit libraries" and there are some answers that look like they might be correct. Here's a link to first link from that query:

    https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries-on-a-64-bit-fedora/

  7. Hi,

    If the remote is an universal one and capable of controlling more than one device (they usually have buttons named TV, DVR, SAT etc that switch between devices) then all you have to do is to pair only a single device/setup code on the remote with the Flirc and it should be the one that doesn't control any other hardware you have. For example you have three devices, so you need to setup your TV as one device on the remote, then the Xfinity Cable as another and then you need to choose some device type and maker you don't own physically and set it as 3rd device on the remote and pair it with Flirc using Flirc software. You'll probably need to do some experimentation with the 3rd device and find a setup code which works best for you (so Flirc is fully responsive and recognizes all the keys as unique properly and also the remote is using most or all the buttons it has).

    Of course it all depends on how many devices can be set up on the remote. You obviously need at least 3.

    As for the instructions to set up the remote it's something you need to read in the remote's manual or ask Xfinity support or maybe their community (if there is one).

  8. Hi,

    Just look for thermal pads in your local computer store. I think it would be better to get even a little thicker than the one delivered with the case (as it was provided for RPi 1 which has a thicker CPU because of the RAM on top of it - RPi 2 and 3 have memory chip elsewhere so CPU is thinner). I don't exactly know what is the thickness of the pad added to the case but I think that even 2 to 2.5 mm should be OK.

    BTW what happened to the thermal pad you've received with the case?

  9. I know it's not ideal solution (64bit would be much better) but there's a way to also run 32bit app. You should be able to install 32bit libraries in your OS. I'm more of Arch Linux and Debian/Ubuntu user so I don't know how these packages are named in Fedora repositories.

    Please look here:

    It's for Ubuntu so you need to check how to install these libraries using yum or whatever other package manager you're using.

  10. @Evergreen are you sure that buttons you are trying to record are active in the selected Harmony profile? I think not all remote buttons are active in Flirc/Kodi profile. To be sure you can point your phone's camera at the remote's transmitter diode and press the button. You should see the IR diode blinking in the camera app if the key is active and sends something.

    You can also try disabling built-in profiles in Flirc software and record all the keys from scratch in any way you want - this way you can use almost any profile in the Harmony (you can still use Flirc/Kodi but you're not required to).

  11. @jonascj yes, you're correct. You (or anyone else) are also more than welcome to create such a script and post it on the forum :). But I don't know how long the internal EEPROM memory would last (it is susceptible to wear out in the same manner as all flash memory based devices are). If you really need such script I think a better solution would be not to format Flirc after every key but to first fill it's memory with more keys (or key combinations). That way you can test about 170 key presses before you need to format the device and start again. Also the wear would be much smaller because you wouldn't always use the same spot in the memory to record only single key.

    The thing is the hash is not reversible so it doesn't tell you anything about the original signal's properties (like protocol used, button code etc). Flirc's firmware just tries as hard as it can to create an unique hash (sometimes failing for some exotic protocols or signal frequencies) from the raw data it receives from the IR receiver module.

  12. It's not possible to get raw data from IR receiver chip. The data is always processed by the micro-controller in Flirc and its hash is stored in onchip EEPROM memory. You can display all recorded hashes with assigned keys using flirc_util command line program.

  13. The Harmony long press option doesn't have anything to do with Flirc. It's just an option to send different button code when you press and hold the button little longer and different when the button is released after short press. As I don't have Harmony myself I can't tell you if that option is supported by all the buttons or not. You need to refer to the user manual or some help from Logitech.

  14. Hi,

    First thing you need to know is that Flirc is emulating an USB keyboard and is seen as one by the OS. This doesn't mean that it can be used as a receiver for IR keyboards (even if one is emulated itself by a Harmony remote). You can use Flirc software to record and pair IR code from the remote to a keyboard key or key combination (like in modifiers - shift, ctrl etc + key; not like in sequence of key presses).

    1. It depends on a few things. First it depends on what profile you are going to use on the remote. If you use the same profile that you are now using for IRR receiver and you record a button that is actually doing something already then you'll have some interference because both receivers will react to the button press and both will do something in the OS. If you use different Harmony profile for Flirc (like predefined Flirc/Kodi profile for example) then the IRR won't be reacting to the remote.

    2. Flirc does have the built-in profiles but they can be overridden (by recording a key that is already in the built-in profile and pairing it to different key) or even disabled. Using a built-in profile also doesn't stop you from pairing additional keys. So if you add some extra functions to the Harmony side (I don't have one but I think it's possible) you can use Flirc software to pair them to any key/combo you want. For example you can disable built-in profiles in Flirc and still use Flirc/Kodi profile on the remote and re-record all the buttons and assign keys by yourself.

    3. This depends on the model of Flirc you want to buy. There are two form factors: an USB stick and a board to be built into the PC case. The USB one can wake up the PC from sleep and hibernation (save to RAM and save to disk) modes. You can check if your setup allows that by just plugging in an USB keyboard and pressing a key when PC is in sleep mode. This model DOES NOT allow to turn on the PC from full shutdown. The second model which is called Flirc SE (Streacom Edition) is a small PC board that can be built into the PC case. It is connected to an internal USB port header on the motherboard. You also need to unplug the power button cable from the motherboard and connect it via the Flirc SE board (it has input pins for the button and output pins to connect to the power button pins on the motherboard). This model can turn the PC on from any mode because it operates the power button switch. You need to be sure that your USB ports are powered on even when the PC is turned off or modify the cabling to take the 5 volts directly from the power source unit standby rail.

    • Like 1
×
×
  • Create New...