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

I tested the new version using EXPORT. Something is broken in example as it response on that global 'plus' is missing

Please login or register to see this image.

/monthly_2019_06/image.png.e369ccc719470e88d91d11f11f1e4925.png" alt="image.png.e369ccc719470e88d91d11f11f1e4925.png" />

  • Topic Author
  • Posted (edited)
    1 hour ago, FSE said:

    I tested the new version using EXPORT. Something is broken in example as it response on that global 'plus' is missing

     

    Sorry, it was a small bug in require (and thus import). Fixed it in the post. (the EXPORT pattern should not start with ^)

     

    In the original post there is a "minified" version of the client code with remoteFun, require and import. The remoteCall and server is also enhanced to support functions that return multiple values and errors.

    Edited by jgab
    • 2 weeks later...
    Posted
    On 6/10/2019 at 7:08 PM, FSE said:

    a checkbox  "This scene is hidden in the system" on Scenes as they will get massive

     

    Do you mean this?

    Please login or register to see this spoiler.

     

    Or do you mean something different?

    I think you refer directly to the checkbox located in Advances Settings of any device. Am I right?

    Posted

           

    2 minutes ago, T.Konopka said:

     

    Do you mean this?

    Please login or register to see this spoiler.

     :? Sorry, my mistake...it is already there as you mentioned...

    Posted

    @FSE , don't apologize ;)

    We learn everyday!

    Posted (edited)

    A wish list/suggestion:

    on EXPORT we can have the following format

    Please login or register to see this code.

    Explanation: functionName  | DependencySceneName  Function inside depend. Scene # Version

     

    I m thinking that an Scene that Index all libraries would be great, so we can import this scene and after call the function that is required. Indexing Scene will do the dirty job to search for this scene, verify the dependencies are installed, return the results or handle errors. On advance, this Indexing Scene could do Github clone if a library is missing or update the lua code.

    One Scene to rule them all :)

     

     

    Edited by FSE

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