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. Do you maybe have USB2.0 ports on the board? I think I saw some posts before about problems with USB3.0 but I'm not sure right now. Did you had any bootloader issues on firmware 3.x at all? The bootloader is programmed into a microprocessor during Flirc production and AFAIK is not upgradable by the user. The version should be engraved on the microprocessor and you can see it through the transparent case (at least in case of 2.0 and 2.1 bootloaders). You can also see the BL version during firmware upgrade or you can force Flirc to go into BL mode by using flirc_util dfu command in the CLI. When Flirc is in bootloader mode then you should be able to see bootloader version in Flirc GUI (can be a little cropped) or you can display it using flirc_util version command in the CLI. It should also be visible when Flirc is stuck in the bootloader.
  2. Let me start out by saying my problem only occurs with a specific remote code which I am trying to use to get more buttons working. Flirc works quite well when I used any other code with my BellTV remote and my fallback is to simply reload a previously saved configuration. However, I would like to get more keys working. Specifically, I want to get all the PVR (DVR) keys to work on this remote. It's similar, if not identical, to Dish remotes. I am using FW1.0 with GUI0.96. The issues also occur with the recent Release Candidates including 1.0.0.3 release hours ago. I'm trying to use the remote code as described but get the issues as mentioned in the subject line when trying to record buttons. Here is a very simple demonstration using the command line: C:\>flirc_util.exe format Formatting Device, please wait... Done! C:\>flirc_util.exe record 1 Press any button on the remote to link it with '1' Error: button already exists It's appears to be random how many buttons I can record before I get that error message. If I try again, I'll be able to record the button. After this, however, the buttons will not be mapped correctly. Pressing 9 will send a 7, for example. I've uploaded the config file from this particular example session. Flashing to new/old firmware and erasing/formating the configuration hasn't helped. I have a second flirc and it exhibits similar behaviour with this remote code. Doug flirc.fcfg
  3. Feel free to put any material in it for your help center, as that's where I got all the info to begin with. :) My blog post 1) Setup your Harmony Remote Add a new device in your Harmony setup. The brand is FLIRC, and the model is XBMC Edit your PS4 activity to use the FLIRC device to control your PS4 Go to the assign button menu, select "PS4", click on the MENU button, and assign it as "INFO" in the FLIRC device. (more info) https://flirc.zendesk.com/hc/en-us/articles/201676079-Harmony-Remote-Control 2) Setup the FLIRC device Download the FLIRC GUI Install the GUI first, before plugging device into your PC Start the FLIRC setup program Plug in your FLIRC dongle Align the Harmony infrared hub to the FLIRC dongle From the pull down menu, select "CONTROLLER", then choose "keyboard" (more info) https://flirc.zendesk.com/hc/en-us/articles/202923419-Controllers-in-the-Flirc-GUI At this point, assign Harmony buttons to the keyboard keys 3) Assigning Harmony Buttons On the FLIRC setup program, click on the Enter key on the keyboard Hit the OK button on the Harmony remote Program should respond by saying "button learned" Now the OK button is assigned! Repeat for all other keyboard keys that are used by the playstation. Here's a list: In the PS4 interface Action Keyboard Key Harmony Key Back Esc Exit Dual Shock 4 Options button F3 Yellow DS4 Share button Prt Sc/SysRq Record Back to inserted disk menu Pause/Break Menu Back Backspace Return Enter Enter OK Up Up arrow Up Left Left arrow Left Right Right arrow Right Down Down arrow Down In-movie controls Action Keyboard Key Harmony Key Pause/On-screen display Esc Exit on-screen display F1 Red Blu-ray pop-up menu F2 Green Disc options/Netflix Pagedown F3 Yellow, Channel - Netflix Pageup F4 Blue, Channel + Pause/On-screen display Backspace Return Bring up BD pop-up menu Up arrow Up Close BD pop-up menu Down arrow Down Moving in menus Right/left arrow Right/Left Enter Enter OK (more info) https://flirc.zendesk.com/hc/en-us/articles/203167509-Setting-up-Flirc-with-PS4 4) Assign the Pause/Break button Notice that the Pause/Break button is crossed out, that's because the GUI interface doesn't include that button for some reason. You'll need to assign that button through the command line interface: Exit the FLIRC setup program (a must) Access command line mode on your PC (select Accessories from the Start Menu and select Command Line, or run a command called "CMD") Go to directory where FLIRC is installed (usually /Program Files/FLIRC) ** when typing the first command, include the double quotes cd "program files" cd flirc Run the following command: flirc_util record pause Hit the Menu button on the Harmony remote 5) Connect the FLIRC dongle to PS4 The dongle too wide to fit the front slot on the PS4, you can: Remove the clear casing by prying it open with a small flat screwdriver so it'll fit Run an USB extension cable from the back Most of you probably know this but to turn off your PS4, hit the Menu button to get back to the main menu, then hit up to select the PS4's sub menu, and the power options is on the far right. That's it! Finally we have one remote to rule them all (except for starting the PS4)
  4. Hi, There is no flirc_util shutdown command. If you have your Flirc-SE connected properly (the Power button is routed through the Flirc instead of directly to the board) then you should record a button for "power" keys: flirc_util.exe record power and then you press a button on the remote. If you've upgraded Flirc to the rc.2 version I've linked to then you can send the power button signal when the PC is either on or off. It will turn on the PC from any power off state (from suspended, hibernation or full shutdown). When pressing when in power on state then the system settings decide what to do.
  5. Hello Yewor, thank you for your help. Today I install "Flirc V.1.35 " and try to activate the "Power Key" Function. After the installation the Firmware is 3.6 Unvortunaly it doesn`t work. I think I do something wrong. Mybe you can tell me what I do wrong. For use the commandline programm "flirc_util.exe" I use the "Hot To" from here: and then I try the following steps: - I open a comandline - I open the install folder from flirc: C:\Program Files (x86)\flirc - Than I follow the "Hot to" "Then record the wake command flirc_util record wake and press the button on your remote you want." I try : flirc_util record Power --> and press the Button on my remote - "To make the flirc able to wake the computer " I type in the commandline: flirc_util Shutdown /s Best regards, MediaCenter Owner
  6. I use TeamViewer to boot up the Microserver which automatically starts Plex and ready to go. This is a pain as I have to start up my tablet to run Teamviewer and get it going, I just want to run it from the remote. Have you tried wake from usb? I think I need to try this but I dont know how to get the remote to send a "wake" command to Flirc though!
  7. Opened the Flirc GUI, then plugged in Flirc, chose Controllers>Fire TV Clicked Enter on GUI, pressed Enter (or OK button on remote), then repeated for up/down/left/right, etc. All but the FF and REW. My 650 has a nice button that corresponds to the Amazon's "Return", on my 720 I assigned it to "Exit." Then I chose Controllers>Full Keyboard Clicked "F" on GUI, pressed FF on remote, clicked "R" on GUI, pressed REW on remote, clicked "Page UP" on GUI, clicked up arrow on remote, "X" on GUI, Stop on remote, etc. Just make sure you don't use a remote button you've previously assigned to the FireTV commands for a keyboard command. I know the Flirc is supposed to keep you from doing that, but it didn't always work for me. The FireTV's "return" button doesn't have the same effect in Kodi as the keyboard's "ESC" or "backspace/delete" key, so on the 650 I assigned the "exit" key to "ESC" (remember I had already assigned the physical return button on the Harmony to the Fire's return. Does that help?
  8. Thanks I will try that one with the interkey. ZoomIn/Out are two special keys that can be found in some keyboards with extra keys like: - multimedia keys: play, ffwd, rewd, stop - Open Browser, open music, open email - Go Home, Go Back, Zoom In, Zoom Out I am sure that you have seen one of those keyboards at some point. The standy I do it just following your instructions on one of these forums (I cannot remember which one, I read several). I map the "power" button from the multimedia profile in flirc to one of the remote keys.In my case, the power button. :-) Unfortunately it doesn't trigger a CEC command to send a shutdown command to all the connected devices, but it is enough like this. [EDIT] I tested the interkey_delay set to 6. But my understanding from this post https://flirc.zendesk.com/hc/en-us/articles/201366933-Double-Key-Presses is that if I want to get multiple key presses I have to reduce it to 0. My problem is that I press the button for long and it does send only 1 press. However 0 or 6 didn't make any difference. And I have observed, after switching on the fireTV that sometimes it takes around 30seconds for flirc to start taking the signals properly. E.g. I switch on the unit, and I press right arrow. It doesn't do anything in the next 15-45 seconds. I let it be and then....yes, it works again normally. Is this familiar to anybody?
  9. It's multiple "presses". Using the FireTV stick to send RF commands directly to the FireTV, clicks are sometimes heard. It occurs with the press of any button, but usually it's only after the button has been pressed once. Thereafter each press in succession generates a single click. When I press the return key on my IR remote to send the Return command to the Flirc I usually hear multiple clicks in very rapid succession from just one press of the key, but not on the first press. Sometimes there's a slight pause between two of those clicks. Once the FireTV has been sent all the way back to the home menu, each successive press of the Return key generates a different number of clicks in rapid succession, usually too fast to count, but it seems like maybe four or five is the maximum. I just ordered a Harmony 650. Is this a fix that applies to this remote, or is it a fix that applies to the Harmony Home and Hub that communicate via RF with the FireTV.
  10. Thank you for your fast answers! There is power on the flirc. I used the previous Streacom IR-Receiver on the same port yesterday and it worked (Boot from 'power off'). Additionally: I test the "Power switch state" on running system via event handling. No reaction as well. The event works, when I press the power button manually. I can assign the 'wake' button, but when I press it, I get no feedback. Neither in Flirc ('wake' does not turn green, when I press the assigned button) nor via mentioned event setup. Do you have any further hint? Thank you so far. Edit: I can 'cat' the incoming events (cat /dev/input/by-id/usb-flirc.tv_flirc-event-kbd). There is no event coming from the device when I press the 'wake'-assigned button. Does the 'wake' command just toggle the pws-circuit? Edit 2: My settings: $ flirc_util settings flirc_util version v1.3.4 [v1.3.4] Firmware: v3.5 [E793D969] Settings: sleep detection: Enabled noise canceler: Enabled inter-key delay: 3 seq. modifiers: Enabled state: 0 builtin profiles: Enable Memory Info: keys recorded: 41 keys remaining: 128 memory used: 32% Recorded Keys: Index hash key ----- --------- --- 0 EDF0129A up 1 211D0B13 left 2 6ED0105A down 3 88159E1A right 4 1D91CCA8 return 5 15AABAC9 escape 6 B09E357D 1 7 62EB3036 2 8 E3CB2DF6 3 9 961828AF 4 10 FD10BBB6 5 11 AF5DB66F 6 12 303DB42F 7 13 E28AAEE8 8 14 3817D976 9 15 EA64D42F 0 16 23DA0DEF F1 17 2BB43336 F3 18 718D1336 F4 19 A30A70C9 F2 20 DB5F6AA8 F5 21 7967387D F6 22 3B3E783D F7 23 6ED8DEC9 F8 24 33051561 F9 25 B7B75828 F10 26 3CE0C282 F11 27 4139DF28 F12 28 FCB67A68 pageup 29 63AF0D6F pagedown 30 BB9EF98B l 31 763FB561 p 32 510325E8 r 33 88EB9CE8 f 34 C3F2BAA8 s 35 6FA60F28 b 36 3C7916AF n 37 EEC61168 m 38 96DC05E8 a 39 21F309E1 d 40 15FC0828 wake
  11. It is. For the harmony guys, I will put together some formal documentation shortly. But yes, it's firetv. Every operating system has a 'key repeat' and firetv is set way to short. While it appears as 'double presses' it is actually the start of a stream of characters. Think regular computer, you press a keyboard key and hold, and after a set time, the stream starts. The stream is starting on the firetv, and you only get the first key of the stream, and the original key, making you think it's two presses. I sent them a note, I don't think I can fix this in my device. One thing you can try is enabling the noise filter, which waits for multiple button hits before sending the command. For the harmony, delete, re-add firetv, and try again. They updated their settings recently.
  12. I don't know this remote but from what I've been able to find this remote uses a 2.4GHz radio interface for its normal operations and can only send a power command over the IR and Flirc is an IR receiver. http://forum.kodi.tv/showthread.php?tid=143571
  13. Sure! I am running Kodi 14.1 on an Amazon Fire TV. I have a Harmony One remote set to Flirc XBMC. I set the interkey delay to 0ms, input delay to 500ms, and inter-device to 500ms (I have tried several settings for interkey and input delay) Device command repeats is at 1 currently but increasing or decreasing this did not help at all when noise canceler was enabled. I have noise canceler off and interkey delay at 0 using builtin profiles. My current setup is nice and responsive its just odd that even though I don't touch the remote the filrc is randomly responding to something! I just tried adding a USB extension and moved the flirc away from the Fire TV which is also in a unit with glass shelves. I also took black electrical tape and wrapped it around the flirc only exposing the front of it. It seems that the IR sensors are VERY sensitive on this unit. I had the Flirc plugged in to the back of the Fire TV facing backwards and I can still control it no problem without a direct line of sight. I am hoping that by wrapping it with the tape it might help block out any excessive noise it is picking up. I will get a chance to test it out later tonight but it I haven't noticed it randomly turning on since which is a good sign.
  14. I am going to post my issues on this thread. I upgraded to 3.5 in order to try to map the Media Center Skip buttons without the need for Autohotkeys. I have posts on another thread concerning that attempt. I spent some time yesterday reinstalling 3.5 in case it was corrupt, force upgrading the firmware to rewrite it to the FLIRC, clearing the FLIRC and reprogramming it, making sure the remote was not pointed directly at it and it worked that evening rather well. Today, after working for a while, the skip buttons stopped working. When I ran the flirc_util settings command, the two keys (square brackets) I programmed to remap with AHK were no longer displayed. It showed that I still have 35 keys programmed, but did not show those two. So, I reprogrammed those two keys again and its working, and reports 2 more key indexes with the [ and ] keys remapped. I really think that the 3.5 firmware corrupts memory over time. It would explain many peoples issues with the firmware. I purchased my FLIRC in December. I haven't had it but a little over a month, i don't think its hardware related. BTW, when I ran flirc_util status, it reported Last Update Status: Error Is this a problem with that option, or is it telling me my last firmware update wasn't successful? Why does the settings command only show the indexes for single key mappings? What would be a good version to revert back to in order to not have to fight the FLIRC every day, several times a day? Thanks for any help.
  15. Hi, I bought a flirc dongle for using with my iMac. I use Snow Leopard (10.6.8) and the Flirc GUI recognizes the device (it says it is connected). However, I cannot make the GUI to record any command. I tried the newest version too, but this one does not even recognize the device. Any other version that works for 10.6.8? Thanks.
  16. Success! :) Thanks to Jason and yawor for the directions to get me there. I can report that once I was able to enter it properly, the flirc_util.exe record pause command worked in the command line. Note that I did have to use .exe in the command, at least for me. I chose to pair the Power button on my remote control as the button I would use to operate the PS button. I also added a key to my touchscreen that I named PS that has the same code as the Power button, so it also operates as the PS button. Jason, I'm sending you an Excel spreadsheet that details what I've done and expanded on the some of keyboard notes shown on the Setting up Flirc with PS4 page. Do with it as you see fit. I don't know how to attach it to this post. These are some of the notes I put at the bottom of the page that detail how I got into the command line, and what I saw at every step: * The Flirc interface does not have a key on the Full Keyboard GUI that corresponds to the PS button on the Dual Shock 4. The command line process detailed below must be used to allow the Flirc to pair with a button on your universal remote control. ** The command line process below will still not allow the PS4 to be turned on from a sleeping state, but will work to exit programs like Netflix to get back to the Playstation 4 home screen. Using the command line for flirc: 1. You will not use the Flirc graphical interface for this. If it's open, close it. 2. Plug the Flirc into a USB port on your computer. 3. Now for the Flirc command line. Thanks go to yawor, one of the Flirc forum administrators, for these directions for an easy way to access the command line and command prompt 3a. Open "My computer" and navigate to the directory where you've installed Flirc (probably "c:\program files\Flirc" or "c:\program files (x86)\Flirc"). If you get any warnings when navigating to program file directories, just ignore them. 3b. When in Flirc directory, press alt+d or click on the location bar at the top of the window, enter cmd and press enter. The command line terminal should open and you should already be in the correct directory. At this point you should be seeing the following: C:\Program Files\Flirc> 4. Enter this text at the end of the above prompt: flirc_util.exe record pause All together, you will see: C:\Program Files\Flirc>flirc_util.exe record pause Hit your enter key, and you should see the following: Press any button on the remote to link it with 'pause' Now you can press the button on your universal remote control that you want to use as the PS button from the Dual Shock 4. Once you press the button of your choice, you will see: Successfully recorded button 5. You're done.
  17. We really need to get a profile sorted out for playstation 4. Even I don't know what to do with command line stuff (I'm not a tech person)
  18. I'm showing version 1.3.2 The full keyboard in the version I'm using is slightly different than the full keyboard I see when I view this: https://flirc.zendesk.com/hc/en-us/articles/202923419-Controller-presets-in-Flirc-GUI What I see on the bottom row of keys is: control - windows - alt - space bar - alt - windows - control The bottom row of key in the link shows: control - alt/option - command - space bar - command - alt/option - control That command key looks like it would be mighty fine to have if it's the root of my problem. I sent you another email with an attachment showing a screen shot of how far I was able to get using the command line. I don't know what's supposed to happen, if anything, once flirc_util record pause is entered into into the command line. An then, there are no instructions what to do after flirc_util record pause is entered into the command line. Is the flirc programmed based on that entry? What keyboard keyboard key needs to be paired after that, if any?
  19. Hey Jason, were you able to look at the screenprint attachment I sent after my post above? It seems all the posts regarding this subject on various forums end without a resolution. Again, is it even possible, with the use of the flirc and the command line to turn on a PS4 from standby and exit programs like Netflix and get back to the PS4 home screen??? At this point, the flirc hasn't allowed me to do anything a standard keyboard won't do, and I don't need a flirc in the chain between my universal remote and PS4 when I can learn keyboard commands.
  20. You are on the right track. The record_api is the right way to go. If you just run flirc_util.exe record_api in the command terminal window you'll get following info Help for `record_api' command: Send the raw HID value down to flirc to be linked with button recorded usage: record_api 'arg1 arg2' arg1 is key-modifier arg2 is HID key example: flirc record_api 136 4 '136' represents right cmd + left cmd '4' represents 'a' in HID Key modifiers are defined in the IEEE HID Spec as follows: 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 To record Control + Shift, logically or 1 & 2 to make 3 As you can see the first value is a combined modifier value. "Left Alt+Left Shift" is 2 + 4 (to be exact it's logical or, not arithmetic sum, but with values like above it's the same) = 6. The second value is a HID key code given in decimal value. The table you've posted is OK, you just need to convert from HEX values in the HID column to decimal values (you can use Windows' calculator in programmer mode). For example numlock has HID code value 53(hex) which is 83(dec). So to record enabling and disabling mouse movement you need to run flirc_util.exe record api 6 83 For other keys you don't need modifier so you need to use value 0 for the first argument. Now, as Flirc doesn't do chained key strokes like "/5" or "-5" you'll need to separately record button selector (/ and - for left and right mouse button) and then click and double click (5 and +). You don't need to select left or right button every time you want to click or double click. Windows uses last button you've selected on following clicks (left is default after turning mouse movements so you don't need to select it unless you switch to right button and want to go back to left button). Decimal HID values for some keys: 2 - 90 4 - 92 5 - 93 6 - 94 8 - 96 / - 84 - - 86 + - 87
  21. Ok, so let's stop arguing what Flirc should and shouldn't do and find a solution native to Flirc. So, it's possible in windows to use the "Ease of Access Center" functions to use the numeric keypad to emulate the curser/mouse movements. The problem is the full keyboard template doesn't include the keypad. A numeric keypad would be the optimal solution but baring that is appears the Command Line Interface (flirc_util.exe) may to be able to get the proper codes in. Unfortunately the CLI isn't documented and there's only a few cryptic references in the forums. I've found some key codes, ASCII codes and some USB HID codes that might be of use. The question is which codes to use and what format to use with the CLI to get them in. I found a reference to "flirc_util.exe record_api xxx xxx" though I'm not sure what the convention is and what the proper codes to use are. Maybe you coukld spread some light on that? The first challenge is to send the command "Left Alt+Left Shift+Num Lock" to turn on the keypad mouse functions. I'd envision having a button to to the function on and off. The question is - what is the CLI syntax to send multiple keys and what codes would be appropriate? Once the keypad mouse is active then we need to get the codes in to control the curser movement. The keypad can do 9 directions, but I think the MCE remote may just have left, right, up & down on the keypad. Even if it's possible to do all 9, programming just the 4 basic would suffice as we only need rudimentary movements. I don't think folks are going to seriously try and play games or anything; we just need to be able to move it to a given location. The question is - what is the CLI codes would be appropriate for LEFT - RIGHT - UP - DOWN Now we need to figure out the mouse button functions, left mouse click & Double-click & right mouse. I don't think any of those are difficult, but again we need to figure out the key codes and the syntax for the CLI. Your thoughts?
  22. There are 2 quicker/easier methods. Method 1: 1. Press Win key + R - a Run... dialog should pop up 2. Enter cmd into dialog and press enter. 3. Use cd command to go to the correct directory. Method 2 (even easier): 1. Open "My computer" and navigate to the directory where you've installed Flirc (probably "c:\program files\Flirc" or "c:\program files (x86)\Flirc"). If you get any warnings when navigating to program files dir just ignore them. 2. When in Flirc directory, press alt+d or click on location bar at the top of the window, enter cmd and press enter - command line terminal should open and you should already be in correct directory.
  23. I have the same issue of the command line opening ever so briefly, then disappearing. I tried using flirc_util.exe instead of just flirc_util, with the same results.
  24. I actually have no idea how to write the "flircutil record pause". Do I just open command prompt as an admin or terminal? I tried to search the forums but I haven't found anything specific to this. I can wait if you're planning to write a controller profile for the Flirc app. Thanks again for all your help. So excited to have a remote for my PS4 :)
  25. Hi, not really worried if it is forgetting, I am trying to figure out if they function the same way and if there is a way to send a wake only command with a remote and a sleep only command (i.e. not a toggle between the two).
×
×
  • Create New...