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


Recommended Posts

Posted (edited)

Hi All,

 

Up  unitll a few months ago I could find a list of Lua Fuctions for fibaro explained op de FibaroUK site

Please login or register to see this link.

Please login or register to see this code.

Please login or register to see this link.

 

can someone give me a hint?

 

and apparently the Fibaro Academy is only for installers. Well, ... I install and program a lot, but only in my own office environment. I guess that does not qualify to become an installer.

 

thanks

Edited by robd
Posted

Not so easy to find these days but check knowledge section of forum ... 

 

Please login or register to see this link.

 

that gives two resources -  lua functions specific to HC2 and rest API definition.   Note.  You get the latter more usefully from <your hc2 Ip/docs>

 

  • Topic Author
  • Posted

    thnx

  • Topic Author
  • Posted

    probably a typical newbe question.

     

    one of the functions is fibaro:getSourceTrigger()

    so far so good.

    I have the Aeotec Wallmote as example.

    if I list all the triggers, properties and actions I expect to have seen all.

    so I program this:

    Please login or register to see this code.

    which returns an array with information.

    the docs state that if the returned type = "property" I also get the additional fields DeviceID and the propertyName in the array

     

    and now surprisingly I find 2 undocumented Properties:

    in the 'event' element it looks like I find a property "keyId"

    and in the 'data' element I seem to find a property "keyAttribute"

     

    well, I can't map the code to the docs...

     

    thanks for any help

     

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