Jump to content
Flirc Forums

frenchzed

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by frenchzed

  1. Hey,

    A little project of mine is to use Flirc USB as generic IR receiver instead of a keyboard emulator. The ideal situation would be something that grabs received codes and fire them onto a MQTT topic that would later be handled by Node RED.

    Until recently, I though I would have to record a bunch of keys to essentially map well known IR codes to corresponding keyboard keys such that I could just get the event. However, recently I noticed that irtools decode -l was doing almost exactly what I wanted already !

    I could build a wrapper that launches irtools decode -l and try to parse its output but I'd much rather have that functionality built in a library.

    Do you plan to have that happen eventually ?

    Thanks,

  2. Hi,

    I started to record keys and when I made a mistake and wanted to clean an erroneous key, i noticed that delete_index seems to be broken.

    $ flirc_util settings
    flirc_util version 26e271e49325ec7e449a705e4d438c7d0426fd0d [26e271e+]
     Firmware Detected
     FW Version: v4.9.7
        SKU:     Flirc 2.0 [dori]
        Branch:  release
        Config:  release
        Hash:    0x1DE23EB8

    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
    -----  --------   ---  --  ------------
        0  5EDD5604   108  01  a

     

    $ flirc_util delete_index 0

    $ flirc_util settings
    flirc_util version 26e271e49325ec7e449a705e4d438c7d0426fd0d [26e271e+]
     Firmware Detected
     FW Version: v4.9.7
        SKU:     Flirc 2.0 [dori]
        Branch:  release
        Config:  release
        Hash:    0x1DE23EB8

    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
    -----  --------   ---  --  ------------
        0  5EDD5604   108  01  a

    I believe 4.9.7 is the very latest version of the firmware. I'm using flirc_util from the latest version of the https://github.com/flirc/sdk

    Thanks,

     

×
×
  • Create New...