Skip to content
View in the app

A better way to browse. Learn more.

Flirc Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Bug] sendir --raw not functional after flirc_util upgrade to 3.27.5

Featured Replies

Hi, I'm having an issue with sendir in flirc_util after updating the flirc package to 3.27.5. The code (if it's being sent at all) is not recognized by the device I'm trying to control with it. Works fine with 3.27.4.

  • OS: OSMC (raspbian 11.8)
  • FW Version: v4.6.5v4.6.5
  •    SKU:     Flirc 2.0 [dori]
  •    Branch:  master
  •    Config:  release
  •    Hash:    0x18BBFCFA

3.27.4 (works and code is recognized by receiving device):

$ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2
Transmitting IR Pattern...
+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588
-15000
Done!

3.27.5 (error and code is either not sent or not recognized by receiving device):

$ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2
Transmitting IR Pattern...
+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588
-15000
[E] lib/libflirc/firmware/fw_4.2.c _fl_transmit_raw(59): Value less than 40ms, increasing
Done!

 

  • 11 months later...

I see the same result with flirc_util 3.27.15+ and the following Flirc 2.0 USB firmwares:

v4.9.6

v4.10.5

The workaround is to transform the "raw" codes into CSV, this can be done with the following command (Linux):

raw="+9014 -4405 +535 ..... <rest of raw string>"

csv=$(echo 0"$raw" | sed 's/ \?[+-]/,/g')

flirc_util sendir --raw="$csv"

Note the prefixed '0'.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.