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. Try flirc_util.exe sendir --pattern=0,8834,4157,509,1534,510,494,509,493,507,495,508,1536,509,494,509,493,509,494,508,495,509,493,535,469,508,495,506,495,510,493,507,496,508,496,508,1534,509,495,522,480,507,496,508,494,508,495,509,494,509,493,508,1534,509,494,508,495,507,495,508 --repeat=0 Close Flirc GUI before running the command. --raw and --pronto arguments are not available before version 3.26.8.
  2. 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 :-)
  3. Yes, done in two ways. Android supports long press I believe, so if the key supports it, it should just work if it's recorded correctly. Second, flirc-usb has support built in too, so if the device doesn't support it, it will send a secondary command if you hold down the key.
  4. i can send you the previous firmware, but would also need to include support for the comma delimited sendir command, is that correct?
  5. 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
  6. 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
  7. 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).
  8. Hi there, I got a Linux machine running vdr, a Skip1s and a FLIRC. Now I have two problems: When I press a button, the command is sent several times, I have to hit the buttem extremly short. Ist there a solution yet? In the Flirc software, I use "full keyboard", in the Skip1S I used Hauppauge/WinTV. The problem here is I can't assign two remote buttons to the same key. For example, "yellow" on the remote is "F1" on the vdr, but also "fast forward" (when watchign a video". But I can't assign two remote buttons to one keyprress. Is there a solution for this? Bets regads, Heiko
  9. Hi there, I got a Linux machine running vdr, a Skip1s and a FLIRC. Now I have two problems: When I press a button, the command is sent several times, I have to hit the buttem extremly short. Ist there a solution yet? In the Flirc software, I use "full keyboard", in the Skip1S I used Hauppauge/WinTV. The problem here is I can't assign two remote buttons to the same key. For example, "yellow" on the remote is "F1" on the vdr, but also "fast forward" (when watchign a video". But I can't assign two remote buttons to one keyprress. Is there a solution for this? Bets regads, Heiko
  10. I have a Samsung TV and a PI4 running Kodi. I created an action to have the remote power on/off the TV, but reserve all other functions for the Kodi box. When I finish the wizard it lists "context menu" for the first press, and "power off" for the second press for the Kodi box. The Kodi box will stay on at all times so I don't need the power on/off function for it. I'd like to change this to have it execute the "stop" command for the first press as well as the second press. (This will ensure that the IPTV stream is killed when the power button is pressed.) The "drop here add another action" tooltip (see screenshot) seems to be inaccurate because nothing I seem to do will allow me to change or add to this.
  11. is there a way to know upon clicking Power button --it is triggering Power On or Power Off, because due to my set up I have command for power off but not for power on. Does it light up differently?
  12. For the LG TV, they have a common set of IR commands as their TVs can be controlled by stuff like pro AV systems and hotel headend systems, and their external device control setup guide does mention IR commands, including some special ones for power on, power off, and jumping to specific inputs. That common set is available in Skip App. (Edit: I'm mentioning this as that common command set worked for the model I have, although it's an older NetCast model rather than a newer webOS model)
  13. Good morning everyone, I've recently received my Skip 1s and Flirc USB and have some ideas/suggestions/questions. For that to make sense, I'll need to write a bit about how I came to make this post. Background story I found out about the Skip 1s online and think it looks amazing, the Flirc USB also looks great and the feature set of both devices good (especially since it has Linux support, which is a killer feature for me, as a daily Linux user). The Harmony remote of a "friend" broke and I want to replace it, to make his/her life a lot simpler. So I went and ordered these devices and attempted to configure the Skip 1s (the Flirc USB was more a fallback option, but since I'm a techie, I wanted to check it out as well). Skip 1s app So I downloaded the Skip 1s app (manual Linux version, NOT the repository version). And here I was confronted with a couple of issues on my Ubuntu 23.04 system: installation instructions ( https://flirc.com/ubuntu-software-installation-guide ) they include an outdated dependency list (but that won't stop me, although I hoped the qt5 dependencies would not bite me, since qt6 is the default nowadays) it mentions a file ( 99-flirc.rules ) which I eventually found the content of on this page ( https://flirc.gitbooks.io/flirc-instructions/content/linux.html ). A manual chown and chmod could do the trick as well (without udev rules in place) as a temporary workaround (did not want to fiddle with udev for now). running the GUI app it seems to have a ldd it shows a GUI, but keeps throwing errors about flirc_driver.c: user@host:~$ ./Flirc [E] lib/libflirc/flirc_driver.c fl_minor_version(498): something bad happened [W] gui/Flirc/src/main.cpp log_setup(131): flirc.ini not in the default location[E] lib/libflirc/flirc_driver.c fl_major_version(508): something bad happened [E] lib/libflirc/flirc_driver.c fl_minor_version(498): something bad happened [E] lib/libflirc/flirc_driver.c fl_patch_version(558): something bad happened [E] lib/libflirc/flirc_driver.c fl_major_version(508): something bad happened That probably explains why the GUI always states it is "disconnected" Going to File -> Advanced opens a new windows which is empty (all grey) running the flirc_util it seems to have a hard dependency on libreadline.so.7 which has been superseded by libreadline.so.8 (on my system at least). That can be worked around by creating a symlink in /lib/x86_64-linux-gnu running flirc_util unfortunately always gives me the same output: user@host:~$ ./flirc_util device_log device disconnected, can't run command So I thought to manually compile flirc_util ( https://github.com/flirc/sdk ), but after compiling and running the binary, it gave me the same issue. checking out the configuration bits (trying to get a feel for it) I noticed my devices are not in the database. TV: LG OLED55C21LA and soundbar: LG S90QY(26) and there is no clear way to add them. I did read this forum topic: I don't mind manually creating and submitting json files for those remotes, but there does not seem to be a clear way to do just that. Ideas / suggestions / questions So I have several ideas / suggestions / questions, based on the experience above: create a link on the installation page to the udev rules update the dependencies and fix the GUI and cli apps provide instructions on how to create and submit json files. Especially the bit on how to get the IR codes (can't figure how to do that with the Flirc USB) provide a LICENSE on all source code ( https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository ). Personally I strongly prefer the GPLv3 ( https://choosealicense.com/licenses/gpl-3.0/ ). I notice that (for me personally) it motivates me to work / help an open source project, since the license means it is future proof and my own work will always be available and improved upon. perhaps (depending on your goals), provide the source code of everything ;-) use a simple wiki for documentation you can use a per repo wiki (there's a tab in github for that, easy and done in a few clicks: https://docs.github.com/en/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages ) or use something like Github Pages ( https://pages.github.com/ ) Apologies for creating a single forum topic with several topics in them, but it is all very intertwined. Just trying to help out here :-)
  14. When adding a code set for a pay TV provider I use, I found that the code sets were missing some important keys for navigating the UI. Unlike with Logitech Harmony, I couldn't just record the missing key codes from my original remote as I couldn't find such an option in Skip App, only an option to record an entire code set. As a workaround, I hunted around for other IR code sets. The Wikipedia article for the pay TV service lists the receiver models they used, and using that I was able to get one of the keys by adding the code set for the receiver model I have, then the other by adding a code set for an older receiver model. What I basically want to be able to do is to go into activity settings, select a device code set I had already added, and click an option to add additional IR commands (which would stay local to the system the app is on and not get uploaded to FLIRC servers, though I'm not sure if the existing option to learn an entire code set has that option), then name and save those, and use them. In other words, it would be similar to the 'Add or Fix a Command' option that Logitech Harmony has.
  15. Use this guide to derive the HID page and key code of an HID event device or original remote connected e.g. via USB, I2C or Bluetooth to a Linux PC, or to verify that your Flirc actually sends the events you expect. HID page and key code can be grabbed under Linux following these steps: 1. Find the event devices associated with your HID devices using "udevadm info -a <device>" with <device> walking through /dev/input/event*. There might be multiple devices for a single hardware component, e.g. for a Harmony Hub there is one for HID mouse events, one for HID keyboard events, one for HID consumer control events, one for HID system control events, ... 2. Monitor the desired event devices (usually requires root) using "sudo evtest [--grab<] <device>" for each device required. The optional parameter "--grab" is essential if you want to stop the recorded events to be forwarded to and interpreted by the system, like I did to stop my system going into standby whenever I sent the sleep event that I wanted to record. If you want to use "--grab" on your local keyboard or such, you might want to either attach a second keyboard or run the command over the network via SSH, so you can abort the monitoring by sending Ctrl+C. 3. Perform the key presses on the device you want to record. Each key press will emit 2 events, one for key down (press), one for key up (release), example output for the "0" key: Event: time 1593381762.020128, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70027 Event: time 1593381762.020128, type 1 (EV_KEY), code 11 (KEY_0), value 1 Event: time 1593381762.020128, -------------- SYN_REPORT ------------ Event: time 1593381762.020198, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70027 Event: time 1593381762.020198, type 1 (EV_KEY), code 11 (KEY_0), value 0 Event: time 1593381762.020198, -------------- SYN_REPORT ------------ 4. Interpret the output; you are interested in the value of the MSC_SCAN (scancode) of EV_MSC (miscellaneous) events. The value is hexadecimal and for HID devices with the last 4 digits being the HID key code (0x0027) and leading digit(s) the HID page (0x07). 5. HID page 0x07 events (HID keyboard) can be programmed using "flirc_util record_api <modifiers> <key code>", where <key code> is the decimal representation of the HID key code you fetched above (e.g. 0x27 = 39), and <modifier> is a logical or-ed list of modifier keys to be held down while <key code> is sent (see "flirc_util help record_api"). I ran into an intentional limitation of flirc_util, limiting <key code> to values <= 101. Unfortunately, flirc_util silently programs the key anyway without a warning, leaving a key that is never sent. This cost me a lot of time while trying to send the correct codes to my hardware, being the Flirc the culprit by never sending the programmed keys. Jason is currently checking whether the limitation will be removed.
  16. GerryD

    Steve H

    It was on both. I've connected it directly to a USB port on the PC. Still no joy. Very flakey . My application is a web accessible remote remote. I've got a little web page with a pile o' buttons that wrappers flirc_util in shell mode to "sendir" commands to control my cable box. Here's an interesting observation, manually running the send_ir commands it turns out it works much better if the GUI isn't running, See below. ########## GUI not running ##################### <5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518 Transmitting IR Pattern...Done! <5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518 Transmitting IR Pattern...Done! <5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518 Transmitting IR Pattern...Done! ############ Turned on GUI ################# <5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518 Transmitting IR Pattern...[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: The parameter is incorrect. [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] util/flirc_util/src/cmds/ir_transmit.c sendir(112): Error: could not transmit data Done! flirc_sudo.exe $ I'll try to do some more debugging. In the meantime can you tell me how to find the Flirc device in Device Manager so I can verify the proper driver is being used?
  17. Hi, I have captured the following IR codes in the device log. I would like to send them using flirc_util sendir could you please convert them. Thanks my_flirc_log.txt
  18. I've got the input switching taken care of; I was putting the delay on the input command rather than the power command. Switching it to the power command fixed it. With the devices responding though, I guess I'm just not sure what the proper steps are to get it the Flirc USB connected to each device to only respond while that particular activity is active. This is my setup: - Activity A is a PC with a Flirc USB connected that is used to 1) Wake/Sleep, and 2) a few keyboard/windows bindings like the arrows, enter, and a macro for Alt + F4 - Activity B is an Nvidia Shield pro with a Flirc USB connected for Wake/Sleep, and Shield navigation. It seems that any remote button that is mapped in either activity causes both devices to respond. I connected the Flirc USB that I have hooked to my Shield up to the PC and went through the automated process for the Shield Gen2, mapping the remote buttons to each command while having Activity B active. I assume that's where I'm messing up....I'm just not sure what the correct steps are. I guess I'm just not sure why both devices respond while I'm in Activity A or B because in the Skip activities I chose Flirc > Nvidia Shield Gen2 for the device in Activity B, and Flirc > Kodi for Activity A.
  19. Also, when --repeat is omitted when running flirc_util.exe sendir --pronto="<pronto hex code>", flirc_util.exe defaults to 1 repeat. Not really a problem (you can specify --repeat=0), just slightly confusing.
  20. @Nathan I saw another post about missing Kodi command buttons and you seemed to suggest reporting here...so calling to you from here... I just received my new FLIRC Skip 1s and Flirc USB. I've followed the instructions for setting up the remote with my Samsung TV and my Kodi box (Odroid that has the Flirc USB plugged in to it). I picked the PC option, FLIRC, Kodi as instructed and as predicted the Skip 1S is controlling KODI pretty much as expected. Just missing a few things, just like @clayton & @Helios61 I also would like to configure: KODI HOME and allocate to the Home button on the Skip 1S KODI EPG command and allocate to the Home button on the Skip 1S with a long press KODI Record command and allocate to the Red record button on the Skip 1S I'm also wondering where can I configure some 'long press' commands (eg: Short Press Home = Kodi Home, Long Press Home = Kodi EPG) With these minor details addressed, I think I might finally say goodbye to my house full of Logitec Harmony's and buy a few more FLIRC SKIP 1S Thanks in advance Solo
  21. My remote seems to be locking up when the power button is pressed multiple times within a short period of time. I then have to remove the batteries, wait a few seconds, and then put them back in. I think that this may be due to the macros. I have a macro to send a power on command to the device and change the input on the receiver and one that sends the power off command and also changes the receiver input. I have attached my configuration. Remote Model SKIP.1S.RELEASE.A06 Firmware 4.12.13-0-g1393fac Skip App 0.9.965.7346 [Nightly] Couch Commander 6000.skip
  22. I’m working a project to do this with a remote that doesn’t support the target device. If you’re looking to do this without a remote or in a way that doesn’t need the flirc for input, only output, you could still use my setup instructions to get the ir sequences you need to use with sendir. I’ve geared this towards using a Raspberry Pi, but it’ll work on any Linux system. I haven’t written instructions for general linux systems, but if you add a user named “pi”, or modify the setup script, it should work on any Debian/ubuntu system. Be aware there’s a performance issue that i haven’t figured out how to solve, there’s a delay of a little less than 1s when using sendir and it sending the ir sequence. It makes using this for volume control pretty laggy. Here's my project: https://github.com/andrewfraley/flirc_repeater Here are some sendir instructions I wrote recently:
  23. Thank you for responding. Great to know and thank you for all your effort to improving the experience. Also other question, is there a way to know upon clicking Power button --it is triggering Power On or Power Off, because due to my set up I have command for power off but not for power on.
  24. 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.
  25. I have had my Skip 1s for about a week and I got a Sofabaton X1 yesterday and set it up last night. I have to say that I'm underwhelmed by the X1. The Skip 1s feels good in the hand. The buttons work well. It seems to have the right number of buttons. I like that it has a number pad. But it's not crowded and not overly minimal. Seems to have that aspect just right. The quality feels very good. The software to set things up is reasonably easy to use. There are some things missing, but it sounds like those things will be added in the future. I am using the current beta version of the app and now that learning has been added, I was able to get my Nextgen TV remote learned. That gives me what I need. I have a fairly simple set up. Three activities: watch TV with the Nextgen tuner, watch Apple TV, or play a Blu-Ray disc (which I rarely even do any more). So the supported three activities are enough for me. I look forward to being able to update the learned keys or add additional learned buttons and especially to be able to switch activities without needing to turn everything off then switch and then turn everything on. I did create some macros to allow me to switch, but it requires three steps (macro to turn off current box and switch input, press the new activity button, macro to turn on the new box, leaving the TV on). It would be nice if I could access commands from any of my devices from any activity and if there was a command to set the current activity. Then I could do one macro to manage switching activities, at least for my simple set up. The Sofabaton X1 build quality did not impress me as much. It's good. But at times, I press a button and it does the command twice. Press volume down and it goes down two steps. Press OK and it does OK twice. I find I have to be very careful when pressing buttons to get it to work correctly. I am not a fan of the hub. I would prefer to have that functionality in the remote itself. And when switching to my Apple TV, it often does not get the Apple TV turned on, perhaps because it takes too long to get connected via bluetooth. Maybe a delay would help. I don't know. The software is also somewhat annoying. Every time I change a button mapping, there is a long delay while it syncs to the remote or hub. Syncing should be done after I make all my changes, not after every change. I also sent a customer service request to Sofabaton with a question and have not heard back at all. It's like their customer service does not exist. I have had several email exchanges with Flirc and always got a response by the next day, including pointing me to the beta app so I could learn my Nextgen TV remote. It's nice to know I can get help if I need it. So just I put the X1 back in the box. I will stick with the Skip 1s. It's more enjoyable to use and does not get in my way. Thanks for a good product and I look forward to the improvements in the software to make it even better.
×
×
  • Create New...