Jump to content
Flirc Forums

yawor

Administrators
  • Posts

    1,003
  • Joined

  • Last visited

  • Days Won

    74

Posts posted by yawor

  1. Hi.

    You can't delete built-in profiles by executing "Clear configuration" option. They are built into the firmware itself and they are also not saved into the config file. There's only an option to turn them on and off in Flirc GUI's advanced options.

    Flirc software gives a feedback when you record a remote button by changing message "Recording" to "Recorded successfully" (or something like that - I'm writing from memory now). In your case there's definitely something wrong somewhere.

    Have you tested your HarmonyOne remote with a different hardware (for example your TV)? Do you have some other remote you can test Flirc with? It can even be a TV remote for your TV - this is only to do the test to check if Flirc is receiving IR signal.

  2. Hi,

    Am I right in thinking the following:

    • When selecting Flirc/Kodi in MyHarmony you're actually setting (most of) the buttons to certain IR codes?

    Yes. It uses custom IR protocol. I don't know the details though. Jason could say more on that subject.

    • By default the Flirc is pre-programmed with these IR codes in the Kodi profile so there's no need to "fire" them at the Flirc?

    It's not really pre-programmed in the sense of programming it with Flirc GUI. Mappings between Harmony profiles and specific keyboard combos are built-in in the firmware itself.

    If so, can I ask a few questions?

    What are the IR codes based on in the MyHarmony preset, given Flirc isn't a physical remote?

    As I've mentioned above it's a custom protocol. I don't know who created it (Jason or Logitech). Profiles have a list of functions which are assigned a code and then are assigned to a button.

    As they're not from a physical remote couldn't you have generated codes for all buttons on the remote, including "Guide" and "Menu", so they could be used in Kodi for EPG etc, without having to now find a spare physical remote to teach the Harmony and then to set the Flirc?

    You don't need to have a spare remote. I don't know the details (I don't have or use Harmony remote) but you should be able to add another device profile (possibly for a device you don't have at home) and then map some functions from that profile to inactive buttons in Flirc/Kodi profile. At least that's what I've read.

    If the Flirc has these codes pre-installed in its Kodi profile, what happens if you overwrite or erase them in the Flirc GUI? Can you reset them back without manually setting them from that point onwards?

    As I've mentioned above, those mappings are not really pre-programmed, but built into the firmware. You can't erase them. You can disable them in advanced options in Flirc GUI (there's a checkbox for built-in profiles). You can override them though. You can use a button that has a function in built-in profile and record different key combination for it. User programmed mapping takes precedence. After that, if you want to restore original function from the built-in profile you need to erase that key.

    Sorry for the questions. Some of these are out of curiosity, some are because I'm surprised you had preset IR codes already in the Flirc\Flirc GUI (if that's indeed true) and some are because I want to clarify things before having to add the extra Kodi functions to the remote. As I said, it's shame these haven't been added yet. Maybe a feature request? ;)

    You can always make feature requests :). Unfortunately Flirc is being developed by a single person and adding something that can be added by a user himself won't have high priority.

    • Like 1
  3. Hi

    It depends on whether you have an ability to somehow interface Raspberry Pi with your AC. Flirc has nothing to do with that as this is only a receiver - it can't send IR signals to other devices.

    If you are able to control AC with RPi (for example by using some GPIO connections or other interface) then you need some software that is able to listen for keyboard events and act upon receiving them. For example you could use TriggerHappy daemon which can intercept keyboard events and call some scripts. Then just record some keys in Flirc with some remote and configure the daemon to call your scripts which would control the AC.

  4. Hi,

    I don't think that will happen anytime soon (if ever) but I'm not the one to say for sure. This is just my opinion.

    If Jason was to add support for HATs or other addon boards then which of them to support? They have different set of ports in different places. There's no way to create just a single case to support all addons. If Jason had to make a case to support Didi+, then there would probably be some users of different addon who also would like to have a case variant for their addon. You see where I'm going with this?

    There's also another issue. One of the main points with Flirc Case is that it also works as a heatsink. With HATs and other addons it'd be really hard to do.

  5. @flurcme please don't post incorrect information. Standard Flirc device (not Flirc-SE, but the normal, USB stick format one) doesn't allow waking from full shutdown. There may be some motherboards that allow powering up from S5 from USB device, but it's not a standard behaviour and is not supported in any way.

    Only supported solution for powering up from S5 with Flirc is to use Flirc-SE. In addition to USB connection it's also connected to motherboard's power button pins which allows to wake/power up from any state.

    Also the wake functionality has nothing to do which whether Flirc drivers are installed or not. Drivers are only needed for communication with Flirc software for programming purposes. Flirc is an USB composite device which provides 2 "virtual" devices. One is for programming with Flirc software (this one need the drivers to be installed) and another one which acts as an USB HID keyboard - this uses HID keyboard drivers which are already in the system. The wake functionality also uses keyboard part.

  6. Should be possible but you need to do some preparations.

    First you need do some checks:
    - Connect an USB keyboard to FireTV and do some tests. Can you control the SlingPlayer from the keyboard? Can you directly enter a channel number using number keys on the keyboard?
    - Can you send single button presses from the XBOne IR blaster? For example, can you force it to send a press for 1, 2, 3 etc separately?

    Both answers need to be yes.

    On the XBOne side you should enter a 4-digit code that's not assigned to any of your real devices - you probably don't want a situation where you XBOne control both devices at once. You'll probably need to do some tests. Enter some code, test how it works with Flirc and if it's not well enough then format Flirc and select different code.

    Connect Flirc to your PC and launch Flirc GUI. In GUI select Keyboard controller. Press key 1 in the GUI and send a button press for 1 from XBOne. Then repeat for other keys.

  7. I might try that first, but I thought I read on some fora that FLIRC really needs a direct line-of-sight (even if the line can have quite a long distance for IR). 

    It depends on the environment like type of walls, paint or wallpaper on the walls, amount of obstacles etc. But if your HTPC is free-standing and is not covered much from all the sides then the IR signal can happily bounce around and Flirc should be able to receive it :).

    I didn't get a Streacom case (way too expensive and I believe I had bought my big GPU by then so they didn't have a good option anyways). I also thought about buying the FLIRC-SE and drilling small holes for the IR receiver to show, but I figured I'd rather deal with the slightly-unsightly clear FLIRC than start drilling into my case. I have the SilverStone ML07 (no IR window).

    You could still use something like this:

    https://www.amazon.com/StarTech-Motherboard-4-Pin-Header-USBMBADAPT/dp/B000IV6S9S

    and connect Flirc inside the case. Of course you would still need to make a DIY IR window in it.

  8. If the HTPC is not hidden or built-in into some cabinet or something you can just try plugging Flirc into the USB port on the back panel. Flirc's sensitivity is really good so it's possible the signal reception will still be very good.

    I don't know how the ink in sharpie or other types of paint/ink affect IR signal. You would need to make some tests. For example get some clear plastic and paint it with your choice of paint/ink and then use it to try to block signal from the remote. You need to remember that some paints may dissolve plastic.

    There's also a version of Flirc which can be built into the HTPC case (it comes without any case of its own). It's called Flirc-SE. But it would mean buying another device so it may not be a best solution for you. But you could also hide your normal Flirc inside the HTPC and make a little window in front which would be transparent for IR signal (like the windows on the remote controls which seems to be black but are transparent to IR light). Some HTPC cases already have such IR window built-in and are ready for IR receiver to be mounted inside.

  9. Do you try to erase by pressing ERASE and then a key in the GUI? You should press ERASE and the press a button on the remote you want to erase.

    Also you can assign multiple remote button codes to the same keyboard key or key combination - you just can't have multiple keyboard key or key combinations assigned to the same remote button.

  10. Hi,

    You're probably using a keyboard layout which is not compatible with US QWERTY. This is a known issue.

    You can follow these links for description of workarounds:

    What you basically need to do is to look where the symbol you want is placed on your physical keyboard and how you use it (does it require to use modifiers like alt or shift?). Then in the Flirc GUI you don't look at the symbols on the keyboard image, but what matters is the key position (for example first row, third key etc). Just use the same modifiers and key position.

    I'll prepare a much better description of the workaround when I have more spare time.

  11. You can name the configuration file whatever you want. It's just a file containing backup of configuration which is stored on the Flirc itself. For the configuration stored in a file to be used you still need to first load it onto Flirc using Flirc software.

  12. You don't need to know function codes assigned to remote's buttons. There's no way to enter them manually. Instead you use Flirc software to record them. In the Flirc software you first select a key or a key combination (modifiers: shift, alt, ctrl, win + a specific key like letter a for example) and the application asks you to press a button on the remote. When you press the button then Flirc generates a value which represents the signal from the remote and stores it together with the key combination you've selected earlier.

    You should repeat this for all the keys you want to use.

  13. Tell him to set a device using NECx2 (at least I'm using it with success) protocol at 38 kHz carrier frequency. The device and sub-device addresses should be set to a value which doesn't collide with any other hardware you have if any of them is using the same protocol. For example if you have a TV which is also using NECx2 protocol, then he just need to make sure that the device and sub-device addresses are different that used by the TV. For the Flirc itself it doesn't matter what values are used as you'll need to program it yourself after the remote is set up, using Flirc software to map remote buttons to keyboard key combinations. Just be ask him to be sure that every button on the remote sends unique function value.

    I won't tell you any specific device codes as these are usually specific to the brand of the remote and I'm not familiar with URC. But if the installer you're hiring is professional then he should understand these instructions. If he doesn't then maybe you should hire someone else :).

  14. No, it doesn't. Flirc only saves the mapping between remote's button code and selected keyboard key combination. The configuration is changed only when you either record a new key, remove old one, load saved configuration, clear configuration or change any of the advanced options.

    The Controllers in the Flirc GUI are just predefined keyboard key combinations and it doesn't matter if you for example record key "i" from keyboard controller or Info from Kodi controller to show information about show or movie in Kodi.

  15. If you know Python you could write a script which would be run directly from Kodi.

    http://www.barryhubbard.com/raspberry-pi/howto-raspberry-pi-openelec-power-wake-shutdown-button-using-gpio/

    You can start by reading this article. It shows how to install GPIO support library for Kodi which enables you to write Python scripts for Kodi which can use GPIO pins.

    You can also try switching to OSMC. It uses the Raspbian as a base system and the root file system is writable. You can install what you need using standard apt-get command. I'm using OSMC on my RPi2 for a long time now and it works perfectly.

  16. Hi,

    Flirc_util is not a way to go for sure. That's a configuration tool (like a Flirc GUI). You should record a remote button and map it to some key combination (not yet used for Kodi). To call a script, you need to somehow capture the key combination you've recorded and then act on it. There are probably multiple ways to do this, but given you're already using Kodi then you can add your own keyboard shortcuts by editing Kodi's keyboard.xml config file (you can find how to do that on Kodi's wiki pages - better do some reading before you start editing config files).

    You probably want a like similar to this in your keyboard.xml file:

    <A mod="ctrl,alt">System.Exec("/path/to/a/script.sh")</A>

    This will execute the /path/to/a/script.sh when ctrl+alt+a is pressed. Of course the script needs to have executable flag set and a proper hashbang at the beginning:

    #!/bin/bash

    or even better

    #!/usr/bin/env /bin/bash

     

  17. Yes, you can. The only requirement when you switch is to switch a profile on the remote. As I've written in my previous post, you should have a separate device profile on the remote for each app.

    BTW Flirc app is only used for programming. You don't need do anything in it during normal Flirc operation (you don't even need it running).

  18. First of all you need to know if Jriver can be controlled with only keyboard. You also need to know shortcuts for all functions you want to use.

    Kodi is supported by default so there won't be any problems with it.

    To control both, you should set up two separate profiles on the Harmony: one for Kodi and another one for Jriver.

    For Kodi you can use the Flirc/Kodi profile available in Harmony. You won't need to do anything else. Flirc has a built-in profile for that Harmony profile.

    For Jriver you can select a profile for some real device. For example, if you don't have LG TV, then you can use a profile for one. After selecting a profile on the remote, you need to start the Flirc GUI application and map remote buttons to keyboard shortcuts for Jriver.

×
×
  • Create New...