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

problem with "light on when motion" scene


Question

Posted

Hi,

I have build the following scene:

"When between 17:00 and 09:00 motion is detected the lights go on and after 30 seconds the light goes off again."

I have build 3 scenes to make this work (see screenshots below).

My Problem:

When motion is detected the lamp goes on, and after 30 seconds the lamp goes off again.

But right after the lamp has gone off I make some movement to trigger the motion again and the lamp is not turning on...

After a while this is working again if I try this 2 minutes later...

But this is not how it is supposed to work right?

Does anyone know how I fix this?

Please login or register to see this image.

screenshot_209.png

screenshot_210.png

4 answers to this question

Recommended Posts

  • 0
Posted

Check the parameters on your motion sensor. They have a blind period and a cancellation period.

The blind period means that after motion is detected, it will stop detecting motion until the period has elapsed (this can be useful to ensure the same scene doesn't trigger multiple times).

The cancellation period means that after it changes to breached, it will stay breached until the period has elapsed. It is not unusual that this is set to 10 sec to reduce battery drain.

  • 0
  • Inquirer
  • Posted

    Hi,

    I have verified the settings and tried to change some of the settings (the blind period and cancellation period).

    When I change these settings and hit SAVE it looks like the settings are saved, but when I go to another menu item and move back the settings are gone back to default.

    It looks like no matter what setting I change on the PIR ... it will just put it back to its default...

    You know what I am doing wrong here?

    • 0
    Posted

    You have to wake up the device (with a button) + refresh your browser. This is true for all battery powered devices. No controller can wake up a battery powered device, the device's radio is off to conserve power, so you have to use a button. Battery devices will wake up periodically, and the HC2 queues the settings, so eventually they get applied automatically. Does this help?

    • 0
    Posted

    Think i found your problem, it a bit complicated but I'll try to explain (sorry for my bad English)

    Your Scene: Motion => Turn on => Wait 30 secs => Turn off

    Possible Flaw: Wait 30 secs it will ignore everything else including motion status and just blindly Turn off (that possible only I'm not really sure if that a bug or not)

    Solution: Make 2 scene (or if you code LUA you can combine 2 into 1)

    Scene 1: Motion => Turn on

    Scene 2: No Motion => Turn off

    Don't worry Motion will trigger Breach, that last 10-30 sec depend on your setting so the light don't Turn On => Turn Off immediately => you don't need the Wait 30 sec anymore. Keep thing simple is the best way to avoid bug.

    This is my lua code that do similar thing, hope it help

    Scen 1 do nothing, just set variable for NightTime (Sunset-Sunrise) - LightTimeOutdoor (Sunset to Sunset + 4 hour) and LightTimeIndoor (Sunset -1 hour to Sunrise +1 hour)

    Please login or register to see this code.

    This change the Dimmer value at my Terrace depending on movement, time of the night (always on at 75% from Sunset to Sunset + 4 hour, turn to Max 99 value if motion detected from Sunrise to Sunset)

    Please login or register to see this code.

    My code is no where near perfect, I'm new to Fibaro but it work for me.

    You can take my sample to make better Scene code.

    All the best

    Please login or register to see this image.

    /emoticons/default_biggrin.png" alt=":D" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

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