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

Autostart works for only two scenes


Question

Posted

For some reason I have two scenes that autostart; both were initially written as block scenes, then converted to LUA. New LUA scenes won't autostart, whatever I try. I have created a minimal scene from a converted block scene, that just fetches the trigger and prints it via debug, to no avail...

 

For all scenes, the number of instances is set to 2; I hope that this does not mean the TOTAL number of scenes but the number of instances of a particular scene....

4 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted

    Solved it... For some reason the %% autostart must be added in the comments on top. Why isn't it added automatically when I select "automatic"?

    A proper explanation of what these %%-comments entail is nowhere to be found, by the way. 

    • 0
    Posted

    only an block scene (and converted block scene) is creating the %%autostart entry, when creating immediately LUA scene one have to add that line of code manually. 

     

    Please login or register to see this link.

    Please login or register to see this link.

    Please login or register to see this link.

    Please login or register to see this link.

    etc.

    • 0
    Posted

    Hello,

     

    I've created 10 block scene that I've never converted, and It looks like I've got the same issue.

    5 radiator -> 1 scene to stop radiator/ per radiator

                     -> 1 scene to start radiator/ per radiator

     

    Only 2 device look to have their temperature changed. I've even got issue stop/start manually..

     

    I've got the parallel number to 2 too... I do not understand yet why I've got this issue.

     

    I do not know If I'm doing something wrong...

     

    Here is the block scene -> displayed in LUA

    Please login or register to see this code.

    • 0
    Posted

    Hello,

     

    For a weird reason, I look like the convert to LUA did not work on some of my scene.

     

    It remove the part

        fibaro:call(8, "setTargetLevel", "23");
        fibaro:call(8, "setTime", tonumber(os.time(t)) + 120*60);

     

    which would be a reason why my scene were not working. I'll keep you post.

     

    There is definitively an issue with the converter from BLOCK to LUA. Some part from the execution are removed during the convertion.

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