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. 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
  2. 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
  3. 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. :)
  4. 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)
  5. 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.
  6. 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.
  7. 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 -.
  8. 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]
  9. 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
  10. 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.
  11. 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
  12. 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
  13. 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
  14. 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.
  15. 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
  16. 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)
  17. 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?
  18. 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?
  19. 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?
  20. 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
  21. 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
  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...