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


Number of instances issue


davidcheok

Recommended Posts

Because a scene started when the previous instance was still running. This usually occurs if your scene contains some sleep() and a trigger happens during the execution of the scene. I've tried to explain the concept to other people before and I can't seem to find the "magic words" to make it clear. If you're on a HC2 and you're willing to post your scene code, I can try to explain it for that particular scene. Maybe that works...

Link to comment
Share on other sites

  • Topic Author
  • Because a scene started when the previous instance was still running. This usually occurs if your scene contains some sleep() and a trigger happens during the execution of the scene. I've tried to explain the concept to other people before and I can't seem to find the "magic words" to make it clear. If you're on a HC2 and you're willing to post your scene code, I can try to explain it for that particular scene. Maybe that works...

     

    I see.. so say if i have a scene that is constantly looking out for movement to trigger and another scene that looks out for ambient lighting to trigger the same device, then if one triggers then it will report this instancing? Also, it seems like it will also give instancing issues if a scene is monitoring and i manually trigger one of the device it monitors.

    Link to comment
    Share on other sites

    For HCL which does not have LUA scene, I break complex lighting scenes into multiple small scenes and using parameters in devices (e.g. Fibaro motion sensor) to achieve.

     

    Sample of Motion and Lux based Light Scenes with different 'Switch On for x minutes' for different time of the day:

    Please login or register to see this attachment.

     

    Note: These scenes are set to max. running instances of 2 or 3. Works well so far for months since 4.072 beta.

    Link to comment
    Share on other sites

    • 3 weeks later...

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