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. How tough would it be to write something similar to the Flirc GUI that could be run cross platform in a browser over an http port, the way you might control things like Sickbeard, SABnzbd+ or CouchPotato? Then even OSes without their own GUI could make use of a more graphical means of configuring Flirc. This would be great for people like me, who have a Flirc that decided it hates Mac and only wants to function properly from a Linux command line.
  2. Hi Jason, thanks for the response, I can try that. The problem is that I don't know what key would be a problem. There's no specific stuck key, it's alway just the last one I tried to map using the GUI. I only see this issue on my Macs, and it happens in the dark as well. I was able to program the entire remote using the command line Linux utility via ssh (in the same room with the same ambient lighting). It waited for me to press my remote buttons, and they all mapped accordingly. On the Macs, usually it doesn't wait for me to press a remote button at all, it just says that a key was already mapped. If I clear it and start over, I typically only get a couple of buttons in before one starts sticking again. On the XBMCbuntu box, the only thing not working is wake (which may be a problem with Ubuntu and not the Flirc) and the ctrl+i and ctrl+e mapping (which you addressed in another thread, and I will attempt to troubleshoot). Is there anything else you'd like me to try? And do you have a suggestion for which button to delete if all of them work on Linux and the one that sticks on Mac is not consistent?
  3. While I certainly wont rule out that the unit is defective, I believe I may know the cause. Flirc may be recording a signal seen from your room lighting, or even television. When this happens, a good trick would be to open up the GUI, and press the delete command. The next key 'seen' by flirc will be deleted. That way, if an erroneous signal was recorded as 'some' key, you will un link it. Let me know if that does the trick.
  4. This seems like the same issue I posted about in this thread: I got CTRL-E to map, but can't get CTRL+M working, and I don't even know what I'd do to map CTRL+I to work since the HID value for the i key contains a letter, which the Flirc command seems seems to ignore. Perhaps some keys just don't map correctly yet and a new firmware version could address it?
  5. Hi, I've been playing with this a bit, using the Panasonic TV as a device. Has anyone else noticed that it sends a power toggle rather than a power on or off? It seems like that's happening for me. For anyone else doing this, I recommend using a spreadsheet to keep track of your changes as you program it, because it can get confusing. I made one with 5 columns: 1. The actual button on the Harmony remote 2. The command sent to the nonexistent Panasonic or Samsung TV, or a device you have 3. The command executed by Flirc or other device 4. The result of the command, as in, what is accomplished by the button press 5. Whether the command is the default for the software or not, and what the default was if it's not (helps keep track of changes I may have to make) In column 3 for instance, many of the entries will be keyboard keys "pressed" by Flirc, but things like volume and mute target the receiver and are labeled as such.
  6. I have been using the command line utility to program my flirc. Trying to write a batch file so that I can script the prompts for each button, as the GUI is not cutting it. Features: 1) Can we get a command line "FlircWatch.exe" This application should just watch for Remote Presses and display the code on the screen (kind of like irw?) 2) Can the config files be in XML? It would be super handy to be able to edit the config files with a simple text editor. Combining 1+2, it would be super easy for users to be able to craft and share configs, or see slight differences. 3) Flirc.exe record (command line) This is missing "Wake" "Period" and "Comma", without these I cant get my Next/Previous chapter to work in XBMC, and cant wakeup my Zotac9300 itx. 4) GUI to include sensitivity settings, with some sort of scale (is Zero super sensitive and 99 super dull?) I am happy with my flirc so far, but could be a little easier. Probably doesnt help that I spent the first hour using an old XBOX remote. (bad frequency)
  7. Okay, this is strange. I figured I could use 1, 16 or 17 for arg1 since my key commands should work with either the left (1) or right (16) control key, and the keys I'm trying to map are: ctrl+e ctrl+m ctrl+i Those shortcuts go to videos, music, and picture libraries, respectively, in XBMC. So I tried the following commands: flirc record_api 1 8 and flirc record_api 1 10 ...and I couldn't find a numerical HID value for i (the guide I was reading to find the other two values listed i as 0C which flirc didn't seem to like). The weird part is that the first command worked perfectly and the button I mapped now takes me to my video library, but when I press the button I mapped with the second command, it acts like I'm pressing m and not ctrl+m. I also tried putting in 16 and 17 for arg1 in both commands, and the results are the same. The ctrl+e command maps fine, but the ctrl+m just acts like I'm pressing m without the ctrl key. Any ideas what I'm doing wrong? And any tips on what value I should use for the i key?
  8. Is there a way to program shift and control key commands from the linux command line utility? My Flirc always sends stuck keys to my Mac when I try to run the graphical Flirc.app to program it, but it works great on my XBMC box running XBMCbuntu, so I'd rather use that.
  9. Firmware: 153 aka fw_wake.bin Flirc Version 1.0.3 Remote Harmony 885 (Using Samsung profile posted elsewhere) System Windows 7 x64 Problem: No real problem per say but the def value for sensitivity is not correct or the format command is not setting the def sensitivity value correctly. Steps: From the Flirc.exe commandine type flirc.exe sensitivity 99 (used 99 on purpose so it outputs the info about the specified range/def value) Output result: invalid sensitivity specified, range[0-3], def 3 Note the def 3 value. Now do flirc.exe format Once the format is complete do: flirc.exe sensitivity Output result: current sensitivity: 2 Now this can be interpreted two ways, either the def 3 should actualy read def 2, or the format command should be setting the sensitivity to 3 and not 2. Like I said at the start, not a major problem, but a bug none the less. Also...just found another bug type: flirc.exe sensitivity help (to see if there was any help availible for the sensitivity command) Output result: sensitivy set: 0 You must re-learn your remote buttons with every different sensitivity Thus invalid sensitivity values, result in setting the sensitivity to 0 Expected result. Either some help info displayed; else the same error result from using flirc.exe sensitivity 99 Regards Neal
  10. Firmware: 153 aka fw_wake.bin Flirc Version 1.0.3 Remote Harmony 885 (Using Samsung profile posted elsewhere) System Windows 7 x64 Problem: Getting "error: no space on device" using Flirc.exe from then commandline Steps: flirc.exe record wake or any other button, only in this case it was the wake key Output result Succesfully recorded button Test the command using the remote, nothing. so usualy I repeat the command flirc.exe record xxxx until i get an output result of: error: button exists Then I know it recorded ok. However doing this today resulted in error: no space on device What it looks like, is that the Flirc is *maybe??* recording a slightly different remote signal every time, thus filling up the internal memory. Attached is my config file, if that's of any use. Thanks Neal nospace.zip
  11. duk @ Neal Does the special wake command from flirc work? I haven't gotten much feedback regarding that release. Yes, the commandline will still show the wake command, and you will be able to successfully record to that command, however the firmware wont officially support this in v1.0. Here are my plans: I'm overwhelmed working out logistics right now. Programming, assembly, packaging take up most of my time and I'm working a lot right now to make this less intrusive to my day so I can continue with development on the GUI and firmware. The repeat firmware will be deployed soon. Once that is done, I will work on the 1.0 release of the GUI, then this will have my full attention as it's one of the last remaining puzzle pieces. Of course stay tuned to the blog or twitter feed where I will be announcing all these releases as well as any new beta firmware images to try. Thanks Neal.
  12. Attached....Hopefully :)... need to always use the Add to Post?. my_flirc_configbad.zip The 153 firmware version was the fw_wake.bin. I saw that before the official firmware page. Now switched to the official version from here http://blog.flirc.tv/?page_id=46. However I've noticed that the Version 1 firmware also has the record wake command, yet on the page at http://blog.flirc.tv/?page_id=46. you say this is not availible until Firmware 1.1! What is the current status of the sleep issue? My computer will wake from sleep fine using any key via a standard keyboard when entering an S3 sleep state. But I need to use the "special" record wake command with flirc. If I use the following from the commandline powercfg -devicequery wake_from_s3_supported The list does not show either the flirc device or an additional HID Keyboard device (only the HID Keyboard device for the normal keyboard. Another observation is that the Keyboard device for the Flirc has no Power Management tab in Device Settings. So it would look like, currently the Flirc is not registering it self to be an S3 wake supported device. Is this correct? Cheers Neal
  13. The on/off button would send in i/r signal that is usually associated with on/off for samsung tv's. For FLIRC you will have to tell it what command you want that i/r code to do (in your case sleep or wake). For more info:
  14. with the myharmony.com site, i can't seem to change any options in the activities. i can reassign buttons, but, i cannot find any additional settings for which devices power on/etc. i used to be able to do this with the older harmony software, but, that software doesn't work anymore. i only have 2 devices that i use, my tv and my receiver. i have both of those in the activity along with the samsung tv to send commands to flirc. but i do not know if it is sending a power on/off command to the samsung tv device, or will it automatically send power toggle command to any device listed in the activity? what i want to accomplish is set the power toggle to put my htpc asleep and wake. so when i hit the activity, it sends a power toggle command for the samsung tv to flirc to either wake or sleep the htpc when my other devices power on/off.
  15. The HP and Rosewill remotes designed for WMC (Windows Media Center) both worked the same way. After matching commands to Flirc, they worked but - not really. I eventually figured out that approximately only every other keypress did anything. After further research, this thread included I figured out the issue seemed to be the toggle bit. At one point, I reached the maximum memory of the Flirc so I wasn't too thrilled with the idea of programming each button twice and so I never gave that a good try. I may try again if I find some time - no promises. Would I need to go through the entire button programming sequence twice? Like: Press play on Flirc GUI Press Play on MCE remote Press play on Flirc GUI Press Play on MCE remote ? I can see how that might work but it sure seems tedious and also would it take up double the normal memory? It would be much nicer if you could somehow use the desktop application (gui) to decode the remote protocol and assist with the Flirc programming. It could then recognize the RC6 protocol and prompt the user to press the key two additional times, for example. I admit after reading a few of the protocol specs, my head is totally spinning. I didn't anticipate these things would be so complicated. One more thing - I checked the modulation frequency on both my MCE remotes again. I came up with 36 kHz again. I used the DSO Nano - I have to set the timebase so that I just see the very beginning of the command and also scale and offset the voltage (essentially zooming way in) but then the ripple is extremely easy to see. It doesn't matter to me personally what priority you put on something like this. I am sure it will help the project in the long run but for me I want results very soon so I am trying a combination of Sony remotes and Harmony 300. I do like the Flirc concept a lot and that is why I was willing to abandon the MCE remotes in the short term.
  16. Hi, I have a Harmony remote, which has two keys mapped to WinKey+Alt+Enter (Windows Media Center Start/Home) I have tried deleting the combination using Erase in the GUI and the delete command from the CommandLine, Both methods report they succeeded, however the mapping does mot get deleted. Attached is the config file if that is of any use. Using the Samsung Romote profile on a Harmony 885, under Windows 7 Firmware version 153 For the time being I'll just just format the device. ........ Just tested the offending Key combo again after formatting and it deleted it fine this time, so maybe there is something in the coinfig file that may be useful for you. PS.. Would be nice if the user saved config file was a readable xml file with entries for each mapped key, that way with problems like this, we could simply go in and manualy delete the offending xml keys, and then reload the file. Thanks Neal
  17. Well Plex is my work horse and of course handles all of my movies and tv shows. It is absolutely amazing but can't do it all. XBMC fills in with addons. I also use it for content I want to play but not to index. Windows Media Center is mainly for Netflix at the moment. I would love to find a command\script to launch directly into Netflix. Boxee is just a horse I haven't put out to pasture yet. I like the interface of a couple of the web content addons but I don't see myself using it much longer.
  18. Yes, I agree, sounds like two different problems. Certainly create a different thread for that one, but gfxmonk is most likely right, this is probably noise due to ambient light. @gfxmonk, there isn't really a log because flirc uses the generic HID driver that comes with the OS. How USB keyboards work is this. When you press a key, the keyboard sends the key, followed by a null. The null says, "I'm not pressing the key anymore". Otherwise, the host thinks you are holding it down. One thing that could be happening is the null is sent too quickly to the host, and the host misses this. But this really shouldn't be the case since I wait for the host to be ready. One thing we can try is the interkey_delay. Changing this value will actually also adversely change the delay this termination signal gets sent to the computer. You can change this with the command line: flirc interkey_delay 0-7 Try increasing this. Doing flirc interkey_delay by itself shows the current value set. Let me know. -- Jason
  19. using the `xev` program on both my media center machine (laptop running mythbuntu 11.04) and my ordinary machine (desktop running vanilla ubuntu 11.10), I can see that: On the laptop only, sometimes pressing a button normally will cause repeated events to be sent until the next button is pressed (after which *that* button may be stuck on indefinitely). At other times it's fine, but it often seems to get stuck in this mode - i.e once a keypress starts repeating, future key presses probably will too. With the same flirc, remote & config, running on my desktop, I have not been able to get this to happen. So I'm presuming it's something in the linux even stack somewhere? I'm not too sure where to look to figure out where the problem is. Is there some way to get flirc to dump logs of what events it thinks it's generating, to see if the bug is with flirc or linux? I noticed a mention here ( http://blog.flirc.tv/?page_id=46 ) of "inter-key delay time to help fix when rapidly pressing causes `stuck key`". "Stuck key" seems to be my problem, but it's unrelated to how fast I press keys (a single press can trigger it). I also couldn't see how to configure or find out more about this delay setting - is it exposed from the command line tool? If it's useful, my laptop is: $ uname -a Linux tjcee 2.6.38-12-generic #51-Ubuntu SMP Wed Sep 28 14:25:20 UTC 2011 i686 i686 i386 GNU/Linux And my desktop: $ uname -a Linux meep 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
  20. The backslash key is used to turn on/off window mode in XBMC. The command to record backslash key in latam keyborad will be: flirc record_api 64 45 Enjoy ;)
  21. depends on the remote you have,,, HArmony 300 remotes cant be tweaked for speed/sensitivity ... While any other Harmony remote can... but i recall Jason saying that u can play with flirc's sensitivity using a command-line command,,, try that...
  22. Thanks for the instructions. I was able to adjust the sensitivity. however, when I had it set to zero, and attempted to relearn the IR codes, the GUI would act like everything was great. But, when using the remote, most of the buttons wouldn't work. I noticed that after learning an IR code for a button, I could immediately go back and set up the same code sometimes 5 time before I'd get the "button already existed" dialog box. I tried all the sensitivity levels and noticed I was getting the very same results with all of them. Even when I put it back to level 3. When I have some more time, I'll play around with it a little more. Just a heads up to anyone else looking to do this. When I tried running the flirc.exe from cli folder, the command line would come up for a split second and then go away anytime I ran it (on 2 different machines). I was able to run it by: Navigating to the cli folder, holding the shift key, and right clicking inside the cli folder, then clicking "open command window here", then typing flirc.exe in the command line. This would launch the command line FLIRC program and keep it up so I could adjust the sensitivity.
  23. First off, some of the instructions below will be taken directly from xbmc.org. I just wanted to clarify that before we start. 1. Install rpmfusion repos su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm' 2. Open Terminal and use the following yum command. su -c 'yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel pcre-devel gcc-c++ sqlite-devel curl-devel mysql-devel libcdio-devel libmms-devel faad2-devel flac-devel libsmbclient-devel libXtst-devel libsamplerate-devel libtiff-devel pulseaudio-libs-devel avahi-devel wavpack-devel libmpeg2-devel libtool libmicrohttpd-devel libmodplug-devel redhat-lsb expat-devel gettext-devel python-devel libass-devel libvdpau-devel libva-devel libbluray-devel libdca-devel librtmp-devel yajl-devel git libssh*' 3. Git xbmc source. git clone git://github.com/xbmc/xbmc.git 4. Create a symbolic link. sudo ln -s /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so 5. Last part in one fell swoop. cd xbmc/; ./bootstrap; ./configure; make; su -c 'make install' 6. Lastly.. You may need to do this, but I did not. ln -s /usr/lib64/libmicrohttpd.so /usr/lib64/libmicrohttpd.so.5 Super duper epic lazy way, assuming you have sudo setup, and your willing to copy and paste. sudo yum -y remove xbmc; sudo yum -y install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel pcre-devel gcc-c++ sqlite-devel curl-devel mysql-devel libcdio-devel libmms-devel faad2-devel flac-devel libsmbclient-devel libXtst-devel libsamplerate-devel libtiff-devel pulseaudio-libs-devel avahi-devel wavpack-devel libmpeg2-devel libtool libmicrohttpd-devel libmodplug-devel redhat-lsb expat-devel gettext-devel python-devel libass-devel libvdpau-devel libva-devel libbluray-devel libdca-devel librtmp-devel yajl-devel git libssh*; git clone git://github.com/xbmc/xbmc.git; sudo ln -s /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so; cd xbmc/; ./bootstrap; ./configure; make; sudo make install
  24. If not already, insert Flirc into USB of PC on which Flirc GUI software is installed Navigate to flirc installation directory, in Windows XP this is normally C:\Program Files\Flirc\ In there, there is another directory called cli change to this directory (cd cli) From this directory you can run the command line program flirc.exe You can check the flirc is recognised by entering flirc.exe version To change the sensitivity enter flirc.exe sensitivity 0 (as I said in previous post, 0 seems to work fine, you could try other values, 3 didn't work for me) If successful you will get a message about having to reprogram the device, TBH I'm not sure if that is actually necessary so try the remote first to see if it works, if it doesn't reprogram it via the GUI Alternatively, from the Run menu: "C:\Program Files\flirc\cli\flirc.exe" sensitivity 0 (make sure you put the quotes in the right places) HTH
  25. Awesome. Can anyone direct me to the command line instructions?
×
×
  • Create New...