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. Hi there, new to flirc, I've looked at the flirc_util command and saw that there's a script command which says run a command script. I've looked in the documentation for the cli (which seems to be a bit lacking) but there's no detail on how this works or examples on how to use this. Can anyone who has some experience with this command explain what it does and how to use it? My assumption is that you can pass a file of inputs you want to record and it will do that for you? But maybe my assumption is wrong, any help is appreciated, thank you.
  2. Inside a Flirc USB the IR transmitter and the IR receiver are physically very close to one another so the receiver picks up the transmitter's IR signal. Therefore, if a certain IR signal/pattern is paired with a keyboard key, the flirc_util.exe sendir --pronto/raw=<IR signal/pattern> command will also trigger the paired keyboard key, which is not always desired. Is there maybe a command line switch (or would it be possible to implement one) that would disable the Flirc's IR receiver (or ignore its input) while the sendir command is transmitting the IR signal (e.g. flirc_util.exe sendir --ignore)?
  3. Hi, I'm having an issue with sendir in flirc_util after updating the flirc package to 3.27.5. The code (if it's being sent at all) is not recognized by the device I'm trying to control with it. Works fine with 3.27.4. OS: OSMC (raspbian 11.8) FW Version: v4.6.5v4.6.5 SKU: Flirc 2.0 [dori] Branch: master Config: release Hash: 0x18BBFCFA 3.27.4 (works and code is recognized by receiving device): $ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2 Transmitting IR Pattern... +9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588 -15000 Done! 3.27.5 (error and code is either not sent or not recognized by receiving device): $ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2 Transmitting IR Pattern... +9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588 -15000 [E] lib/libflirc/firmware/fw_4.2.c _fl_transmit_raw(59): Value less than 40ms, increasing Done!
  4. The command line program flirc_util.exe doesn't work on windows 11: C:\Program Files (x86)\Flirc>flirc_util.exe version 3.26.5 [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state' [E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id [E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: (null) [E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1 [E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout [E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id [E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: (null) [E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1 [E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout FW Version: v1.9.61-1-g4b35b71 [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion' [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion' [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot [E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id [E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: (null) [E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1 [E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state' [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot [E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id [E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: (null) [E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1 [E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'h_peek' [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'h_peek' Hash: 0x00000001 The GUI seems to work (v3.26.5) and gen 2 flirc firmware v4.9.61
  5. I read that Flirc can act as an emitter, and sendir is the way to do it. However, I've found that using sendir causes Flirc to execute on the PC whatever command is bound to the sent code. That's cool, but it's not what I want. I just want it to send the IR code, basically to "forward" it. Also, when I turned on IR debugging, pressing a single key on my remote caused several lines of output, and passing any one of them to sendir works to execute the command on my PC, e.g. "Enter", "Right arrow", etc. For example, this is the output for pressing the Enter key on my remote: +2458 -507 +1261 -508 +658 -503 +1261 -503 +1261 -508 +1257 -507 +1257 -508 +662 -503 +658 -503 +1262 -507 +658 -503 +1261 -509 +1256 -507 +658 -507 +1257 -507 +658 -507 +658 -507 +658 -503 +1261 -508 +1257 -507 +1257 -11000 +2461 -508 +1263 -501 +658 -503 +1262 -503 +1261 -503 +1262 -503 +1261 -508 +658 -503 +658 -507 +1257 -508 +657 -508 +1257 -508 +1257 -507 +658 -503 +1261 -508 +657 -507 +658 -507 +658 -503 +1261 -503 +1261 -508 +1257 -11000 +2460 -508 +1261 -503 +662 -503 +1276 -488 +1257 -507 +1257 -508 +1256 -508 +657 -507 +658 -503 +1261 -504 +662 -503 +1257 -508 +1257 -508 +658 -503 +1261 -507 +658 -507 +658 -503 +662 -504 +1256 -508 +1257 -507 +1257 -11000 +2461 -507 +1261 -504 +657 -504 +1261 -503 +1258 -507 +1257 -508 +1257 -507 +658 -507 +658 -503 +1257 -508 +657 -508 +1257 -507 +1257 -508 +657 -508 +1257 -507 +658 -507 +658 -507 +733 -428 +1257 -508 +1257 -507 +1257 -11000 +2466 -503 +1262 -503 +662 -504 +1261 -503 +1257 -508 +1256 -504 +1261 -503 +662 -503 +662 -503 +1257 -507 +658 -503 +1261 -503 +1261 -503 +662 -503 +1261 -503 +662 -503 +662 -503 +657 -504 +1261 -503 +1262 -503 +1261 -36436000 Sending "+2458 -507 +1261 -508 +658 -503 +1261 -503 +1261 -508 +1257 -507 +1257 -508 +662 -503 +658 -503 +1262 -507 +658 -503 +1261 -509 +1256 -507 +658 -507 +1257 -507 +658 -507 +658 -507 +658 -503 +1261 -508 +1257 -507 +1257" causes Flirc to executed an "Enter" keystroke on my PC. I don't know what the other lines are for. Can you explain to me the proper use of sendir?
  6. While waiting for my remote to ship, I figured I'd go ahead and set up my activities ahead of time in the software. (The software is very straightforward and nice to use, BTW.) Everything is all set except for one thing, mentioned in the title. The "Back" button is missing for the Roku Streambar device (the only Roku device in the list of audio devices). As that's one of my most used buttons, I'm hoping you can add it to the command list for the Streambar? (I know the process for adding a device now, but not one specific command to a device already in the database.) If it helps, I have an old Roku 2 media device I don't use anymore, and tried out the Back button on its remote - it worked fine on the Streambar. And I saw that the Roku 2 in your database does have the Back button in the list of commands. So I imagine you can just copy the code for that into the Streambar's list of commands? Let me know if you'll be able to get that added when you can. Thanks in advance.
  7. Hello, I want to purchase a FLIRC but I want to be sure Ill be able to work out what i need to do before I do. My situation: Have PC (Win10) Stereo Amplifier My requirement is to be able to turn on/off the amp, and control its volume from Windows command line (my whole goal is to go remote-less) I know the FLIRC can send IR commands and can learn them too. But the process of doing this via command line with flirc_utils sendir is confusing. For my amplifier, the RAW IR codes are available in the support manual. But sending that via sendir is where I'm getting stuck. Volume down for example is: 000 006D 0022 0002 0157 00AC 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94 But I'm unsure how to 'convert' that info a format that sendir will accept/understand. I found these threads below, which are quite similar to what I'm after - but as above, I don't really know how to convert it. Do I/can I use IrScrutinizer? I asked ChatGPT but it gave lots of incorrect answers. Thanks!
  8. I just received my Flirc Gen 2, and so far it's been a breeze to set up. I'm using the full keyboard option to control the audio output of a Raspberry Pi, using alsamixer commands... "Q"= left channel+, "Z"= left channel-, "E"= right channel+, "C" right channel-, "B"= balance equal, "W"= volume+, and "X"= volume-. But I also want to map the mute button... that requires an actual command: "amixer -D hw:CARD=audioinjector set 'Output Mixer Line Bypass' toggle". Is this possible?
  9. I'm trying to set up play/pause for a Nvidia Shield Pro (2019) with my Harmony 650. Play/pause is one button on the Shield, but two buttons on the Harmony remote. I could just use the play or pause button, but it's not a clean solution and confusing for other people using the remote. How can I do this?
  10. Unfortunately the documentation and support is rather lacking on this feature possibly due to lack of dev cycles anyway here is a "how to" of the " SendIR waveform function" from latest git as of feb 8 2021 on Ubuntu 20 x64: ( this guide assumes basic Linux know how, and may be invalidated over time due to updates to git) Side note: There exists other devices I bought like USB-UIRT which do a better job but have their own issues, flirc however I find a little easier to capture IR waveforms so has some uses the issue is the transceiver its not going to work unless your literally sitting the usb unit in front of the device you want to control. Objective: What is Send IR, its a way to remotely send Infrared signals directly outbound, as opposed to what Flirc was designed for which is mainly inbound device control. 1. You will need Ubuntu 20 or equivalent 2. You will need V2 of the Flirc Steps: a. install flirc using the known methods namely: Debian [64], Redhat [64bit], or Raspberry Pi Debian curl apt.flirc.tv/install.sh | sudo bash b. get git, sudo apt install git c. Make a directory and install and compile the sdk Commands from your home directory: cd ~ mkdir buildsdk cd buildsdk git clone https://github.com/flirc/sdk.git cd sdk cd cli sudo apt-get install libusb-1.0-0-dev libreadline-dev libhidapi-dev make all now your tool will be compiled in: ~/buildsdk/sdk/cli/buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_10/flirc_util/debug/ And it is called flirc_util (latest version from git) d. Capture IR command signal Open the traditional Flic setup and control tool, my tool which was installed in step (a) is Flirc v3.25.3 it says connected as my flirc is inserted in the computer, if you cannot find it refer to installation again in step (a). open the app, goto File, drop down: click device log, click on the checkmark (x) Enable IR debugging. This will record all IR signals being sent to the flirc you will need this to create your IR commands. So Example: Mon. Feb. 8 2021 01:51:26 Flirc GUI Version v3.25.3 Operating System: Linux *** Device Disconnected *** *** Device Connected *** So lets say I want to record the power off, power on button for my heater; When I press power on/off button while pointed towards the flirc the waveform command is, captured and immediately shows up in the debugging window as: 0,9073,4414,618,1595,622,470,618,469,649,443,618,470,622,465,623,469,622,466,622,470,617,1596,622,1595,622,1595,618,1595,622,1595,622,1595,622,1594,618,1599,618,1594,622,470,618,1595,626,465,622,466,622,469,618,470,622,470,617,470,621,1595,618,469,622,1595,621,1595,622,1591,622,1595,622 Now you have successfully captured the IR signal. e. Send IR command signal in step C, you created the flirc_util from git so, Point the USB flirc at whatever device you want to control in my case heater now from command prompt goto ~/buildsdk/sdk/cli/buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_10/flirc_util/debug/ and run this command: flirc_util sendir 0,9073,4414,618,1595,622,470,618,469,649,443,618,470,622,465,623,469,622,466,622,470,617,1596,622,1595,622,1595,618,1595,622,1595,622,1595,622,1594,618,1599,618,1594,622,470,618,1595,626,465,622,466,622,469,618,470,622,470,617,470,621,1595,618,469,622,1595,621,1595,622,1591,622,1595,622 Now in my case the heater if turned on turns off, and if the heater is off turns on, You have successfully transmitted the IR signal by the computer. Main use cases would be remote ( ie not even home) control of appliances and some robotics applications. Where you can remote into your computer from away and run scripts to control things, I guess use your imagination. Good luck
  11. Hello dear authors of Flirc, I have just purchased the Flirc IR receiver and using it in conjunction with Remote Buddy 2 on macOS Mojave on a Mac Pro 5,1 and a Pioneer VSX909RDS receiver. Pretty old, but very good devices. Now I found the Remote Buddy IR signal recoding function to sometimes not record the right command, but after a couple of tries it usually works. But there is one command on the remote of the Pioneer that for some reason after recoding in RB2 and attempting to play it back hangs the Flirc. Attaching a Log file from Flirc GUI so you can see. Pioneer VSX909RDS Stereo Direct toggled many times.txt
  12. Hello, I just got the firc and an nVidia Shield. I have the activity for watching the plex to have the Sony TV, Marantz prepro and the nVidia Game Console (nVidia Shield). I programmed the FLIRC for Shield 2 and updated the firmware. When start the activity, it starts all the devices and the buttons work fine. I have a power toggle in the screen part of my harmony that works if for any reason I wasn't aiming in the right direction when I started the activity. When I power the activity down, it does power off the TV and the Prepro but it doesn't put the shield in standby or power it off. If I go to the activity, Customize activity, at the bottom there are activity shutdown commands. I select it and try to add a step for the device nvidia game console (I can't add an action, just a command) but for command there are no power or standby options. Anyone know a way around this (short of power toggling it manually before shutting down the activity?)
  13. I have been trying to get my FLIRC working with an MCE remote to interface to an older (non-MCE) app and have found the following. I go into the GUI, clear the configuration and uncheck all of the Build in Profiles (Side note: After exiting and restarting the GUI I sometimes find some or all of the Built in Profiles are now checked. Multiple retries will finally get them all unchecked). I then confirm using Notepad that none of the numeric keys on the remote are sending any commands. I return to the GUI and using the Full Keyboard controller, I map the "a" key to the "1" button, "b" key to the "2" button ...... "j" key to the "0" button. I return to Notepad to confirm operation and find I must press a numeric button twice to get a single letter. I simply want to send an "a" each time I press the "1" button and so on. How do I get that to work? Thanks, Bill Windows 10 Home Version 1909 (OS Build 18363.836) FLIRC GUI Version 3.25.3 Firmware v4.9.3
  14. Hi, I've configured a One For All remote with Flirc to replace an Nvidia Shield 2019 remote. My problem is that I configured a button in the remote using the long press option and now, if I leave the button pressed too long, it sends the command twice. So in the end, I need to release the button the moment I see the Shield react to the command to avoid this issue. I've also tested with Kodi and it does the same thing. Is this a known bug? Thanks.
  15. Hello All, I got my first flirc (first two) in the mail today. The first one is for my HTPC (Windoze 7 Pro SP1). I'm running NextPVR and didn't have a working IR input for my Hauppauge 45 button remote. It was no problem to set up, the software works well (although a little time consuming). It seems that all the remote keys are working as I programmed them, to replicate the keystrokes used by NPVR. The trouble is it's only passing every-other remote command through to NPVR. I have to hit every remote button twice to get the response of one from the software. At first I thought I was pressing the remote buttons to fast, but I tried waiting over 10 seconds between presses, it didn't matter, it was still only sending every-other button press. My actual keyboard works fine with NPVR (how I have been using it so far). I saved my config and created a simple Minimalist config with the same remote that I tested with Win-dohs Media Center, which yielded the same every-other result. I've attached my files for both the NPVR config and the minimialist config, if that helps. Any thoughts? Thanks, -Brad H45_minimalist_flirc_config.fcfg H45_NPVR_flirc_config.fcfg
  16. Hi Macbook air running 10.15.3 using flirc_util 3.25.3 with hardware version 4.9.3. Trting to use the CLI to install a macro but I cannot get all command to work. Version and help are fine but when I try to use flirc_util eys I get the response "device disconnected, can't run command" but flirc is connected and recording standard buttons is fine. Tried removing and reconnecting the usb device but it is the same. Any command that requires a response from the dongle gives the same response. Is this a bug or am I doing something wrong?
  17. I am having a hard time getting "sendir" to work. Or rather, I am able to send IR signals, but they don’t do what I expect them to. What’s really confusing me is that what I’m sending doesn’t seem to be what the log is showing was sent. Here is what I did. I pointed my remote at the flirc device, and pressed a button on my remote. A number of patterns came out, separated by :e: - I'm assuming each pattern is an alternate pattern? Then I tried sending these patterns through flirc using flirc_util sendir. I kept the log open during this sending, but the pattern that was being logged didn’t match the pattern I was sending. I tried sending each of the patterns one by one but nothing happened on the target device. Any ideas where I can go from here?
  18. In the user guide is states: "To suspend the shield or put it in a sleep state, use the Media Keys controller and record the Wake/Suspend key as shown below." I don't understand what this means. What am I recording to the "Wake/Suspend" key? The sleep command from the Nvidia Shield TV side is a selection in the settings menu so as far as I know, no IR command is being sent from the remote. What do I need to record to make with work? Any help is greatly appreciated.
  19. Hello, this might not be the correct forum, but it looks like a bug... The "Toggle Fullscreen" command in the Logitech Harmony Remote Profile of Flirc Media Player Kodi preset does send '#' instead of '\'. Greets
  20. Hi, Is there a possibility to program a "pause in time" when programming a macro, for example: programming a macro with "F10" then a "pause for a second or two" and then "F11" There are a limited set of commands that are available when programming with command line (long press and macros) (return, enter, escape, backspace, delete, tab, space, F[1-12], printscreen, scroll, pause, insert, home, pageup, pagedown, end, right, left, down, up, wake, media keys: eject, vol_up, vol_down, mute, play/pause, stop, fastforward, rewind) Will there be a possibility to program multiple commands with command line, for example "shift + F12" or "alt + F4" and will there be more programmable commands like "windows key" in the future? Best regards, //Peter
  21. I see everyone saying you can setup the flirc se with the command line utility to power on a streacom pc from off but how exactly do you do that and i mean if someone could please provide step by step instructions. Since this is not in the gui this is pretty confusing.
  22. Is setting sensitivity still supported in the command line? flirc_util.exe help doesn't list anything related to sensitivity. Thanks in advance!
  23. I have just received my new (metal) flirc. I still have my old (plastic) flirc. The windows (V2.02) software works with both, but I'm using the flirc on a RPi zero, and it's missing the odd key press from my remote. Previously (when I had this issue with the plastic flirc) I added key presses in-situ using the flirc_util cli. I have downloaded the latest Linux_util.zip, but it's still v1.4.4 and doesn't work with the new flirc (this is the statically compiled rpi version). Any idea when the rpi versions will be updated to V2?
  24. Is there away to program a power off button with the SE? Looking to have a separate power on and off button. Sorry if this has been asked before, did a search didn't find anything.
  25. I am having trouble using the command line in OS X (Mac) I found flirt util at /Applications/Flirc.app/Contents/Resources/flirc_util Within that directory, tried flirc_util record pause command not found
×
×
  • Create New...