Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

How to send Parameter to device in Lua


Question

Posted

Dear All,

I would like to know what is the line code to change a parameter in Lua.

For example:Fibaro:SendParam (; ; ;)

This would then allow me to create a virtual device in order to control the remotec ZXT-120 from the learned code.

PS: Remotec is rather supported in 3.902 but many AC here (Congo) are from an egyptian brand wich is not part from remotec database.

Thank you very much in advance for your help!

[ Added: 2014-06-17, 12:39 ]

Good morning All!

Anybody has an advice about this subject?

Thank you very much in advance,

Tibus31

4 answers to this question

Recommended Posts

  • 0
Posted

What parameter do you wan to change?

Do you meet you want to create a virutal device to send the IR code?

You could try this

Please login or register to see this code.

  • 0
  • Inquirer
  • Posted

    Hi Malvin!

    No, in fact I just need to recall an already stored IR code in the remotec.

    On Fibaro advanced tab, I go to parameter then I add:

    Number: 34

    Data type: 2d

    Desired value: 1 (for example)

    I just want to be able to send this by Lua and not through the "advanced tab" of the device.

    • 0
    Posted
    What parameter do you wan to change?

    Do you meet you want to create a virutal device to send the IR code?

    You could try this

    Please login or register to see this code.

    I am very interested in this and would be great if you can explain more on this.

    Do you mean after I connect ZXT-120 and HC2 with z-wave, I can create virtual device and then send the IR command from Phone>HC2>ZXT-120>AC? How do I actually do it?

    • 0
    Posted
    What parameter do you wan to change?

    Do you meet you want to create a virutal device to send the IR code?

    You could try this

    Please login or register to see this code.

    I am very interested in this and would be great if you can explain more on this.

    Do you mean after I connect ZXT-120 and HC2 with z-wave, I can create virtual device and then send the IR command from Phone>HC2>ZXT-120>AC? How do I actually do it?

    I did that with my SQBlaster though, working perfectly, but for some devices where I can't get the IR code, i can't control

    Join the conversation

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

    Guest
    Answer this question...

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