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. To get the right decimal HID value from your keyboard to use in record_api command, you can use this in a shell command as well: su -c "while true; do od --read-bytes=144 --width=144 -d /dev/input/event3 | awk 'NF > 1 { print \$12 }'; done" On another note, I think it is a huuuuge hassle to do all this just to get my Flirc use the "-" key instead of the "ß". :-/
  2. That was it !!!! Connect the dongle to my windows machine and started the GUI - a few moments later it indicated the firmware update and I was up and running again. No additional programming needed. Thanks Jason #output from flirc_util command flirc_util version v1.2.6 [v1.2.6] Firmware: v2.6 ....
  3. # output from flirc_util command flirc_util version v1.2.6 [v1.2.6] Booloader: v2.0 Commands: delete Delete next remote button flirc sees from saved database delete_index Delete button at index displayed in `flirc_util settings` dfu Kick in or out of Device Firmware Upgrade mode dump Dumps contents of eeprom to console format Remove all saved buttons from flirc help Show this help. Also try `help <command>` interkey_delay Test run command keys Shows the recorded remote keys and their pairings loadconfig Load configuration file from disk to flirc noise_canceler Noise canceler to prevent phantom presses normal Put flirc in normal user mode peek Peek EEPROM address profiles enable or disable built in profiles reboot Displays all the devices current settings record Record infrared buttons and link them to HID keys record_api Advanced button recording saveconfig Save configuration file to disk settings Displays all the devices current settings sleep_detect Turns on sleep/suspend detection space Displays information about the space used and remaining status Last Flirc Status upgrade Uploads new firmware image to flirc hardware version Print the application version and device version if connected wait Waits for the device to be plugged in (used for scripting)
  4. A few moths ago, I purchased Flirc and programmed it on my windows machine using the Panasonic TV profile as posted at Plugged the Flicr dongle into my XBMCBUNTU machine and everything worked great. Best gadget I have ever purchased. I have since had to reinstall XBMC on that machine and instead of using XBMCBUNTU like I originally did, I installed Ubuntu and added the xbmc packages. I was expecting to just plug the Flicr dongle in and it would work just like before since the programming is contained on the dongle, but it now does nothing. The remote is sending the command(based on the feedback indicator on the remote), but I get no response on the XBMC machine. I did the obvious things: 1. Add 'deb http://apt.flirc.tv/arch/i386 binary/' to /etc/apt/sources.list 2. apt-get update 3. apt-get install flirc Enabled the 'remote sends keyboard commands' option within the XBMC configuration. Was there some other step that I had forgotten or overlooked that was part of the XBMCBuntu install that would be missing by installing the full OS? I have ran out of ideas of what to check, where to look, etc Any suggestions?
  5. After lots of faffing, I have two FLIRCs connected to a FireTV and Windows based XBMC, translating IR codes from a Global Cache iTach IP2IR into simulated qwerty keyboard keys. I'm using Command Fusion's iViewer app on an iPad to present the user with a touch screen virtual keyboard. iViewer is in fact controlling a fairly large and complex AV system and I desperately wanted to remove the need for a physical keyboard. I just wanted to give a quick run down of some useful tools and the issues I encountered. Because of the sheer number of unique IR codes needed (150+) to cover a full keyboard implementation for two devices, rules out using an old remote control to programme the FLIRC. So instead I used IR Master http://hifi-remote.com/forums/viewtopic.php?t=13655 to generate clean Pronto Hex IR codes using the JVC protocol. I initially used NEC1, but this interfered with some other devices I have, not to mention conflicting with some standard MCE IR codes, including the Streacom IIRC device installed in the XBMC HTPC. As a side note, the Streacom IIRC unit should be capable of acting as an IR keyboard, but if you can work out how to use the custom programming tool then you deserve a medal. I then used Global Cache's iConvert tool to convert the pronto hex in to something the iTach unit understands. I wrote a simple AutoIT script to convert each code, pulling the pronto hex code from a file, converting it in iConvert and saving the converted code back to another file. Once I had configured the iViewer app on the ipad to send the JVC codes in response to me pressing the keys on the iViewer virtual keyboard, I set about programming the FLIRC using the XBMC, FireTV and Full Keyboard profiles in the FLIRC GUI. This took some time, especially as I encountered some issues erasing keys when I made a mistake. I did not find any way around this other than doing a full wipe and starting again taking more care. The only other problem I encountered concerns the US keyboard mapping in the FLIRC GUI. For XBMC this means that symbols were not being interpreted correctly. If FLIRC is going to be your only keyboard then you can configure windows to just use a US keyboard layout, but I want to be able to easily switch back to a UK keyboard. For this I found this utility, http://www.codeproject.com/Articles/20994/Using-multiple-keyboards-with-different-layouts-on. This remaps the layout for each keyboard. You would think this would be something Windows could do on its own, but apparently not! The keyboard layout doesnt seem to be an issue for FireTV because it only makes use of the Alphanumeric keys as far as I can tell. I'd be happy to expand on the steps if this doesn't make sense, but it might point someone in the right direction and save them time.
  6. I recently bought an Xbox One, and one of the neat things it can do is control your whole home theatre by voice command. It uses the Kinect as an IR blaster, and it can turn on and control your AV receiver, TV (or projector in my case), and TV set top box. You can even turn the whole shebang on and off by saying "Xbox On" or "Xbox Turn Off". It lets you change channels with your voice, and even gives you a really nice schedule program grid for watching TV, which is something my OTA STB (on the far left of the photo) doesn't do. Unfortunately, there's one thing it can't do, which is change the inputs on anything, or control an HDMI switch. As you can see in the previous photo, I've got a Monoprice 4x2 matrix switch handling all my devices. It lets me take any of my inputs and send them to either the projector, or my PC monitor on the other side of the room. Normally I use a Harmony remote to control everything (to help me remember which inputs are which). The Xbox One was actually a fifth input, but that didn't matter, because the Xbox One has an HDMI input that you run your STB through. Anyhow, I really wanted to be able to turn everything on and off with the Xbox voice commands, and I noticed that the HDMI switch has a serial port on it: It turns out that you can completely control the switch via the serial port, doing anything that the remote can do. Even better, Monoprice publishes (on their website, despite the big "CONFIDENTIAL" label) documentation on the commands you need to send to control the thing: Serial ports are kind of hard to find on modern PCs, but I had an ARM dev board lying around. It's a PandaBoard, which has the hardware of a high-end smartphone from two or three years ago. My original plan was to stick it inside an empty NES case and use it for emulation, but that didn't pan out (not fast enough, and vsync didn't work), so it's been sitting on a shelf for ages. I thought, this thing has serial ports, and some googling turned up FLIRC, and this thing has USB ports, and even though it's got an ARM chip, you can load Ubuntu Linux onto it instead of Android... It would be crazy expensive to buy this just for this project (the board is a few hundred dollars), but since I already had the thing lying around... I figured why not put it to some use for a change. If I was doing this from scratch, I'd grab a Raspberry Pi to do it at a fraction the cost. Anyhow, here's it all wired up (albeit pulled out from the back of the shelf): I programmed the FLIRC to send a keystroke whenever it saw the power command for my OTA STB, because the Xbox One would be the only thing that would ever send that command, and it would only send that command when it was turning everything on or off. Then I configured Ubuntu to run a script whenever it saw the keystroke the FLIRC would send, and I wrote some bash scripts: And what's the result? It all works! The final setup is actually the *first* photo in this post, you can just barely see the PandaBoard and FLIRC hiding at the back of the shelf behind the AV receiver, out of view. I can now say "Xbox On", and the FLIRC will see the Xbox's commands, and cause my HDMI switch to get turned on and switched to the right inputs. It also turns the HDMi switch off when I tell the xbox to shut down, although the scripting on that is a little spotty (it only works about half the time), so I'll need to tweak the script to get that as solid as the power up. Here's a youtube video of everything getting turned on. I've cut out the lengthy wait for the projector to warm up. Keep in mind that the XBox has absolutely no way to directly control the HDMI switch!
  7. Temporarily changing the inter delay setting didn't work for me. Plus, I've had to disable the Noise Canceler feature as it caused the response to be fairly sluggish. So my two issues continue to be: (1) the Alt-F4 mapping, which almost always send that command twice, and (2) crazy key repeats are still occuring on average 1-2 times per week.
  8. I just noticed something that could be relevant. I was using my remote with Flirc, just browsing my Plex library, and decided to turn of my air conditioner. When I did so using the IR remote, I heard the USB disconnect sound come from my media center, which I found odd. I went back to the couch and my Flirc was no longer responding. I plugged it out and back in, all was working again. So i turned my AC off on and back off and same thing, Flirc is disconnected. IT seems as though Flirc is receiving a shutdown command from my AC remote. How can i disable this?!?!
  9. I'm using Openelec on a Raspberry Pi B+ and recently bought a Logitech Harmony to control it. I'm trusting the embedded profile, and it seems to work very well. After a while though the volume down key or command (and ONLY this one, so far) stops working. Unplugging and replugging the FLIRC doesn't help, only a complete reboot of the RPi will let it work again. It's not a tremendous hassle but it's somehow distressing. Anyone got any clue on this? Is it a firmware bug?
  10. hi mate thanks for the reply. using v3.0. and using the following remote http://www.ebay.co.uk/itm/GENUINE-WINDOWS-MEDIA-CENTRE-REMOTE-CONTROL-W-BATTERIES-RC118-H24-DG1-/300821546294?pt=UK_Sound_Vision_Other&hash=item460a5c8536 i was under the impression that this can be used with ANY remote. that was main attraction to this device. with regards to f9.f10 etc, those are the buttons that adjust the volume on xbmc. im also unable to use any command with the centre windows button. can you help please.
  11. Hello, I've searched to try and find a way of mapping a button so that when and if xbmc freezes I can push this button and it runs killall -9 xbmc.bin. However what I have found doesn't seem to work. I am running xbmc as a desktop so it boots straight into it. I created a script which is just the command mentioned above and made it executable. When I'm on the desktop and run it, it works. but when I reboot and go to xbmc it will not work. Can someone who has done this can give a quick tutorial on how to make this work it be much appreciated. Thanks.
  12. This solution is incorrect. Please look at my next post for a proper one. You can use flirc_util command line utility. It has a record_api command which allows you to assign a remote buttons to any arbitrary key and modifiers. From the help in the utility itself (version 1.2.6) the usage is as follows: flirc_util record_api 136 4 where 136 is the combined value for modifier keys, and 4 is the key code on the keyboard (all values are decimal). The modifier value is composed of following values: LEFT CONTROL 1 LEFT SHIFT 2 LEFT ALT 4 LEFT CMD|WIN 8 RIGHT CONTROL 16 RIGHT SHIFT 32 RIGHT ALT 64 RIGHT CMD|WIN 128 So if you want to use for example left control + left shift then the modifier value for the command will be 3 (logical OR, but you can just use sum of both values). The key codes are a little different for each keyboard layout. That's why you have problems mapping the buttons using GUI as it is based on US layout key codes. You need to find a list of key codes for French layout or you could use some application that shows you the key code when the key is pressed. BTW the key codes are assigned to a physical key, not to a letter or symbol. So for US keyboard layout = and + have the same key code but they differ in modifier keys used (in case of + sign you need to add shift modifier key).
  13. smikloz

    Repeats a Key

    Hi I have the FW 2.6 I have on two different Mac Minis using a Flirc receiver a problem with one of the recievers I have mapped the Apple + G command for a guide and assigned a command to a Logitech Harmony remote (have two identical setups in my living room and bedroom. My problem is that the Guide keeps popping up even when the key is not pressed. It only occours with one of the FLIRC receivers. So when moved from one computer to another the problem moved with the receiver. I have no clue how to solve this. But closing the Flic App does not solve it, I have to disconnect the Flir reciver. I am running fully updated OSX and using remote buddy together with the flirc keyboard commands. The Harmony remotes has learned a bunch of IR codes from an old remote which I used to map key commands into Flirc for fully control of EyeTV, PLEX and XBMC. The EyeTV infrared reciver is not in range as they are the netstreams located in the basement. I really hope you can help. My expectation is that there is something wrong with one of the Flirc receiver. Thank you
  14. Hi Jason, This is from my original post: Programming the menu key requires use of the windows command line program. There seems to be some confusion in the forums about reference to the command line app. It is not part of Flirc or the Flirc GUI, but part of windows. Now my level of knowledge pales in comparison to many of the members here, but this is what I was able to decipher. I found this page to help me learn about the command line commands: http://www.pcstats.c...eid=1723&page=2 As I mentioned, the command line program cmd.exe Is part of Windows. You can get to it and number of ways depending on your version of Windows. Use it to navigate to: C:\Program Files (x86)\Flirc for 64 bit OS or C:\Program Files\Flirc for 32 bit OS then type: flirc_util.exe record_api 0 101 It will then ask you to point the remote and press the button you want mapped just like the GUI. Once you do that it will tell you that you were successful.
  15. Thank you for looking into this. The command line trick did no seem to work for me though. I erased the button I use for 'Enter' then did the following : C:\Program Files (x86)\Flirc>flirc_util.exe record return Press any button on the remote to link it with 'return' Succesfully recorded button However the behavior is the same as before. Looking forward to the new GUI. An amazon tv gui setup will be awesome.
  16. command one: pi@raspbmc:~$ sudo apt-get update Get:1 http://archive.raspbian.org wheezy Release.gpg [490 B] Get:2 http://archive.raspbian.org wheezy Release [14.4 kB] Get:3 http://archive.raspbian.org wheezy/main armhf Packages [6891 kB] Ign http://apt.flirc.tv binary/ Release.gpg Ign http://apt.flirc.tv binary/ Release Ign http://apt.flirc.tv binary/ Packages/DiffIndex Hit http://apt.flirc.tv binary/ Packages Ign http://apt.flirc.tv binary/ Translation-en Hit http://archive.raspbian.org wheezy/contrib armhf Packages Hit http://archive.raspbian.org wheezy/non-free armhf Packages Ign http://archive.raspbian.org wheezy/contrib Translation-en Ign http://archive.raspbian.org wheezy/main Translation-en Ign http://archive.raspbian.org wheezy/non-free Translation-en 100% [3 Packages xz 0 B] and command two : sudo apt-get install flirc Fetched 6906 kB in 1min 37s (70.9 kB/s) Reading package lists... Done pi@raspbmc:~$ sudo apt-get install flirc Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package flirc HTH, and hope you can help me. I am probably not understanding the process properly.
  17. I have an amazon fire tv/flirc/harmony setup. Using the panasonic tv profile I have remapped all of the buttons to exactly how I like them. Though I have run into one small snag. I used one of the buttons to program the media center sleep/suspend command and put the amazon fire tv to sleep. With that button now programmed for sleep I setup the harmony remote to press that button when I press off to turn off all devices. It all works great and I love it. Recently I have had the issue with repeated key presses on the remote. If I enable the noise canceler in the advanced setup it goes away and that problem is solved. But now with the noise canceler on, the harmony no longer puts the amazon to sleep. If I go back and turn off the noise canceler, the fire tv goes to sleep when I press off on the harmony but I am stuck with the repeated key presses issue. Is there any way to allow these to work hand in hand? Thanks
  18. 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.
  19. 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!).
  20. 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?
  21. Just wanted to say thanks for a great product. My apologies for the long post. This is kind of a feature request/bug report of sorts. More than anything I'm sure the problem lies with the myharmony app, but I'm hoping you find this worth reading and can come up with a solution. I have run into an issue that I thought should be brought to your attention. I recently purchased a Flirc and a Harmony 650 for use with an HTPC running XBMC. The biggest motivation for me in purchasing these products was that I have an older tv that has some HDMI handshake issues with my AVR. Everything works, but only if I turn it all on in a certain order (htpc first, then avr). If I turn the avr on before the htpc, then my screen will basically flicker between on and standby every 5-10 seconds. For that reason, I purchased a Harmony 650 with the intention of using its activities to make powering everything up in the right order as simple as possible (especially for my girlfriend). While trying to set this up, I noticed an odd issue. After setting up my remote with flirc for use with xbmc, and even getting so far as to configure fully functioning buttons for putting my htpc to sleep and wake it, I then went to create the activity to turn everything on in order. I selected the flirc and my avr as the two devices to be used in this activity and instructed the myharmony app which input I wanted the receiver set to. Upon completing the creation of the activity, I tested it out and it didn't work. It turned the avr on, but not my htpc. I then went to customize the activity to see if there was something I could change to get the functionality I wanted and that's when I noticed it: in the table showing the activity startup commands, the only thing being listed as being turned on was the avr (the flirc was nowhere to be seen). Of course, I could add the flirc and the command that I had bound to wake the htpc up from sleep...but only after turning the avr on (the activity startup commmands has a default order of execution that can't be edited or reordered). This was the exact opposite functionality that I needed from this in order to avoid the hdmi handshake issues I mentioned. I then went and loaded one of the Panasonic TV profiles and configured all of the buttons manually with flirc, essentially following all of the same steps as before. But this time when I made the activity the myharmony app listed turning on the Panasonic TV (my htpc in this case) first and then turning on the avr. This was exactly what I was hoping to achieve. However, I much preferred how the htpc responded to controls from the flirc profile than from the Panasonic TV profile in regards to delays etc. I noticed that the flirc profile didn't actually have a command titled "Power On" and thought that might have something to do with it. So I grabbed an old remote and used it to teach an IR signal to my Harmony 650 with the intention of using it as a "Power On" signal. However, the original behavior where the receiver was listed as the first (and only) device to be turned on repeated itself. I've included screen caps of the flirc and Panasonic profile activity startup command tables so you can see what I'm talking about. Is there something inherently different about the myharmony Flirc profile as compared to the Panasonic TV profile that is preventing me from using it how I'm wanting to? Would it be possible for any changes to be made to the Flirc profile so that it behaves like the Panasonic profile does so it can get listed as the first device to be turned on?
  22. 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?
  23. 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.
  24. 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.
  25. 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
×
×
  • Create New...