Jump to content
Flirc Forums

trying to control minisplit


minisplit

Recommended Posts

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!

 

 

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