Jump to content
Flirc Forums

Recommended Posts

Posted (edited)

Hello,

I have a question regarding the commandline tool flirc_util.

Problem stopped after a reboot from the computer; I cannot reproduce it so removing the question.

When I learn a couple of keys on the Flirc (using the commandline tool), and then run "flirc_util settings", it shows me the list of keys I've learned.

If I then unplug the Flirc and replug it, the programmed keys still work, but "flirc_util settings" shows an empty list. If I now learn some keys, "flirc_util settings" will only show the newly learned keys.

Is this the intended behaviour? 

It is possible to circumvent it by saving to a flirc config file prior to unplugging the flirc, and loading the config file after replugging it. Flirc_util will show a complete list of the commands as they were saved, and learning new keys will add to this list. I'm now systematically saving my config to a file and loading it as it easier to have this list (I'm using an MCE remote, which means I need to train all the keys twice due to the MCE's rolling code).

Just out of curiosity: Is there a way of getting the full list of learned keys after having unplugged the Flirc?

Thanks!

Jörg

Edited by V_J
Posted
9 hours ago, V_J said:

Is this the intended behaviour? 

No, definitely not. Do the keys still work that you had paired previously?

The rest of your questions are kinda moot considering the device is loosing it's configuration. Can you make sure you are on the latest firmware? What does yours say?

Posted (edited)

Thanks for the fast reply.

I cannot seem to reproduce it today... 

The behaviour yesterday was:

  1. pair some keys
  2. flirc_util settings -> lists the pairing
  3. unplug flirc
  4. plug in flirc
  5. paired keys still work, flirc_util settings -> empty list (paired keys could be deleted with delete and ir code)
  6. pair some more keys
  7. flirc_util settings -> shows only the newly paired keys with index starting from 1 (pairings could be deleted with delete and delete_index, deleted_index deleted the key that was shown on the list, so this was consistent)
  8. go back to 3.

I hadn't used the flirc tool in a while but need to change some pairings (the flirc is basically set and forget :-)) and it puzzled me. I used a different computer, which had a fresh installation of the Flirc software - it was rebooted after installing the software. When I noticed my the flirc_util settings list was empty even though the keys still worked, I ran flirc_tool unit_test, and flirc_tool format but the behaviour stayed.

I noticed that saving the configuration to a file and loading it after unplugging/replugging had the same effect as pairing the keys, in the sense that the flirc_util settings list was complete. Today I wanted to reproduce it to give you full details, and flirc_util settings shows all the keys I paired yesterday. :-) Unplugging/replugging does not change anything.... It just works as it should. It probably should not matter but I shut down my computer yesterday evening so today I started from a fresh boot.

Just for completeness I've added my flirc version data below, but I guess we can close this as it does not occur anymore - will be impossible to figure out what it was if I cannot reproduce it.

Best regards,

Jörg

--

3.27.19
FW Version: v4.10.7
   SKU:     Flirc 2.0 [dori]
   Branch:  release
   Config:  release
   Hash:    0x71266B92

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]

Edited by V_J

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...