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. 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]
  2. 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
  3. 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.
  4. 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.
  5. 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.
  6. 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
  7. I received my Flirc today, so I'm pretty new to this. I'm using Flirc on Linux and I'm trying to control mpd (music player daemon) through a combination of triggerhappy, mpc and a generic remote control. My problem right now is that if I don't immediately release a button on the remote control, I get a series of keydown/keyup events. My remote apparently sends alternating codes, accordingly I have programmed two "button presses" for each event Flirc generates. That seems to work and I don't think it is the cause of my problem. Originally, I did get a sequence of keydown, (repeated) keypressed, keyup events. However, the keys themselves always were a combination of only(!) modifier keys. Tinkering around I did lots of irreproducible stuff in the GUI (Flirc program) and command line tool (flirc_util). Along the way I *may* have updated the firmware. Here's what I currently have: $ ./flirc_util settings flirc_util version v1.2.6 [v1.2.6] Firmware: v2.6 Settings: sleep detection: Disabled noise canceler: Disabled inter-key delay: 3 state: 0 builtin profiles: Disable Memory Info: keys recorded: 12 keys remaining: 157 memory used: 8% Recorded Keys: Index hash key ----- --------- --- 0 9F11E0D7 play/pause 1 5F25EB06 play/pause 2 1FC1F416 stop 3 DF2A8BEF stop 4 DF34F416 rewind 5 9F9E8AEF rewind 6 5FC5F416 fast_forward 7 1F2F8BEF fast_forward 8 808C56CC prev_track 9 40662E24 prev_track 10 5F8C56CC next_track 11 1F662E24 next_track $ ./flirc_util status Last upgrade attempt: Error The latter output is surprising and the "Error" does not disappear when I "force upgrade" from the GUI. Any hints how to solve this? Michael
  8. OK so the above command works and my flirc generates Ctrl+P when I press the appropriate key on the remote, but here's what's weird. The key doesn't show up when I type "flirc_util settings", but an index (in this case, 3) is skipped. Here's the output: flirc_util version v1.2.6 [v1.2.6] Firmware: v2.6 Settings: sleep detection: Disabled noise canceler: Disabled inter-key delay: 4 state: 0 builtin profiles: Enable Memory Info: keys recorded: 10 keys remaining: 159 memory used: 6% Recorded Keys: Index hash key ----- --------- --- 0 1F4078A3 > 1 5F190E7C < 2 DF5224B7 * 4 148C61EE next_track 5 DF895EFB next_track 6 D467F8DB prev_track 7 1FCEF6C8 prev_track 8 404078A3 play/pause 9 DF3B78A3 stop
  9. I finally figured it out. I was using the ascii key, p, for the second argument to flirc_util record_api. I should have been using the IEEE HID code, 0x13 = 19 (base 10), which I got from this post: which lead me to the HID codes here: http://www.freebsddiary.org/APC/usb_hid_usages So to set a key to generate Ctrl-P, the correct command is: flirc_util record_api 1 19
  10. Hello to every one, this "how to" guide is writen for people who are new both to flirc and XBMC, and to all who want to personalize their flirc/xbmc expirince. I would like to thank Jason for flirc an all of his hard work on it, to jhsrennie for his Keymapedit and to Chris! for his help with this guide. Keep up the good work guys! I am just an end user like you guys - so I don't know how all of this things work, but i know they work - that is important. INTRO XBMC can be personalized to the smallest detail - keyboard also. You can program flirc as minimal remote, xbmc remote or keyboard - I use the latter (keyboard) as it will give you most flexibility and you can "unlock secret xbmc treasures" this way. On XBMC wiki you will find "full list" of built in keyboard controls for xbmc. ABOUT ADDITIONAL FUNCTIONS IN XBMC I use uni remote, like many remotes (for me) it has a design flaw, media contol keys are all the way down, so you need to move your hand when moving from navigation keys to ff/rev and pause (when you are watching your favorite TVshow and you want to ff intro). I have my remote setup that way that when in full screen video my left/right navigation keys are used as ff/rev keys, my up/down keys are used for direct subtitle +/- offset and OK button is used for pause. My power button will put XBMC to sleep - without need to go through power menu and so on. For me this is the ultimate - because there are so many thing that you can do by just pressing one button on your keyboard, the beauty of this combination is that you can assign any key on your remote to any key on your keyboard. For example: you can send update library command when in main menu - if you have recently added video enabled in your skin, you can go directly to latest movie/tvshow episode from recently added menu, without need to search them in library - if you have lots of movies or tv shows with many seasons you know this is great. You can go directly to video/music/settings window and so on One of my favorites is running scripts with key press - I only use it to run "Cinema expirience" normally you have to go to movie info and select CE "button" to run it, if you have lets say F2 key assigned to run script you can run it directly from your library https://lh5.googleus...xcpoc_EfaKlu3sQ HOW TO - IN A FEW EASY STEPS First locate your "\XBMC\userdata\keymaps\" folder - its position will depend on OS you are running your XBMC on, the folder will be empty - latter on will put keyboard.xml there IMPORTANT: all keys that you put in this file will override default behaviour of your keyboard keys, so be careful what key you chose (use link to wiki to chose keys that have no function assigned in XBMC). 1. METHOD OF CHOICE There are two ways of doing this that I know of: 1. manually make kayboard.xml - you will need to know functions of xbmc + html - PLS DO NOT ASK ME ABOUT THIS METHOD - haven't got a clue 2. Use KeyMapEdit - it is only for Windows though - you Linux guys can run some vitual machine to set it up or something - maybe there is a linux version i don't know 2. USING KEYMAPEDIT Using this little program is pretty easy - apart from the fact that there are so many functions You have to things that need your attencion: a) append section B) append key a) append section - will not add commands but make a "sub section" so you can assign same key to diferent function when in diferent menu/window of XBMC -like my full screen video left key is rew in full screen video, but if i call OSD it is again left. B) append key is where you actually assign letters to function. You will need to explore and try some thingS on your own, there are so many functions that there is no point for me to try explain all of them. It is simple - chose key on your keyboard - chose what you want it to do NOTE: some buttons (in my experience) will not work well when you try to assign double functions to them so it my be needed to change some default buttons to max out your setup, for example I have assigned leter "J" to be my select buton - if I leave "enter" it will not work properly for pause in full screen video. 3.USING YOUR NEW SETTINGS Save your config file as keyboard.xml and put it in \XBMC\userdata\keymaps\. NOTE: you need to restart your xbmc to pick up your keyboard.xml as it will only serch for this file and load it on start. You can add /delete keys at will, no need to make new file every time. TIP: Make your self shortcut to your \XBMC\userdata\keymaps\ and put it in documents map as Keymapedit will not remeber path to file when restarted - so you will be able to navigate to keyboard.xml easily. If you have any questions please be free to ask them, we will try to help you in any way we can.
  11. I have flirc mostly running on an android box with xbmc. I have set up a harmony remote with the Flirc profile, which works almost perfectly, but I need the "back" button to send the "esc" command. How can I do this? Edit: did a quicky test, and it turns out the Flirc produces space for "exit", and backspace for the back key. But if I do "flirc_util record escape" I get "button already exists". Escape is indeed tied to a key, but I have no idea which; the settings say "257BC215 escape" I've seen the FAQ suggesting "use any other remote", but I don't know what that means. Should I set up a boxee remote in MyHarmony? And then do what? Edit: I was able to edit the keys with flirc_util
  12. Hmm... you may need to increase the inter key delay: https://flirc.zendesk.com/hc/en-us/articles/201366933-Double-Key-Presses (Not sure how to do it via command line though, apologies)
  13. Hello, I have Flirc running firmware 2.4, Harmony Ultimate remote, and RaspBMC. When I first installed Flirc it worked great for a couple of weeks or so. Then I started getting the repeating keys issue and every button press would result in to two. I searched the forums and found a lot of things to try such as modifying the remote to use Repeat = 0, changing the delays, etc. But after I tried changing it now nothing works. My remote keys still work in the Flirc configuration program (for example when I press up on the remote the up button the lights up in the configuration progrm). But now my raspbmc doesn't seem to recognize any remote key presses at all. Is there something I can do on the raspbmc command line to remove the flirc and start again?
  14. Thanks for the reply. I get this: -bash: flirc_util: command not found Does it matter that I setup my Flirc on my Windows laptop and then plugged it into my Raspbmc?
  15. You should update your harmony software. I was able to locate a build in profile for Flirc. Use xbmc as the model when prompted. This isn't home free, you would still need to remap with Flirc to match with controls that will work both on fire tv and xbmc. I used the wiki site for key mapping. The harmony software also has context menu command build in so you don't have to do any of the command line stuff.
  16. Unlike the people complaining that they have problems with repeating keys, I would actually like that. I have to press the up or down button a million times to scroll though a long list of shows. (what is this the dark ages? lol). I am wondering if there is a way for the Flirc to just repeat the command as long as you hold down the button?
  17. First off I just want to say that I really enjoy using my flirc, thanks for making such a great product! That said, I really think this should be the default behavior of the wake command (to also put the computer to sleep when pressed) but that may not be possible so here is my solution. Sorry this is so long but that's only because it goes step by step by step. :) Obtain the beta firmware and utility. Current ones as of this writing available After you extract the zip you might need to move the firmware file to the same folder the flirc_util.exe file is in. Open a command prompt and navigate to the folder flirc_util.exe is in. If you have already set up your remote buttons then you should back up your flirc's config, Type flirc_util saveconfig myConfig Then to upgrade the firmware type flirc_util upgrade fw_255.9.bin You can then reload your config flirc_util loadconfig myConfig.fcfg You can now record a button to wake up your computer when it is sleeping. If the button you want to use is already mapped to something you will have to clear it first with flirc_util delete and press the button on your remote that needs to be cleared. Then record the wake command flirc_util record wake and press the button on your remote you want. To make the flirc able to wake the computer type flirc_util suspend_detect enable (there are still bugs and error messages when this is enabled but you can mostly ignore them.) Save your flirc config again now flirc_util saveconfig myConfigWake At this point you should have a remote that will wake your computer from sleep. Its always good to test things so go ahead and try it out! So now that that works we need a way to put your computer to sleep. Eskro has made a great guide on how to do that with a system call shortcut. But we need to put these two together somehow. So instead of a shortcut to a system call we will make a shortcut to a .bat file that will make the system call and other various things. Before you go any further you should move the flirc_util.exe and your myConfigWake.fcfg somewhere more organized. Mine are at C:\HTPC\Flirc. In this folder create a new txt file and name it Sleep.bat Right click on the Sleep.bat and click edit then paste this into it and save it. cd c:\HTPC\Flirc flirc_util loadconfig myConfigWake.fcfg flirc_util suspend_detect enable rundll32 powrprof.dll,SetSuspendState So there is a little bit more in there then just the sleep command but it will soon be clear why. Next we need a way to run this bat file. In Eskro's thread some people suggested creating a shortcut in your startmenu or on the desktop that has a shortcut key. That worked fine for me until I started XBMC and then it wouldn't work any more so I made an AutoHotKey script for it instead and haven't had any more problems. So go download AutoHotKey and install it. Make another txt file and name it Sleep.ahk. Right click on Sleep.ahk and click edit then paste this into it, save it, close it, and double click it to run it. ^!s::Run C:\HTPC\Flirc\Sleep.bat Also we need to make a shortcut of Sleep.ahk and put that in the startup folder in the startmenu. The ^!s in the AHK script means ctrl-alt-s. You can make this anything you want, just make it something you are not using already. We need to setup flirc now to make one of the buttons on your remote press ctrl-alt-s or whatever you made it to be. Actually we're not going to make just any button do that, we need to make the same button that wakes up your computer to press those keys. So back to the command prompt! Type: cd c:\HTPC\Flirc flirc_util delete flirc_util record_api 5 22 flirc_util saveconfig myConfigSleep If you are not using ctrl-alt-s then you will need to give the record_api command different arguments to reflect your hotkey. You can type flirc_util record_api help for the syntax and you can look up the list of HID codes starting on page 53 of this pdf file. We need to make one more .bat file that will be run by windows Task Scheduler when windows is coming out of sleep mode. Create a new .txt file and name it setFlircSleep.bat. Right click setFlircSleep.bat and click edit and paste this code into it and save it. cd c:\HTPC\Flirc flirc_util suspend_detect disable flirc_util loadconfig myConfigSleep.fcfg Now hit start and in the search bar type Event Viewer (yes Event Viewer, not Task Scheduler.) On the left side expand Windows Logs and click on System. You should have some recent events from when you were testing your wake button with a source listed as "Power-Troubleshooter" and an Event ID of "1". Right click on one of them and click Attatch Task To This Event. Click Next, Next, Next, then click browse and find your setFlircSleep.bat file. One last thing to do is to make a shortcut to setFlircSleep.bat and put that in the startup folder in the startmenu. This is to ensure that in the off chance that your computer loses power while it's sleeping, the remote will still be able to put the computer back to sleep when it turns back on. The final contents of my c:\HTPC\Flirc folder are: flirc_util.exe Sleep.ahk myConfigSleep.fcfg myConfigWake.fcfg setFlircSleep.bat Sleep.bat and both Sleep.ahk and setFlircSleep.bat have shortcuts in the startup folder. And thats it! Congratulations on setting up sleep/wake on the same button with your flirc! note: The use of the flirc_util suspend_detect enable and disable commands may be unnecessary with future firmware. They definitely help at the moment but it still might not work every time. I only tested this on Windows 7 64bit but it should work fine on other versions. Also I consider this solution a super messy hack (reprogramming the whole flirc config twice every cycle lol) and I hope this functionality will eventually be supported in the main application but its working fine for me and I'm happy with it.
  18. I have a new install of Kubuntu 13.10 on at Intel DN2820. I have downloaded the zip file and extracted Flirc and flirc_util. Attempting run do sudo ./Flirc returns to the command line and if I do a dmesg I get this: [16813.819316] Flirc[5025]: segfault at 4 ip b776ff53 sp bfb76590 error 4 in ld-2.17.so[b7765000+20000]. Is there an update or other way to correct this issue. Thanks
  19. a. this isn't really possible with flirc yet. it can be in a firmware release, but I don't have it planned at the moment. b. you'll need to use something like event ghost to launch an application with a custom remote command
  20. Hello, I have a suggestion to add a record_raw command that works like the record_api command with the addition to pair with raw IR code. This would be great to make it easier to edit, rearange, sort, copy and append differend configs in a ordinary textfile and then program the file into flirc. I would also like the plex_utils keys command to show all keys...now it doesn't show the keys with modifiers. / Zälda
  21. Thanks for the gifts you sent! Really not necessary! As I mentioned, I haven't found a good solution to the "Home" command for fireTV. Anything that I tried, either doesn't work or works like a "Back" command. LMK if I can help, and thanks again, Tony
  22. Hi Everyone, Newbie here! I recently bought an Amazon fireTV and love it except for the remote! It is bluetooth and I can't use my URC 980 programable IR remote with it since there are no IR commands to learn and no IR input. So Flirc comes to the rescue! I have programmed everything that I need except the "Menu" key. This thread discusses it but seems to assume a level of knowledge that I don't have. Can someone please post some info on how to use the command line app and where to find it? I'm using Flirc 1.2.5 and firmware 2.3 on a Win 8 64 bit PC.
  23. Is there a way to map the menu key on the keyboard, perhaps on the command line? It's usually next to the right Windows key.
  24. I have this same remote and also can not get it to work. If I try to program 80 keys, it works just fine, but when I add the last 4 (total of 84) the Flirc simply stops working and NONE of the buttons on the remote return a value. I have version 1.2.4 and the latest firmware. Suspected that there may be a problem with the "erase" command and started fresh. This time only programming 76 buttons on the remote and saving after each group of buttons. All seems to be working, even the previous keys that gave me the "button already exists" error. I can manage with the 76 keys, I will try the last 6 or so later on and save after each time and see what happens. Maybe the act of erasing and adding adds to the memory?
  25. So I just bought a new remote and went to reprogram everything including my Flirc. First I had several problems with getting errors such as "button already exists". So deselected all the profiles and forced an FW upgrade. Now I am not getting any response from the Flirc when trying to program the buttons. The software program says that it is connected but when I go to program a button, the Flirc does not seem to receive the command. I have tried with several different remotes at varying lengths and angles with no success. I have tried restarting, reinstalling, different USB ports, but nothing seems to work. I have also tried the software on Mac OSX and windows 7 through parrallels. Thoughts? Thanks.
×
×
  • Create New...