Jump to content
Flirc Forums

How to use flirc_util sendir


Da4id

Recommended Posts

I am having a hard time getting "sendir" to work. Or rather, I am able to send IR signals, but they don’t do what I expect them to. What’s really confusing me is that what I’m sending doesn’t seem to be what the log is showing was sent.

Here is what I did. I pointed my remote at the flirc device, and pressed a button on my remote. A number of patterns came out, separated by :e: - I'm assuming each pattern is an alternate pattern?

Then I tried sending these patterns through flirc using flirc_util sendir. I kept the log open during this sending, but the pattern that was being logged didn’t match the pattern I was sending. I tried sending each of the patterns one by one but nothing happened on the target device. 

Any ideas where I can go from here?

 

 

Link to comment
Share on other sites

  • 5 weeks later...
  • 1 month later...

I am wondering the same. Would have been nice to share your solution once you figured.

I am always getting "Error: must specify an option" when I am trying to send the ir signal using e.g. based on the above log file the following command:

flirc_util sendir 0,8978,4384,608,469,608,1592,608,469,608,464,613,1592,608,469,608,464,612,478,608,469,608,464,612,1589,612,465,612,1592,608,1593,612,464,613,473,612,1588,612,465,612,464,612,465,612,465,612,464,608,465,612,477,613,464,608,1592,612,1588,612,1588,612,1588,612,1589,612,1592,612,1592,612

What am I doing wrong?

Link to comment
Share on other sites

16 hours ago, olympia said:

I am wondering the same. Would have been nice to share your solution once you figured.

Sure, no problem.

First of all, just for future reference, the FLIRC command-line utility has built-in reference for all commands it supports. To view a list of all supported commands, use the "help" command:

flirc_util.exe help

Please note that I am on Windows, hence the ".exe" part. You may not need it if you are on macOS or Linux.

To view reference for a specific command, use the same "help" command, but after it specify the command you need reference for, like this (without the <> brackets):

flirc_util.exe help <command>

So, when you run:

flirc_util.exe help sendir

here's what you get:

Help for 'sendir' command:
usage: sendir <opts>
  sendir --pattern=0,153,1231,131 --repeat=3 --ik=32000
OPTIONS:
  -i, --ik             set the interkey delay between rep. frames
  -r, --repeat         number of times to repeat pattern
  -k, --kill           kill any currently running transmission
  -p, --pattern        send the comma delimited pattern

Which means the correct way of sending out your code, provided that you only need to repeat it once, would be as follows:

flirc_util.exe sendir --pattern=0,8978,4384,608,469,608,1592,608,469,608,464,613,1592,608,469,608,464,612,478,608,469,608,464,612,1589,612,465,612,1592,608,1593,612,464,613,473,612,1588,612,465,612,464,612,465,612,465,612,464,608,465,612,477,613,464,608,1592,612,1588,612,1588,612,1588,612,1589,612,1592,612,1592,612 --repeat=1

  • Like 1
Link to comment
Share on other sites

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