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


Recommended Posts

Posted

Hi people, I'm new to Fibaro HC2, migrating from Domoticz. In my old 'OS' I can find the information of Sunrise and Sunset times. So I can know that today for example sunset is at 20:30h for example. In Fibaro HC2 I can't find that information, I'm missing it?

 

Thanks.

Posted

Create a lua scene and add:

fibaro:debug(fibaro:getValue(1, "sunsetHour"))

 

Or use Yahoo weather.

  • Topic Author
  • Posted

    Thanks Boerremk, as I suspected the sunset time is wrong:

    Please login or register to see this code.

    In Configuration, Localization Latitude and Longitude are in what format?

     

    My sunset time in Yahoo Weather is 20:05h

     

    EDIT:

     

    I had switched latitude with longitude :/

    Changed that to the right order, in WGS84 format like Lat: 41.3726 and Long: -8.2365, its in Portugal, saved and restarted HC2. But the scene continues telling me sunset time 16:05 and sunrise 04:xx when sun rises at 7AM :/

     

    Also changed 'NTP Server' to: pt.pool.ntp.org but the sunset time still wrong. :/

  • Topic Author
  • Posted

    Alright, after some time now it shows up the right time on sunset.

    Thanks.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

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