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. GerryD

    Steve H

    I'm having an identical problem. Interesting this is it "WAS" working fine. I'm at a lose to determine what has changed. I've unistalled and reinstalled a couple of times and reloaded the flirc firmware. WIndows 10. The device disconnects and reconnects after every yril cmd. :\Program Files (x86)\Flirc>flirc_util.exe settings 3.26.0 FW Version: v4.9.3 [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: 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] 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 SKU: Flirc 2.0 [dori] Branch: master Config: release Hash: 0xCB185BDE Settings: sleep detection: always enabled noise canceler: always enabled inter-key delay: N/A for current firmware variant: Flirc builtin profiles: NA Memory Info: NA product sku: Flirc 2.0 [dori] C:\Program Files (x86)\Flirc>flirc_util.exe unit_test [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state' [E] lib/libflirc/firmware/fw_4.9.c fl_ver4_set_record_api(108): command error [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] 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] lib/libflirc/firmware/fw_4.2.c _fl_unit_test(141): error recording Flirc Not Okay [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state' *** Device Connected *** Firmware Version: v4.9.3 SKU: Flirc 2.0 [dori] Git Hash: 0xcb185bde *** Device Disconnected *** *** Device Connected *** Firmware Version: v4.9.3 SKU: Flirc 2.0 [dori] Git Hash: 0xcb185bde *** Device Disconnected *** *** Device Connected *** Firmware Version: v4.9.3 SKU: Flirc 2.0 [dori] Git Hash: 0xcb185bde <3>report_callback(227): pkt recv err <3>report_callback(227): pkt recv err
  2. Terminal output: $ DEBUG=true /Applications/Flirc.app/Contents/MacOS/Flirc dyld: Library not loaded: @executable_path/../Frameworks/libusb-1.0.0.dylib Referenced from: /Applications/Flirc.app/Contents/MacOS/Flirc Reason: no suitable image found. Did find: /Applications/Flirc.app/Contents/MacOS/../Frameworks/libusb-1.0.0.dylib: cannot load 'libusb-1.0.0.dylib' (load command 0x80000034 is unknown) /Applications/Flirc.app/Contents/MacOS/../Frameworks/libusb-1.0.0.dylib: stat() failed with errno=1 /Applications/Flirc.app/Contents/MacOS/../Frameworks/libusb-1.0.0.dylib: cannot load 'libusb-1.0.0.dylib' (load command 0x80000034 is unknown) /Applications/Flirc.app/Contents/MacOS/../Frameworks/libusb-1.0.0.dylib: stat() failed with errno=1 Abort trap: 6 What timezone are you in? GMT-7?
  3. 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
  4. jason

    Jeff Probe

    It's the same product as the black magic probe, which is 70 dollars. I wanted something cost effective, and shared it. If you can't figure this out, you wont figure theirs out, because it's literally running the same firmware. A 55 dollar difference. Here is the correct command: dfu-util --device ,1d50:6017 -s 0x00002000:leave -D blackmagic.bin Please be kind on my forums.
  5. Hi all, Sorry if this was asked before- I searched but did not find anything to help me. I "managed" to program the Flirc USB to operate Fire TV stick, using Roku commands programmed into my Universal Remote MX-780. Everything works as it should. The Fire TV came with a basic remote, without "Netflix" or "YouTube" buttons. However, I see that Amazon now sells Fire TV remotes that have those buttons. For now, I programmed the "YouTube" command as a macro that has all power commands for my equipment and then calls for "1 sec. delay, home, Right x 3, enter", because the app is located first in the front row. However, this is a long command, so I would to have more "elegant" solution ...if at all possible. Thanks
  6. Hey All, Noob here, trying out new things. I am attempting to set up a magic mirror and would like to use my HomeBridge Broadlink IR blaster to shutdown my raspberry pi when I leave the house. If I set up the broadlink to send just the simple power command, if the pi is already off, the broadlink will turn the pi on when I leave the house- which defeats the purpose of trying to save energy. Before I buy it, can I program a Flirc USB IR Receiver to just send a shutdown command? and is there a guide that anyone can link to me please? Thanks!
  7. Hi Jason, spent about 2 hours trying to program the "Power ON" command: NO GO The command worked only for "Power OFF" but not for "power ON" when I programmed the button under Shield G.2 or media Keys controllers. Interestingly, that the list of IR Hex codes for MiBox contains a Hex code for discrete "Power OFF" that works every time on MX-780 but the Hex code for "Power ON" does not work well at all- it may work one time in 10-20 tries... Too bad - the MiBox ticks all my boxes otherwise.
  8. Hi all, I am trying to program URC MX-780 to power up/wake up my original MiBox (manually downgraded back to Android 8.0). After initial Xiaomi faulty upgrade of their MiBoxes (that made the box unstable and often unresponsive), I went back to using Roku which the MX-780 controls just fine. However, there is one custom app that cannot be loaded on Roku (Russian TV service that my mother watches). I was going to throw away the MiBox but found the tutorial on downgrading it back to original FW which worked and now I have fully functioning MiBox. I managed to upload Xiaomi Hex codes on the MX-780 and the remote controls the box just fine EXCEPT for the "power" command. The "Power Off" Hex code works just fine but I was unable to get "power ON" command to work. The same command ("Power ON") works 100 % of the time from the original BT remote. So I bought a USB Flirc hoping that I will be able to program it to reliably turn On the MiBox. Unfortunately, it was not the case: I tried programming under Kodi, Shield, Windows (wake command)- nothing worked so far. Have anyone managed to program gen.1 (original) MiBox to turn On/Off reliably using Flirc? If yes, what did you do? Thanks
  9. I found a way to do sort of do this in case you are comfortable using the CLI. (I'm also surprised this is not a native feature!) First, go to Flirc GUI and there go to File > Device Log. Turn on the Enable IR debugging checkbox and press a key on your remote against the Flirc receiver. There will be a number of new lines. Ignore the ones starting with a colon and look for a line with a long sequence of numbers separated by commas. Note that this line will most likely be wrapped around into multiple lines and it usually (maybe always?) starts with a zero - the zero is the first number of that sequence but the line will likely break right after it. Cope the whole sequence into your keyboard. Next up, find where the Flirc CLI is on your system, on macOS it is in /Applications/Flirc.app/Contents/Resources. Use your terminal to enter this directory and in it, run this command substituting your actual pattern from the Flirc GUI: ./flirc_util sendir --pattern="0,…" This will replay the recorded sequence using the IR transmitter in Flirc. I was able to verify this works by using a remote-controlled LED strip and recording one of the color buttons and then changing the color to something else with the remote and replaying the original color IR sequence using Flirc CLI and the LED strip consistently switched back to the recorded color. Hope this helps anyone! And also hope Flirc will kick the support up a notch, it almost seems like the product is abandoned :/ Which is a shame, because it is genuinely great.
  10. This command does not work because the proper command is. flirc_util record print_screen The help page for record however states the proper term is printscreen. [kodi@kodi-bedroom ~]$ flirc_util help record Help for `record' command: usage: record '<keyboard key>' examples: flirc record a flirc record space valid commands: a-z <any single letter> return, enter, escape, backspace, delete, tab, space, F[1-12], printscreen, scroll, pause, insert, home, pageup, pagedown, end, right, left, down, up, Media Keys: wake, eject, vol_up, vol_down, mute, play/pause, stop rewind, fast_forward, next_track, prev_track System Keys: suspend Other: toggle [enbables/disables] flirc This is the version information, running on Manjaro via the flirc-bin git on arch AUR. Which I believe is just a repackage of the Debian/Ubuntu files. Version: flirc_util.release.v3.25.3 FW Version: v4.9.3 SKU: Flirc 2.0 [dori] Should be easy to fix. Either change the help text (also is wrong on the error page if you use the printscreen keyword) or have your case statement handle both terms. Not sure what it says in the manual, it may need to be changed in there as well. Hope this helps. Karl
  11. Finally found a work-around. Apparently the first section of the command line is disregarded and not interpreted as a command if and only if it equals flirc_util.exe. I was using flirc_util <command>, not flirc_util.exe <command>. Everything works exactly as expected when including the .exe extension. Maybe this could eventually be adjusted to handle both cases (with and without the .exe extension)? Just a suggestion.
  12. Just bought a Gen 2, and after installing the software I tried to use the command line utility and found that there seems to be a bug in how the command line is parsed. Every time I try to use the utility, no matter what I put after the executable name I receive the same error message: [E] lib/libcmds/cmds.c run_cmd(275): could not find command 'flirc_util' Looks like it is considering the name of the executable as the parameter. I double-checked by renaming the executable to 'help.exe', and sure enough I got the output I would have expected from 'flirc_util help'. I renamed it to 'version.exe' and I appear to have version 3.25.3-16-g28e8a01+. I'm running Windows 10. Is this something that can be looked at for the next software release? Alternatively, am I being very thick-headed and doing something amazingly wrong? Thanks!
  13. I recently got a Shield TV Pro (2019) and bought a Flirc USB so that I could use my Harmony 950 remote to work with the Shield with IR commands. I do not have the Harmony Hub. I updated the Flirc firmware on my PC, then followed these instructions to add Flirc+Shield TV as a Harmony device. This gets the arrow keys, Select, Back, and Home buttons to work, however several other buttons from the Shield remote don't work, even though they show up in the Harmony software as options: Power, Menu, Play, and Netflix. I can work around or ignore most of those, but I need the Menu button to work for Flirc to be of use for me. Is there something I missed? Or did anyone get their Harmony remote to pass the same command as the Shield TV remote's Menu button?
  14. Steve H

    Steve H

    Hi Jason I've tried it in a different USB port. The list of errors from the settings command is shorter and the record command still did not work I will attempt to try it on different computer tomorrow Cheers Steve C:\Program Files (x86)\Flirc>flirc_util.exe format Formatting Device, please wait... Done! C:\Program Files (x86)\Flirc>flirc_util.exe settings 3.25.3-16-g28e8a01+ FW Version: v4.9.3 [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 SKU: Flirc 2.0 [dori] [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 Hash: 0xCB185BDE Settings: sleep detection: always enabled noise canceler: always enabled inter-key delay: N/A for current firmware variant: Flirc builtin profiles: NA Memory Info: NA product sku: Flirc 2.0 [dori] Recorded Keys: Index hash IK ID key ----- -------- --- -- ------------ C:\Program Files (x86)\Flirc>flirc_util.exe record h Press any button on the remote to link it with 'h' [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion' Error, button exists C:\Program Files (x86)\Flirc>
  15. Steve H

    Steve H

    Hi I just bought a Flirc v2 I have successfully mapped an IR remote button to keyboard functions using the GUI app This is the device log: Wed Aug 18 2021 16:34:58 Flirc GUI Version v3.25.3-15-gc366d26+ Operating System: Windows *** Device Disconnected *** *** Device Connected *** Firmware Version: v4.9.3 SKU: Flirc 2.0 [dori] Git Hash: 0xcb185bde I want to record some macros, but I'm getting errors with the flirc_util.exe I did these steps: Format the Flirc (to clear all settings) Attempt to record a key "h", but I get an error before I had time to press any IR remote buttons I then ran the "settings" command and got what appears to be multiple errors I need to know if my unit is faulty (so should be exchanged), or if there is another problem (and solution). My system is windows7 I have posted the CMD prompt info below - note the commands were issued one after the other Cheers Steve C:\Program Files (x86)\Flirc>flirc_util.exe format Formatting Device, please wait... Done! C:\Program Files (x86)\Flirc>flirc_util.exe record h Press any button on the remote to link it with 'h' [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion' Error, button exists C:\Program Files (x86)\Flirc> C:\Program Files (x86)\Flirc>flirc_util.exe settings 3.25.3-16-g28e8a01+ FW Version: v4.9.3 [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 SKU: Flirc 2.0 [dori] [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/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 Hash: 0x00000001 Settings: sleep detection: always enabled noise canceler: always enabled inter-key delay: N/A for current firmware variant: Flirc builtin profiles: NA Memory Info: NA [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: 'ir_state' [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot not a valid image product sku: NA [E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'h_peek' [E] lib/libflirc/firmware/fw_4.0.c get_config(101): command error [E] lib/libflirc/firmware/fw_4.0.c fl_ver4_display_config(960): couldn't get config Records: NA
  16. I have both the Flirc v1 and v2. The v1 has no problem replicating key repeat when holding down a key on the remote. (One of the generic remotes used for DVRs by Verizon, Frontier, etc.) I can't get the v2 to do key repeat. I tried programming long press as the same key, but no matter what, I get one and only one keypress. Is there something I should be changing to get key repeat working? I'm familiar with the command line tool if that makes a difference. I'd like to have both long press and repeat available, but at this point I would gladly switch to a firmware that abandoned long-press for functional key repeat.
  17. $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.2 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal $ dpkg -l flirc Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii flirc 3.25.3 amd64 no description given $ ldd /usr/bin/flirc_util linux-vdso.so.1 (0x00007ffe453d8000) libreadline.so.6 => not found libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f7de9b4c000) libhidapi-hidraw.so.0 => /lib/x86_64-linux-gnu/libhidapi-hidraw.so.0 (0x00007f7de9b45000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7de9b22000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7de9930000) libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f7de9903000) /lib64/ld-linux-x86-64.so.2 (0x00007f7de9b7a000) libreadline6 is not available in ubuntu, it would be best to update the package to use libreadline8, or libreadline5 which seems to be available still. This may have been taken care of with 3.25.4 (if I could download the package I would check myself) but if not could you please add it to the todo list for 3.25.5. The /usr/bin/Flirc gui works just fine, but others may want the command line.
  18. I have a Flirc V2 running on a raspberry pi headless. Using the device log when I press the increase temperature button I get this (I just press the button one time but get what looks like to me to be two outputs): :e:0 371,454,375,454,372,453,372,453,372,423,406,424,405,424,406,484,354,454,375,454,371,454,376,454,371,454,1226,484,353,454,1226,454,371,458,371,454 :e:0 376,454,371,449,380,458,371,429,396,453,372,453,371,450,384,454,371,454,375,454,371,454,371,454,371,424,1264,454,371,454,1230,450,379,454,376,423 I am now trying to use the sendir command like this: flirc_util sendir --pattern="371,454,375,454,372,453,372,453,372,423,406,424,405,424,406,484,354,454,375,454,371,454,376,454,371,454,1226,484,353,454,1226,454,371,458,371,454" --repeat=1 --ik=40000 and I get this error: [E] util/flirc_util/src/cmds/ir_transmit.c sendir(101): Error: buffer should lead with zero But if I add a zero at the beginning like this, I get a different error: flirc_util sendir --pattern="0,371,454,375,454,372,453,372,453,372,423,406,424,405,424,406,484,354,454,375,454,371,454,376,454,371,454,1226,484,353,454,1226,454,371,458,371,454" --repeat=1 --ik=40000 [E] util/flirc_util/src/cmds/ir_transmit.c sendir(96): Error: invalid length, must be even I also tried recording the on/off button with similar results. I noticed the codes are always a little bit different everytime. Do you have any suggestions? Is controlling a minisplit something the Flirc can do? Thanks for the help!
  19. Same as above. I have a newly purchased Flirc USB v2. Load I downloaded was: "Flirc-Setup-3.25.4", but after install GUI "About" command shows : Flirc GUI Version: v3.25.3 Git Version: 3.25.3-15-gc366d26+ Gt Branch: (detached Based on Qt 5+ The alert box advising of new s/w availability looks as per attached screenshot:
  20. I'm unable to get play, pause, or TogglePower working on my Harmony 650 remote control, when controlling Flirc v2 USB on NVIDIA Shield TV Pro (2019). The Flirc & Shield are newly purchased. I haven't tested exhaustively yet, but other functions seem to be okay. (I am able to work around lack of Shield power-up by adding "DirectionDown" & "DirectionUp" commands to the end of the Activity Startup Command list used by my Shield activity. Haven't yet found a way to explicitly power-down the Shield though).
  21. Hi i´ve sent a picture of my keyboard to show to you what that keys does and what command that keyboard sends to my pc. If you could help me out how to create a way to simulate that command keys to my flirc? Because i´m using Flirc to create a Infrared receiver to my Provider Box (Set Top Box), because my Set Top Box only Work with RF, and if you can aswell could you explain to me how can i share my configuration to my community so if anyone have the same problem an wants to sort it out the same thing he can use the profile that i´ve created. Very Thanks for the help in advance. Esquema de Comando da Box da Nos.docx
  22. As he said, the fn button doesn't actually do anything, it just changes what command your keyboard sends. So if you can tell us what command fn+f4 on your keyboard sends, we may be able to help
  23. So, I finally got all of this working, but seems like I had to jump through several hoops for what I assume would be somewhat default behavior everyone should want... so I'm posting here in hopes that it helps others (the other posts I could find on this are rather old), as well as to see if I just missed something obvious. Firstly, just plugging the Flirc in to my Chromebox running Kodi(LibreElec), and setting it up as a Flirc/Kodi device in MyHarmony initially worked pretty seamlessly for control functions, however there were two issues: 1) Any IR command would resume the Chromebox if suspended, and 2) the PowerOff functionality brought up the Kodi power menu, wherein you had to navigate to a selection. When I installed the Flirc GUI on a Windows box to program it, it upgraded the firmware on my Flirc, after which it no longer responded to any generic IR event it saw to wake up the Chromebox. And interestingly the ability to toggle that in the Flirc Advanced menu remained grayed out (not sure why). However, there are "Power On" or "Resume" events in the Harmony Flirc/Kodi profile (Just PowerOff). So even though there's a Flirc "Wake" event (on the Kodi or Full keyboard controller profiles), I had no corresponding Harmony function/button to map to it. I eventually solved this by taking an old IR remote I had from a device I no longer had installed, and creating a new Harmony button I named "Resume" and training it with that old remote IR command, and set up the Harmony Flirc/Kodi device with that same code to Power On. I then trained the Flirc by mapping that IR code to "Wake" in the Kodi controller. Once done, the Chromebox only wakes on that specific IR command, and nothing else. In order to force the Chromebox to suspend, I originally tried to change the default behavior in the Keymap by creating my own /storage/.kody/userdata/keyampas/keymap.xml and setting: <keymap> <global> <keyboard> <power>XBMC.Suspend()</power> </keyboard> </global> </keymap> That didn't seem to work. So I eventually followed the advice of this Flirc forum post. I took yet another old IR remote for a piece of hardware I no longer had installed, and trained the Flirc to map that remote's power IR command to CTRL-F12, and then used the following keymap.xml: <keymap> <global> <keyboard> <f12 mod="ctrl">XBMC.Suspend()</f12> </keyboard> </global> </keymap> I then taught the Harmony that same IR command, calling it "Suspend", and added it as the power-off command for my Flirc/Kodi device. So now I have Kodi suspending and the Chromebox resuming with discrete IR codes. However it seems that if I hadn't had a couple of old IR remotes to learn some IR commands from, I would have had no way to teach the Harmony and Flirc how to do this. It also seems like LibreElec/Kodi might want to to have some way to change the default PowerOff events to directly trigger a power state, without having to bring up the menu first. Of course, I could have indeed missed something obvious in which case pointers certainly appreciated.
  24. For anyone that ends up on this thread, I figured it out. While in the same directory as the flirc_util program, and your FLIRC plugged into your PC, issue this command: (PC) flirc_util.exe record_api 141 102 (MacOS/Linux) ./flirc_util record_api 141 102 It will then prompt you to press a key on the remote that you want to associate with the FireTV Guide button.
  25. I am trying to develop an MCU that goes into a remote control. I use it as an IR Transceiver to test the MCU, and I want to make FLIRC execute a specific protocol by receiving a signal from a MCU (not a keyboard command). For example, I want to send a 0x01 signal to FLIRC and then output a specific image on the application(in linux) screen according to that signal. Can I create a custom application using FLIRC SDK code?
×
×
  • Create New...