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

HC2 Scene only during sunrise and sunset


jason8612
 Share

Question

I have some floor lighting that I would want to have it turn on for a set period of time (2min) only when the following parameters are met:

motion sensor breached, between sunset and sunrise, floor light off and kitchen led off.

How can I do this?

Please login or register to see this attachment.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

To determine whether it is night, you need a global variable.

1. Create a variable called "IsNight"

2. Create a block scene that is triggered at sunset and sets IsNight to "1"

3. Create a block scene that is triggered at sunrise and sets IsNight to "0"

 

Then, in you main block scene that you already have, add a condition for when IsNight equals 1.

 

Search the forum for motion sensor, there are a lot of other posts on how to deal with that element.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • OK, I think I got it

     

    Please login or register to see this image.

    /monthly_2022_05/48812565_Annotation2022-05-16132208.jpg.f31d0d1665d93649f38ec9c9763b72b8.jpg" />

     

    1250022179_Annotation2022-05-16131905.jpg.77ea7144d7c1c3d076cba0639d17f895.jpg

     

    370904103_Annotation2022-05-16131837.jpg.31ddf29d288dace999f6d12c73eb1e3c.jpg

     

     

    Link to comment
    Share on other sites

    • 0
    Posted (edited)

    Eventually it becomes a lot of scenes to maintain...

    Alternatively, if you install

    Please login or register to see this link.

    it's 2 rules (and you can add all your other light rules in the same scene)

    Please login or register to see this code.

    or you can use @cag014 AllInOne scene...

    Edited by jgab
    • Like 1
    • Thanks 1
    Link to comment
    Share on other sites

    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.

     Share

    ×
    ×
    • Create New...