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. Hello, I'm looking to control two Cox STBs at a bar using two FLIRCs on the same computer via the command line in Windows 11. The STBs will be the same model, and so I'm wondering if the FLIRC command line has an ability to send IR commands to specific USB ports, com port names, or something like that which would help me then let the customer pick which STB they want to change channels on. Any help is greatly appreciated. Thank you!
  2. 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
  3. Is there a way for the Flirc 1s to send a command say after 10 seconds from the power on command? Delay doesn't seem to be working, no matter how many repeats or seconds I set. My receiver turns on slowly and defaults to a particular HDMI input. I need to send a command to change the input, but need to wait until the other CEC devices all power up. I can make this work by hardcoding the new input command to another key and then pressing it after all devices are powered up. I'd like to however have this command sent after a certain delay. Is there a straight delay function or some other way of programming this?
  4. Thanks Jason, I updated the desktop app and the delays work and I can select all the delay values. prior to this update I could not select certain values. Works great now and I reduced my 16 second delay today to a much more sane value. One more question are there plans to add the ability to do a press and hold to send a different command? For example on my LG TV if you press back it goes back one screen, but if you press and hold it sends the exit command. So for the Skip one press should send the back command and a long press should send the exit command. Also can you enable the delete option for posts? There are some I posted that I want to delete :-)
  5. 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
  6. Just a FYI, I think it works now, I had to increase the total delays to 14 seconds. TV power I a gave it 4s Dune Homatics Box power toggle I gave it 6s Then I do the HDMI toggle and give another 2s Then I toggle the dune's home page command Then finally I do another HDMI 4 They don't seem to be accurate though, the animation finishes way faster than 14 seconds. If I count 1001 etc to 1014 the animation finish in like 4 or 5 seconds. Not sure if it's supposed to keep displaying thru the whole macro.
  7. yep, the delay doesn't seem to work or is not doing the set amount of time correctly. I have a power on that I have to switch the tv to HDMI 4 and even if I set the delay to 10 seconds on one command and 6 on the next the switch to HDMI happens once in a blue moon which leads me to believe it's not waiting the specified amount of seconds.
  8. How do I get this thing to consistently send power on or power off with the same keypresses? It seems like A and then power does on, and A+power does off, except sometimes it switches? This all needs to be predictable if my family is going to use it. Also, how do I have it wait 30 seconds or so to send the HDMI command after powering on the TV?
  9. My pleasure. Yeah, looks like I have a bug in the command, so sorry about that. On my list is a bit of a firmware re-write to bring it up with the remote as well as make the configs human readable JSON.
  10. Thanks! Just did a quick check with flirc_util.exe settings And noticed what your talking about... 5 33733D53 045 02 next_track 6 CF881170 130 01 up 7 2C2DDF24 045 01 up 8 D1B6D3EB 045 01 left #6 does seem like the odd one out of the rest of the codes, I tried to delete it with flirc_util.exe delete_index 6 But it doesn't seem to take effect as running the settings command shows it. Is there another argument that I should be using or could you please remove it? *EDIT* Just noticed this one... 12 10A01061 045 01 0 Not sure if that was from you or not, but if not it could likely be removed as well.
  11. i can send you the previous firmware, but would also need to include support for the comma delimited sendir command, is that correct?
  12. No worries, it is a minor complaint compared to a bug! No rush to this below question: I don't see any explanation why 3.26.0 is now broken with fully up to date Win 11 22H2. Testing 3.26.0 using the command line repeatedly verified this on several machines. These machines were minimal-ist machines (Minisforums N40 mostly). No easily accessible method to raise the priority of the command line to see if that would improve. Is there a flirc_util command line switch for verbose that might offer a better error enumeration than >> [E] util/flirc_util/src/cmds/ir_transmit.c sendir(96): Error: invalid length, must be even
  13. The remote is pretty darn good for being so fresh. It's way better than the sofabatan X1. You can learn codes now if you have a FLIRC the process is not documented well but it works great. No reason you could not get all your stuff working perfectly if you have the orignal remotes. There is a command line app that you can run called irtool.exe and it will learn any code from any IR remote. it's in the flirc folder: C:\Program Files (x86)\Flirc usage: irtools.exe decode -l Then point your remote at the plugged in FLIRC and boom you have your codes, then just use one of the .json files as an example and add to your local copy of the skip app. You do have to enable the config tab in order to add "brands" aka new .json files with the pronto codes.
  14. ok, after digging in the forums I found out the procedure to learn the codes using the irtool.exe command line app and low and behold the codes the manufacture of the Dune Homatics provided are not correct, maybe from a pre production model of the remote... Anyways it works now perfectly and I will create a full .json brand file for the Dune HD Homatics Box R 4K Plus
  15. Ok, so I am trying to get this Dune Homatic device setup and I am doing the new brand thing with the Json file. I figured that all out but the problem now is the Skip is doing like a double click each time a button is pressed. I tried setting the repeat but it won't go lower than 1. needs like a .5 or something. Is there anyway to prevent it from sending more than 1 IR command? I am probably missing something LOL I have attached the .json file I am working on. For example in the file, the home button does a double click and goes into the task manager instead of just going home, which on the device is a single click and if you double click the home button it goes to the task manager, but with the Skip it just goes directly to the task manager. Thanks in advance. DUNE3-JH-AV.json
  16. I have been using my Flirc for a month or so and it has worked brilliantly, except... My problem is double key presses. My configuration won't help any as I am using a Skippa remote to control an IceBox. What's a Skippa and an Icebox, I hear you say? The Skippa is a PVR (now dead) that is unique to an Australian company called IceTV that provides a unique EPG service that allows you to set recordings on the PVR from anywhere with cellular service. The IceBox is a later version that is based on a NUC running LIBREelec and Kodi software as well as an IceTV plugin that allows the IceBox to communicate with the IceTV service. The IceBox came with an RF remote out of the box, which didn't suit my setup which uses InfraRed extenders to allow the various entertainment devices to controlled throughout the house. It's all actually more complex than that, but I doubt anyone will make sense of the setup. My solution to integrate the IceBox into the setup was to record the keys from the Skippa remote to a Flirc and use a plug it into the IceBox. A key point is that the Skippa remote I am using is not configurable. It is an out of the box remote, i.e. not a programmable device. As I said it all works brilliantly, except for the double key presses. When I press the '2' button on the remote the IceBox sees '22'. I immediately recognized the problem. The Flirc was responding to the multiple '2' pulses, that the remote generates with a single press of the key, and pushes out what it receives. The biggest problem is the Pause/Play button, i.e. a Pause is immediately followed by a Play. I have researched the issue in the forum and quickly found threads where the problem was discussed, and the solution was to adjust the Interkey delay on the Flirc. Unfortunately, in the current version (Build 2?) this adjustment of the Interkey Delay is no longer available. I saw a suggestion to use the Command Line "interkey_delay" command available with "flirc_util.exe", so I hunted around and found out how to do this but got the response "inter-key delay: N/A for current firmware". Can anyone explain why the Interkey Delay capability has been dropped? It seems to be such a logical function to have. I also note that every time someone raises interkey delay for Build 2 Flircs, all conversation stops. This makes no sense to me. I can understand that the function has been withdrawn for some reason, but why not just say so? I have yet to find a thread where the withdrawal has been explained. Of course, if someone can point me to a solution that would be greatly appreciated, but I have little expectation of one.
  17. Ok, I managed to get it to work. It was kind of kludgey but I was able to save a config using the other denon's button and pull the pronto code into the manual "AVR-X6400H" config. Why can I only assign a command to a max of 3 buttons. If i created a config with 7 different names for same pronto code I could essentially assign the same button 21 times. Why not just let me assign it an absurdly high number of times like 10 or 15? Is there any plans to make the Remote Programming software open source? I peeped through the github and didn't see it. This has been an incredible relief overall. This certainly has the promise to become as good as my beloved Harmony and is 80000x better than that absolute dogwater SofaBaton heap of garbage. Thanks for creating this product. I feel like if you've got amazon fulfillment, may as well have it listed on amazon as well? Would certainly get more eyeballs on it and vs the competition on there it's miles ahead.
  18. I have simmilar problem using curl instaling version on Ubuntu 22.04 64bit. Script successful executed, but nothing was installed. (I think the repo is broken or unavailable) Then I tryed manual install from sources with success : 1. https://flirc.com/ubuntu-software-installation-guide - download Latest Archive 64bit 2. Unzip and copy flirc_util and Flirc files to /usr/local/bin/ 3 In directory /etc/udev/rules.d create new file and name it 99-flirc.rules. Paste bellow content: # Flirc Devices # Bootloader SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="20a0", ATTR{idProduct}=="0000", MODE="0666" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="20a0", ATTR{idProduct}=="0002", MODE="0666" SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="0005", MODE="0666" # Flirc Application SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="20a0", ATTR{idProduct}=="0001", MODE="0666" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="20a0", ATTR{idProduct}=="0004", MODE="0666" SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="0006", MODE="0666" 4. Restart computer 5.When I try to start Flirc I got libreadline.so.7 missing dependencies error. In Ubuntu 22.04 is now version libreadline.so.8 installed so I crate symlink : sudo ln -s /lib/x86_64-linux-gnu/libreadline.so.8 /lib/x86_64-linux-gnu/libreadline.so.7 6. Install other dependencies. (not all will install, but don't afraid and continue) sudo apt install libhidapi-hidraw0 sudo apt install libqt5core5a sudo apt install libqt5network5 sudo apt install libqt5xml5 sudo apt install libqt5xmlpatterns5 sudo apt install libhid sudo apt install qt5-qtbase sudo apt install qt5-qtsvg sudo apt install hidapi 7. Start configuration program using sudo command (without sudo program starting, but throw errors) : sudo Flirc
  19. In Flirc and flirc_util it's not possible (yet) to record just the Left Ctrl key on its own. That is most useful, for example in Android Keymapper, to have a modifier key on the remote. (Kind of like a sticky Ctrl key.) Come to think of it, I've searched for 'modifier key' in the forum, but it's probably an existing topic. Cheers! I may have used this command correctly to do just that: sudo ./flirc_util record_api 1 165 The '1' is the Left Ctrl modifier key, and the '165' is the Left Ctrl key in the 'IEEE HID' list. (Found in Whole world Google but also attached for your reference. As used by Flirc.) By the way it has to be said; the shipping company FedEx knew quite late about the import taxes into another country, they could have found out sooner, to avoid them being surprised. Like paying an exit fee. So they got that part back. (Thanks for the Skip 1s, no regrets:) Flirc IEEE HID keyboard keypad table info.txt
  20. Did it again today. Same scenario. Remote sitting on top of smart phone, move remote to do a thing (take a call this time), put the phone back and then put the remote on top. This time it would probably about 30 seconds after the remote was set down before the remote issued the off command and the center LEDs cycled. In case anyone else sees this and wants some info, I'll be on vacation until Sept 16th so I won't respond until then. When I get back I'll try to set up some sort of mildly scientific experiment. Probably something like 1 week of setting the remote on the phone and another week of the remote never being with 3 feet of the phone and then repeating that cycle for a while to see if a pattern develops.
  21. Hey I was able to create a basic device file for the R1280T. It supports only volume up and down, it can't turn off or mute the device. I've lost my original remote, but before that I set up these two buttons on a different remote, so I was able to read the IR command from it. Hope it helps. edifier_r1280t.json
  22. That would be on the plex/jellyfin side. You would need to map the IR code sent by the skip1 to the command.
  23. Windows 11, seems that this version is required otherwise mostly get failures on flirc_util --sendir --pattern=...... when using 3.26.0 Updated the software, but found on capture that format has changed (maybe for the better) but where I used to get: 0,8954,4446,581,508,575,1647,578,512,571,1652,573,516,577,1646,579,1644,570,1652,573,1649,575,1647,578,1645,579,510,573,517,577,513,580,1642,573,1650,574,1648,606,1617,579,511,572,518,576,514,579,511,572,517,577,513,580,510,573,517,576,1647,578,1645,580,1642,572,1651,574,1659,566,1646,579 which I could cut and paste into flirc_util --sendir --pattern=0,8954,4446,581,508,575,1647,578,512,571,1652,573,516,577,1646,579,1644,570,1652,573,1649,575,1647,578,1645,579,510,573,517,577,513,580,1642,573,1650,574,1648,606,1617,579,511,572,518,576,514,579,511,572,517,577,513,580,510,573,517,576,1647,578,1645,580,1642,572,1651,574,1659,566,1646,579 now IR capture displays -39942 +8990 -4421 +596 -493 +601 -1624 +570 -520 +604 -1620 +574 -517 +577 -1648 +577 -1648 +578 -1646 +599 -1625 +600 -1624 +570 -1654 +571 -520 +604 -487 +597 -493 +579 -1645 +601 -1623 +571 -520 +604 -1620 +574 -517 +577 -513 +601 -1624 +601 -489 +605 -1619 +574 -517 +577 -1647 +599 -492 +602 -1622 +605 -1619 +604 -487 +575 -1650 +607 -483 +579 -1646 +579 I dont see anything in the ini file to "old school" this capture, and the flirc_utility doesnt yet appear to accept the new capture stream. Comments anyone? Where is this going? With kind regards, Rob
  24. No remote that I know of has all the keyboard commands but the "Microsoft MCE Keyboard" device available in the harmony app seems to have all the keyboard commands available to assign to any remote button. It allows me to use the remote to execute keyboard commands or combos for shortcuts on a windows PC. I use it for activities involving Kodi or media monkey or anything else on the PC that I have connected to my TV. For example, I put app shortcuts on the task bar and can execute them from a remote as needed or at the start of an activity. I can send the WIN+4 command to open an app then send WIN+5 to run an NirCmd that switches the default audio device. Upon switching activities, I can send an Alt-F4 command to close the app and WIN+6 to switch the default audio device back to what it was. It all dependent on the order of the shortcuts placed on the task bar. When using Kodi with a Flirc USB on a Raspberry Pi, I think I needed to learn the letter 'T' command and the 'delete' command from my harmony remote configured with the "Microsoft MCE Keyboard" device. That way I was able to toggle subtitles with a single button and delete a video file with one button (no need to use the context menu to delete something). That's what I'm hoping to do with the Skip 1s. Other than that, the remote seems to work well and I'm getting used to the button placements. I'm also learning the app (just realized today that I can add delays).
  25. Hi, I'm running the latest firmware from this forum (12) and the volume up/down buttons are extremely slow to activate. While the LG navigation buttons I used for the TV go into rapid-fire when holding them, and also react very quickly, this doesn't appear to work for the volume buttons I've set to control a Pioneer VSX/SC compatible receiver. The commands are sent once every second (and can take a long while after pressing the remote - this is another issue; the remote shouldn't be doing anything if no one is touching it). I also hope that this won't affect my final use case when my preamp (Topping Pre90) gets supported, and I'd want to control both at the same time with fast response times. Rapid fire in this scenario will be a disaster due to different behaviors of the devices, but when it's a single command for each, hopefully both can be sent quickly, and repeated quickly once the button is pressed again.
×
×
  • Create New...