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

Light on movement scene


Guest hotrot_net

Question

Guest hotrot_net
Posted

I've got a Aeon Labs DSB05xxx-ZWUS Z-Wave Multi Sensor (yes only movement sensor works) that when it gets trigged it turns on a lamp.

If the sensor goes into no movement state it has to turn of the lamp.

Until there it works fine. But what I really want is it truns of the lamp after about 15 min, after getting trigged. At this moment when it's in rest state it turns of right away, while i'm still in the room and did not move for about 2 min.

Is there something wrong in my scene?

Please login or register to see this attachment.

Please login or register to see this attachment.

10 answers to this question

Recommended Posts

  • 0
Posted

Hi, you do not use intervals timer to do that. Put 900 (15 minutes) in the red box of the switch off. I can put a screenshot if you want...

  • 0
Guest hotrot_net
  • Inquirer
  • Posted

    Hi Krikroff,

    The Timer interval is there because I don't want to turn on the light durring daytime it would be a waste of money.

    So again what I want is

    A. turn on light when I walk in the room for at least 15 min

    B. If there's bin no movement in those 15 min turn of the light after these 15 min.

    C. only do this after the sun has gone down (normaly I would do this with light lumination but the HC2 doenst reconize my Aeon Labs DSB05xxx-ZWUS with all its 4 features).

    • 0
    Posted

    You cannot use "Timer interval" to do this because "Timer Interval " repeats scene execution every x minutes or every x hours.

    In a synthetic way :

    A+B:

    Create Local Variable:

    _sensor = 0

    And scene:

    If device.SENSOR ==MOTION_DETECTED And var._sensor=0 Then

    var._sensor=1

    device.LIGHT_SWITCH =ON during 900s (red box)

    device.LIGHT_SWITCH=OFF

    var._sensor=0

    End If

    C:

    Fibaro should add the possibility to compare time when a scene is triggered and something like: if sunrise … if sunset… otherwise I don’t know how can we do this…

    • 0
    Guest hotrot_net
  • Inquirer
  • Posted

    Thats not working

    Please login or register to see this attachment.

    • 0
    Posted

    Time in seconds you enter in red box is " time before " execute and not "wait after", is like a delay.

    Set variable to 1

    Switch on set to 0 seconds

    Switch off set to 20 seconds for example

    Set variable to 0

    Re check your scene

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Please login or register to see this attachment.

    • 0
    Guest hotrot_net
  • Inquirer
  • Posted

    The only problem with that scene is that it'll Always turn of the lamp in whatever state the Motion Sensor has become within these 20 sec.

    Please login or register to see this attachment.

    • 0
    Posted

    In condition block: try to invert variable check and sensor check : put sensor check before variable check, seems variable can operate only if a trigger like timer or device is before (from A.Socha)

    • 0
    Guest hotrot_net
  • Inquirer
  • Posted

    That doesnt change a thing.

    After Then there's no check that sensor is trigged again, so it still turns off the lamp.

    Please login or register to see this attachment.

    • 0
    Posted

    I cant make much sense of your screen shots, but based on your original post I think you need to do the following:

    First and foremost create a variable that determines whether it is after sunset... Ie...

    Every day at sunset "Evening variable" = 1...

    Every day at sunrise "Evening variable" = 0

    If "Evening variable" = 1 and sensor is "breached" turn on light

    Then create a separate "turn off" scene which turns the lights off.

    If light = on and sensor == SAFE ( required delay in red box for sensor device NOT light)

    THEN Light = Turn off

    The programming syntax seems a bit off but it does work

    • 0
    Posted

    The problem is that it seems that the values ​​of variables does not change dynamically in the scenes, but it works if you manually change the value in the panel variable. I think that there is a problem with the variables. Predefined variables when it does not seem to work even manually.

    cf.

    Please login or register to see this link.

    (Predefined values in scene seems not work (edited))

    Please login or register to see this image.

    /emoticons/default_icon_rolleyes.gif" alt=":roll:" />

    Only simple global variables work for me

    Please login or register to see this image.

    /emoticons/default_icon_sad.gif" alt=":-(" />

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