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

Question

Posted

Hi Guys,

I would like some clarification on scenes if you could help me that would be great. 

 

Basically I have created scenes to turn on lights when the motion sensor is breached then off after a set time. I keep getting notifications of "Number of instances of scene has been reduced due to exceeding limit.

is this because the motion sensor keeps seeing motion and trying to run the scene again? 

If so how do i fix this?

Regards 

Sean

 

10 answers to this question

Recommended Posts

  • 0
Posted

Try to change the condition:

"if the motion sensor is breached" change to

"if the motion sensor is breached and the light is turned off"

  • 0
  • Inquirer
  • Posted

    ah ok great. thank you ill give it a go

    • 0
  • Inquirer
  • Posted

    ok so that fixed it for a couple of the scenes but still doing for one. i have attached an screen shot of it. 

     

    Am i doing some wrong?

    Please login or register to see this attachment.

    • 0
    Posted

    It seems to be ok. If doesn't work then check trigger section. The motion should be checked in trigger section.

    • 0
  • Inquirer
  • Posted

    It is checked but thats not the problem. it saying there are too many instances of the scene running

    • 0
  • Inquirer
  • Posted

    Any ideas I'm still getting this problem

    • 0
    Posted

    Hi @smolson00,

     

    Could you post a bigger screenshot with triggering conditions above as well?

     

     

    • 0
    Posted

    because everytime there is motion it triggers the scene, so a lot of instances.

    Select the checkbox from the downlights and not the motion sensor. or convert to LUA and add

     

    if (tonumber(fibaro:countScenes()) > 1) then -- > 1
      --log("Script already running.");
      fibaro:abort(); 
    end

    • 0
  • Inquirer
  • Posted

    Ive attached a screenshot. 

    1 hour ago, I.Srodka said:

    Hi @smolson00,

     

    Could you post a bigger screenshot with triggering conditions above as well?

     

     

     

    Please login or register to see this attachment.

    30 minutes ago, samuel said:

    because everytime there is motion it triggers the scene, so a lot of instances.

    Select the checkbox from the downlights and not the motion sensor. or convert to LUA and add

     

    if (tonumber(fibaro:countScenes()) > 1) then -- > 1
      --log("Script already running.");
      fibaro:abort(); 
    end

    ok great, thank you ill give that a go. 

     

    • 0
  • Inquirer
  • Posted
    On 30/10/2017 at 9:38 PM, samuel said:

    because everytime there is motion it triggers the scene, so a lot of instances.

    Select the checkbox from the downlights and not the motion sensor. or convert to LUA and add

     

    if (tonumber(fibaro:countScenes()) > 1) then -- > 1
      --log("Script already running.");
      fibaro:abort(); 
    end

    --[[
    %% properties
    15 value
    119 value
    %% weather
    %% events
    %% globals
    --]]

    local startSource = fibaro:getSourceTrigger();
    if (
     ( tonumber(fibaro:getValue(15, "value")) == 0 )
    and
     ( tonumber(fibaro:getValue(119, "value")) > 0 )
    or
    startSource["type"] == "other"
    )
    then
        fibaro:call(15, "turnOn");
        setTimeout(function()
            fibaro:call(15, "turnOff");
        end, 300000)
     
    end

    if (tonumber(fibaro:countScenes(21, "value")) > 1) then -- > 1
      --log("Script already running.");
      fibaro:abort(21, "value"); 
    end

     

     

    is this correct?

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