Jump to content
Flirc Forums

Search the Community

Showing results for 'SendIR command'.

  • 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

  1. Not directly. Flirc can only send key combinations, not key sequences. A key combination is a key with optional modifiers (like shift, alt and ctrl). After that you still need some software that could intercept pressed key combination and execute specific command. It would probably need to run as a daemon to be able to execute commands without the need for logging into the console.
  2. I'm considering buying a Flirc, to use on my RPi along with my Tellstick to control my lights. Controlling the light is done my sending commands like "telldusd 1 on", etc. Can I program Flirc so that a key on my remote issues that command on the RPi? Or, will it just cause problems that I'm not really logged in to the RPi?
  3. So I fumbled around a while getting issues with multiple keypresses, sometimes needing to press twice on a remote button, mapping, clearing, changing settings etc. Probably blew 4 hours of my life and I think I finally landed on a solution so thought I would share: Harmony Setup: Add Flirc XBMC device (Computer>Media Center PC>Flirc>XBMCGo into "Settings" for the XBMC Device and select "Adjust the Delays (speed settings)"Change "Inter-Key Delay" to 300Create your Activity including the TV and the Flirc XBMC devices.Go into "Settings" for the Activity and select "Troubleshoot"Answer yes then on the next screen select your XBMC device.Select "XBMC responds to some commands either too many times or only occasionally."Change the next setting to "0".Update your remote.Flirc Setup:Clear your configuration.Select File>Advanced and make sure that "Builtin Profiles" is checked (this will be autoprogramed for the Harmony Flirc XBMC device in your remote settings).Make sure "Inter-Key Delay" is set to "0".Close the Flirc software.Plug Flirc into FireTV.That's it. Hopefully this works well for you. I will be doing some additional steps in the Harmony setup as I noticed that the Menu, Info, Exit buttons are not programmed to do anything and the Flirc XBMC device doesn't have a Guide command. So I will be adding some commands to these buttons (either existing commands or using the Red, Green, Blue, Black buttons to add as custom commands and mapping with the Flirc GUI). Flirc, if you could add a Guide command to the Harmony device that would be awesome. As noted I will use Green for Guide but would rather have something out of the box rather than configured by me. Also, not sure if there is an opportunity to get these mapped in the Flirc XBMC device and/or get the inter-key delay setting adjusted to match the default in Flirc (if I am doing this right!).
  4. I've just "installed" my FLIRC on my Raspbmc set-up. After setting it up to work with my Harmony Hub, all is good! There is only one thing I cannot figure out... not sure if it is a FLIRC or XBMC question. In XBMC, I've installed the XSqueeze add-on to use my Raspbmc connected to my receiver as a Squeezebox player; works great. I cannot, however, figure out how to use the Activities set-up in MyHarmony to launch XSqueeze when I press the "Music" button on my Harmony remote. Is there a way to map an XBMC Add-on or Favourite to a remote (IR) command?
  5. Help Please! The following is the setup I have... and nothing seems to work properly. FLIRC on OUYA running XBMC Setup Harmony Remote as "Manufacturer: Flirc" "Model: XBMC" Recorded buttons to FLIRC on Mac v1.26 app from Harmony Remote I have tried changing the following settings to try and stop either missed button presses, or jumpy presses (multiple hits for a single button press). I seem to either be missing presses, or moving 3 at a time, depending on settings. Harmony : Device Inter-Key delay : 0 - 500ms Inter-Device delay: 500ms (I left this one alone) Command Repeats: 0-3 (I've tried them all) FLIRC: Advanced - Inter-Key Delay: 0 - 6 (tried them all) Noise Canceller: On/Off (I tried this on, seemed to remove the extra keys but caused a huge lag / missed presses. I tried some other settings moved around with this on, but could not get rid of the horrible lag) I'm stuck... Thanks in advance.
  6. i used the old way for configuring PLEX with the harmony remote and flirc. in this approach, we configure the harmony with a device that has a lot of IR codes that are different from one another. using this approach it lets me do all sorts of things with keyboard shortcuts, namely using AutoHotKey to configure commands not in the PLEX command list. here's a word document with my mappings using the Panasonic TC-P65VT30 device in the harmony remote: https://drive.google.com/open?id=0By28ojU6MbLhRlBBSVhkRjZQZHc&authuser=0 about the AHK scripts: the first script i've created in AHK that i'll mention uses the numpad of the remote to enter letters. this is particularly useful for the search option in PLEX. essentially, the script sends letters while pressing the number buttons of the remote repeatedly like you usually do on the TV or older phones with no keyboard. so, for instance, if i want to write abg3 i'll be able to do that with the remote by: pressing 2, wait second (or press Alt-Shift-F8), pressing 2 twice, pressing 4 once, pressing 3 4 times the Keypad-Letters script can be found at: https://drive.google.com/open?id=0By28ojU6MbLhT1BuOFdOT180TUE&authuser=0 this script also uses Alt-Shift-F8 (which i mapped through flirc as well) to stop the 1 second timer so that you could write other characters from the same number immediately. the second script always runs on the PC (it is in my startup folder) and the extra keyboard shortcuts in it do this: Alt-Shift-F10 - opens the plex client (theater) and the Keypad-Letters script Alt-Shift-F9 - stops the Keypad-Letters script (useful to assign this to the harmony remote, to be called when going out of the PLEX activity. otherwise, the script will change digits when you're running windows outside the plex client) https://drive.google.com/open?id=0By28ojU6MbLhaHRTQjB2SVltYUE&authuser=0 hope you find this useful.
  7. Hi, I assigned two keyboard shortcuts and automator actions to start Tunes and Plex and mapped them on a remote controller. This works when Flirc is open at the foreground and it starts the software, but doesn't when Flirc is closed. Is this perhaps known to anyone? btw. I also mapped command + Q, to quit an application, and this works when Flirc isn't open. So what is happening to the two shortcuts whom act accordingly when Flirc is open, but fail when Flirc is closed?
  8. I have 2 Flirc's, both with the same issue. They have been running along fine for a while now, no firmware upgrades in quite some time. I want to take advantage of some of the improvements in XBMC control and also add the harmony profile so I went to upgrade today, but both cycle through saying "Could not upgrade firmware, contact support" when I try to do so in the 1.2.6 gui. It seems to crash frequently while trying this as well. This is the same on a laptop running Win7 x86 and on a desktop running Win7 x64, both with fresh program installs. I would try to do the upgrade via command line but can't since I don't have access to the bin file that is bundled in the gui. I did check the current version there and it says "Bootloader 10.5". Let me know what I can do or what other information I can send you to get this figured out. Thanks!
  9. When I try to execute the flirc_util command on OS X 10.9.4 from the osx directory, I get the following error: dyld: Library not loaded: /usr/local/lib/libusb-1.0.0.dylib
  10. I am unable to record the Menu button via the command line. When I execute flirc_util record_api 0 101 from the command line, I do not get a prompt to press a key on my remote. It just ends without recording anything. I am using v1.2.7-rc.4 Thanks
  11. Jason: No problem, I'm just glad I didn't spend too much time digging deep into the device wake options. Would it be possible to switch between the two modes in the advanced options? Right now with my Harmony I could see wanting to use any button since the buttons take a pretty hard click to activate, but I could see it being a problem with more sensitive remotes, so a single wake key would be better there. dirty_denim86: I binded a key on my Harmony remote to the Flirc Wake command (which is on the full keyboard configuration, top right area). From what Jason says it seems the current Flirc firmware only listens for this particular command rather than any button press like a typical mouse or keyboard. The command I was using in my original post to make the Flirc port a wake up device was actually fine in my case, The problem was that I assumed any Flirc key would wake up my computer, rather than the just the "wake" button. Have you tried to enable/disable with a keyboard/mouse that you know normally works as a wake up device in the same USB port you're using for Flirc? I did this as a quick test just to make sure that Ubuntu was actually responding to my USB wake up changes. Just in case it helps though, here's a list of everything I did: 1) add "tee" command to my sudoers file so that it does not require a password when run with elevated privileges (this is not good practice, but for a media computer that I don't want to pull a keyboard out for it seems the only option) 2) add "echo enabled | sudo tee /sys/bus/usb/devices/1-2/power/wakeup" so that the USB port is automatically enabled at startup 3) Bind Flirc key "ctrl+alt+z" to a button on my Harmony (i.e. Guide) 4) Bind Flirc key "Wake" to a button on my Harmony (i.e. Menu) 5) Make Ubuntu keyboard shortcut "ctrl+alt+z->sudo pm-suspend &"
  12. Just registered to give my 2 cents and perhaps aid in the development Flirc worked well for me for 2 days, and then i started seeing the repeated keypresses, and significant loss of sensitivity. In that time i built up my media center rack: speakers receiver subwoofer NAS modem router xbox ETC. After several days of tearing everything apart I have isolated the issue with FLIRC TLDR: The issue is an ELECTRICAL NOISE issue, NOT an infrared sensitivity issue. I'm afraid this may be all the way down to the hardware, unless a Firmware fix can filter electrical noise. Long version: I'm an embedded systems engineer, I'm not claiming to be an expert but this isn't exactly voodoo to me. After several days of frustration figuring out why FLIRC was no longer working, i systematically eliminated devices that weren't causing the problem. My final setup is as follows. FLIRC -> HTPC Laptop. (connected to AC adapter) -> HDMI -> Denon Receiver -> RCA subwoofer cable -> subwoofer -> back to the SAME OUTLET.as PC **The failures occur where these are the ONLY devices, and no other devices or speakers are connected to either the receiver or the PC** This is what is required to cause my FLIRC not to work. Ultimately my subwoofer is the root cause of the error. Sure, we can blame the it and say flirc is fine, however EVERY SINGLE other device works just fine, including every other USB device running on the same. If any component in this loop is broken , FLIRC works great, with such great reception i can reflect IR from my Harmony remote off the back wall and it will be recieved. Complete the loop and ~50% of the time FLIRC is lucky to detect IR 6 inches away, and when it does we get repeated keypresses quite frequently. The loop doesn't even have to be fully connected, simply short the grounds on either the HDMI or RCA terminals and FLIRC stops working. (same goes for the data pins too). The difference is dramatic! (Please don't blame lighting conditions, I realize FLIRC is sensitive, but realize that 99.99999% of TVS or other equipment have never received phantom input from lighting causing it to turn on without intervention, and I'd expect the same level of filtering from flirc once it is programmed.) It is interesting to note, that this ONLY occurs when the subwoofer is connected through the same electrical outlet as the other equipment (to prevent ground loops) If i run an extension cord through my house to an outlet on another breaker, FLIRC works fine with everything hooked up, so long as the subwoofer has a different ground. (sure, my APT doesn't have the best wiring, but again thats not the point is it?) This leads me to believe that ultimately electric noise is being read by flirc as an IR signal and being sent back through to the PC via USB as a valid input (or repeated keypress for some reason)??. I don't have an oscilloscope handy here, but my multimeter says the difference in ground voltage between the subwoofer and USB is .07V at its max. I'm not sure if FLIRC can actually be fixed, as i think this may be a hardware problem, Maybe FLIRC does not have the required resistors and capacitors to fully clean up a dirty USB signal, and instead we are leaking analog noise over the digital USB signal to the IR circuit and it is being interpreted as a command? i'm not sure. This is probably why 90% of cases with FLIRC acting up is people with raspberry PI, as its power is usually from a "dirty" wall wart. I've tried various solutions as you would expect USB hub, powered USB hub, changing USB ports, Adding resistors to create a voltage divider to attenuate the nose on the RCA cable, dark rooms, light rooms, other equipment. At this point i feel that any fix (ground loop isolater on RCA subwoofer cable or extension cord running through house to power subwoofer-causing an actual ground loop) would be an unnecessary band-aid on something that should just work. I apologize if i seem "ranty" I really think this is an awesome project but I figured the more info I gave the better! Let me know if you need any more data points! Thanks
  13. Hi guys. I've received my Flirc a few days ago and I'm not able to run a lot of functions or keys with my Harmony 300 (Vol+ vol- mute smallstepack). :o Of course I've read before an tested this guide without luck. The XBMC Flirc profile in MyHarmony don't work fine with the Harmony 300. If I load this profile the Volume+ Volume- and smallstepback don't work. I've also tried to program the harmony like a Samsung LN46C650L1F and assigned a function to all the keys as mentioned in the post. BUT when I try to program or reassign this functions in the FlircGui 1.2.5 (w7x64 + firmware 2.5) they don't work. For example, I press the Vol+ in the gui, it asks for the command, then I press the button in the remote and Flirc says 'recorded successfully' BUT if I test the new key it doesn't work neither Flirc Gui nor Openelec 3.95.2. I can't make it work from any panel... minimalist, Full Keyboard, XBMC. I haven't this issues with the direction arrows, exit, play, enter, stop, forward, backward, up, down, left, right, INFO and numbers 0 to 9. :wacko: It is curious that when I record the key mute (with any button in my Harmony) it makes it on the key info :huh: What can I do? A lot of thanks. :)
  14. For those interested in adding commands to the Harmony Ultimate remote using Flirc and XBMC, there is a very simple way to do that without having to fiddle with : - installing the old generic Samsung/Panasonic TV generic profiles to emulate the Flirc device - using the command learning feature of the Harmony remote - manually editing XML keyboard layout files Just add a device using the Flirc Harmony profile in the Harmony app, so you don't have to manually assign all the keys to buttons using the Flirc GUI In case some key/button assignments are missing, make the necessary adjustments using the Flirc GUI. For example, the M key (OSD menu) cannot be mapped to a button in the Harmony app. What i did was i assigned the DVR button on my remote to the AudioNextLanguage command in the Harmony app. Then, i overrode that assignment by associating the DVR button to the M key using the Flirc GUI. The thing is, you have to first assign commands to buttons in the Harmony app before those buttons become available in the Flirc GUI. Going from that, i was able to assign the wake and suspend commands to buttons on my Harmony remote and add those commands to my "Use XBMC" activity. Now my PC goes to sleep when pressing the OFF button and wakes up when pressing the XBMC activity button. More on that here :
  15. I think i've found a very simple way to trigger suspend/wake using a Harmony Ultimate Hub with the Flirc module using XBMC. I am using the Flirc profile in the Harmony app as i find it is more straightforward than going through the hassle of using the generic Panasonic/Samsung TV profile and manually assigning buttons in the Flirc Windows GUI. As the Flirc device in the Harmony app does not provide any poweron/poweroff commands in the Activity section, i did as follows : - using the Harmony app, i assigned two unused commands (Zoom+ and Zoom-) to the "--" and "E" buttons on the Harmony remote (the ones at the bottom left and right) - having done that, the two buttons became available in the Flirc GUI : using the Flirc keyboard layout, i overrode the Zoom+/Zoom- Harmony assignments and associated the "--" and "E" buttons respectively with the Wake and S keys - back to the Harmony app, i was able to add start/stop steps to my "Use XBMC" activity (start command : "Zoom+", stop commands : "Zoom-" and "Select") As of now : - pressing the XBMC activity button on my remote turns on my TV/amp and wakes my PC from suspend mode - pressing the OFF button turns off my TV/amp, calls the XBMC shutdown menu and launches the Suspend command.
  16. Hi, There are several buttons I can't pair with a remote command. I always get a report 'button already exist' Even when i clear setiings via File -> Clear Configuration. or choose 'Redo' or clear button I try to setup Flirc with Windows Media (for Raspberry Pi) with a Harmony 700 The harmony is already set up. I'm using GUI 1.2.2 Based on Qt. 4.8.0T. and latest Firmware (2.3)
  17. How do I save (and restore) my current config? I can learn new keypresses via the command line, right? The GUI is a little confusing.
  18. Hi Juro, You can use command line app that is provided in Flirc install. It's called flirc_util.exe (it's in the folder where you installed flirc app). You can use it for example to list recorded keys and to delete specific ones using key's index. I'm not entirely sure that this will work for you as the util doesn't display all keys sometimes (for example those which use at least one of modifier keys). Use flirc_util help to get information on possible operations.
  19. IceDiver you can always try to record keys using flirc_util in command line. Just assign remote's vol up and down buttons to the key scan codes where your layout has + and - keys. From what I could find, on Swedish keyboard + sign has scan code 0x0c (decimal 12), and - sign has scan code 0x35 (decimal 53) both without modifiers. The commands you need to execute: flirc_util record_api 0 12 flirc_util record_api 0 53 After each press enter and then press a button on the remote. First one is for +, second is for -.
  20. Bump. I'm having the exact same issue. I got my flirc in May 2013 and have dusted it off every few months to revisit the same frustration. Here are the results from flirc_util command line tool. I have the same results in Linux and Win7Pro root@ubuntu:~/usr/bin# ./flirc_util status Last upgrade attempt: Error root@ubuntu:~/usr/bin# ./flirc_util version flirc_util version v1.2.6 [v1.2.6] Firmware: v2.6 At this point, I don't remember all the exact steps I've tried, but none of the GUI versions have worked and I've tried doing the manual driver installation through device manager as well as tinkering with with Zadig [Edit: Added flirc_util output]
  21. I'm trying to control a headless Itunes server. FLIRC works perfectly as long as I have a physical keyboard and monitor (I'm sending keyboard commands to windows shortcut keys). But when I remove the keyboard and monitor, windows seems to ignore the FLIRC commands. Not sure if FLIRC isn't sending the command or windows simply ignores it. Starmanj
  22. Yes. It is possible depending on the protocol used by the remote. I've also had such situation when I was checking some devices on my universal remote which one will work best with Flirc. It reported that key is already recorded for multiple keys. I just used a code for Samsung TV as I have LG one so they won't interfere with each other and everything works smoothly. You can use flirc_util.exe in command line. There is a format command, but it just do the same thing that clear configuration does. You can check if there is anything recorded using flirc_util space command which will print how many buttons are stored in flirc memory. After clearing it should show 0.
  23. I don't have Harmony so I can only speculate based on knowledge I've gained doing research on them (I've decided to go for OneForAll Simple 4 remote instead). I think you are in activity mode which allows you to send commands to different devices without switching between them. So you started the activity which was configured to send TV commands on some keys and the ones for Flirc on others and then you recorded these buttons. So in the end the remote is sending a single command but both your tv and flirc are reacting to it. You should disable activity, clear Flirc and then set harmony to a single device mode and record commands one more time.
  24. I would like to program one of my remote's keys to generate Ctrl+P, which I believe should be possible using flirc_util's record_api command with arg1 = 1 for Left Control and arg2 = p. But when I type this command, I get the message: hit a key on the remote to be paired with 1 0 (Note the 0, not P) If I then press a remote key and then test the result using xev, I find that the key only generates Ctrl_L up/down events. No P. This is with version 1.0.6 on Mythbuntu 13.10 saucy. I have been able to record over 60 keys using "flirc_util record char", including pageup/down, return, space, etc. I just can't get Ctrl+P. I also noticed that "flirc_util settings" doesn't show the ctrl key in the list of recorded keys, although the count of recorded keys increases after I record that key.
  25. knilch

    Key repeat

    Hi, since the last update (Windows-GUI says firmware is 2.6) keypresses are not repeated anymore when keep pushing a remote button. So i.e. when I press the Up key on my remote I get exactly one Up-command. When I keep pushing the button there is still only one Up-command. After button release and pushing again another command is created. Has anything been changed? Am I missing something? Regards knilch
×
×
  • Create New...