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

Sunset / Sunrise dosnt work any more!


vinding.it

Question

I used to have a Scene manage my outdoor ligth from sunset to sunrise, but some how has it stoped working.

I have made a littel test Scene in Block scene se bellow. 
By removing the Time trigger can i see that the motion detector is Workong!

I have a Fibaro HC3  With fw. 5.090.17
Time and location is set Copenhagen witin a arrir of 500 meters.

And yes i tried to reset HC3 to default, but still the same. 

??

Please login or register to see this image.

/monthly_2021_11/image.png.892e890700fe0559194ee5319851a036.png" />

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1
  • Inquirer
  • Here is a description on how to create a Scene trigger determine the status on the suns positions.
     

    First you must add a Variables called “SunStatus”

    1. Goto Settings > 6. General > Variables  

    2. Click “Add Variable

    3. Name it  SunStatus

    4. Add Values Day and Night

    Please login or register to see this image.

     

    Next you must create two Scenes (SunStatusSceneDay and SunStatusSceneNight)
    In the Trigger side, Select Sunrise & Sunset from Time and set it to At Sunrise.
    In the “Do the following” Select Variables from Panel and Select SunsetStatus and set to Day

    leVQ1rMKOpe9pzHRjzexkszELV7EmRgIbi7_Qi4x1gK6CXC3z0ikljuv5qugepu86p4Bqhe_NcDlIpJxVeazM7c4uCwF32f2YQw_8egZPEoWiYqjF97yefdWv6wHQt7JL8QwKp50*SunStatusSceneDay Shown abbow 

     

    In the Trigger side, Select Sunrise & Sunset from Time and set it to At Sunset.
    In the “Do the following” Select Variables from Panel and Select SunsetStatus and set to Night

    dtQMS9vfWBKHQeuzBqVbONNHlN9aX7W2hQYISYKSoGSH_sGacIa_7gxSomfgniXYbTO4gyA0V71ntp3GzZc0IktUvtSuljBMhxM4FP02X-eJqSMV_paPOEVR0fttWBeNxmmX8mbV

    *SunStatusSceneNight

     

    Now is it possible to create a Scene like this. that will turn on the light when the sun is down.

    SqAm7xubxmARCYmNub1yhnm1XXtr-4In4kgE7mkEzCtLxzdG8XEFhBeyGCsvzhOuNivOiAvNAy_cBWCh9dBdWJPbX0eGnLsHsr-o8xPcxbAtRQTbHpNlGQLfqkcHDDoWb1lv5zM5


     

    • Like 2
    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    This blockscene will turn the lights on if there is movement on exact the moment "at sunrise". I don't think it ever worked. 

    • Like 1
    Link to comment
    Share on other sites

    • 0

    Hi, it will work only when is sunrise and motion is breached. I'm not sure what you want to get, but you can change it a bit

    • Remove motion sensor block then scene will always start at sunrise
    • If you change in your scene operator "and" to "or" then scene will start on sunrise or when is movement
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 1 hour ago, SmartHomeEddy said:

    This blockscene will turn the lights on if there is movement on exact the moment "at sunrise". I don't think it ever worked. 

     

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Ok wath i am trying is to make sure that the ligths only turns on betvin Sunset and Sunrise!

    I usede to have sucess using this Script as trigger;
    {
      conditions = { {
          id = 222,
          isTrigger = true,
          operator = "==",
          property = "value",
          type = "device",
          value = true
        }, {
          isTrigger = true,
          operator = ">=",
          property = "sunset",
          type = "date",
          value = 0
        }, {
          isTrigger = true,
          operator = "<=",
          property = "sunrise",
          type = "date",
          value = 0
        }, {
          id = 407,
          isTrigger = true,
          operator = "==",
          property = "value",
          type = "device",
          value = true
        } },
      operator = "all"
    }

     

    But it dosnt work any more!!

    • Like 1
    Link to comment
    Share on other sites

    • 0

    I don't think it will work. Of not, use this approach, with a global variabel "dayTime". Two simple blockscenes determine wether it is day or night. You can use that info in all your other scenes. 

     

     

     

     

    Link to comment
    Share on other sites

    • 0
    On 1/21/2022 at 1:31 PM, vinding.it said:

    Here is a description on how to create a Scene trigger determine the status on the suns positions.
     

    First you must add a Variables called “SunStatus”

    1. Goto Settings > 6. General > Variables  

    2. Click “Add Variable

    3. Name it  SunStatus

    4. Add Values Day and Night

    Please login or register to see this link.

     

    Next you must create two Scenes (SunStatusSceneDay and SunStatusSceneNight)
    In the Trigger side, Select Sunrise & Sunset from Time and set it to At Sunrise.
    In the “Do the following” Select Variables from Panel and Select SunsetStatus and set to Day

    Please login or register to see this link.

    *SunStatusSceneDay Shown abbow 

     

    In the Trigger side, Select Sunrise & Sunset from Time and set it to At Sunset.
    In the “Do the following” Select Variables from Panel and Select SunsetStatus and set to Night

    Please login or register to see this link.

    *SunStatusSceneNight

     

    Now is it possible to create a Scene like this. that will turn on the light when the sun is down.

    Please login or register to see this link.


     

    This really worked…. Finally I found the solution ??????  - thanks a million

    Link to comment
    Share on other sites

    • 0

    Please login or register to see this link.

     

    Please login or register to see this link.

     

    it works at night which i don't understand what time does it switches to  ON / Off, but defiantly its not sunrise/sunset. can you please clarify? -Thanks.

    Link to comment
    Share on other sites

    • 0
    On 5/17/2022 at 8:02 AM, Sonzy said:

    Please login or register to see this link.

     

    Please login or register to see this link.

     

    it works at night which i don't understand what time does it switches to  ON / Off, but defiantly its not sunrise/sunset. can you please clarify? -Thanks.


     

    To fix this issue make sure that the location and time are adjusted correctly- not on the default-, now it’s working perfectly. Thanks vinding.it@

    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.

    ×
    ×
    • Create New...