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
Search the Community
Showing results for tags 'sunrise'.
-
I have a scene that gets the sunrise and sunset for the day. I recently noticed that both sunrise and sunset times are not correct. They are about 30min - 1 hour off from what they should be. has anyone else seen this issue? Does anyone know if fibaro is going to fix it? @T.Konopka
-
I created several scenes where the timer functions to start the scene is being used. But none of them works. Any idea where should be the problem? See the pictures attached. Thanx for any adwise. HC2, FW 4.056,
-
Solution for LUA manipulate the sunrise and sunset time function
RoyOps posted a question in Home Center 2
I was looking for a way to change the sunset time. All solutions I found did manipulate the current time and compare that with the sunset time. That's not the way I wanted it so I wrote a small function to subtract or add minutes to the sunrise or sunset given time. -- time is a string format: hh:mm -- offset is in minutes -- return string format: hh:mm function ChangeTimeWithOffsetInMinutes(time, offset) local currentDate = os.date("*t"); local format = "(%d+):(%d+)"; hour,min = time:match(format); local newTime = os.time({day=currentDate.day,month=currentDate.month,ye -
Fibaro works with sunrise values as a string such as: "07:30" You can calculate it also yourself: And @jgab also writes extensively about his event model: ...but to get more experience and explore the possibilities and pitfalls I want to run my own "poor mans" main scene for at least a year. Now I want to execute commands which are related to sunrise or sundown or seasonal changes. For instance: in summer I want my curtains open at 07:00, in winter around 08:30 with a nice sinusoidai curve. Therfore I want some decimal hournumber with adding, multiplying:
-
Witam, Nie znalazlem do tej pory funkcji ktora wg mnie powinna byc podstawowa w tego typu automatyce domowe jaka oferuje Fibaro. Wiekszosc oswietlenia ktore mamy dotyczy zewnetrznej czesci naszego domu, i prawie kazde rozwiazanie oswietlenia zewnetrznego wiarze sie z koniecznoscia instalacji czujnika zmierzchu. Nikt recznie nie chodzi i nie wlacza swiatel zewnetrznych, ani nikt nie ustawia timerow zmieniajac godziny kazdego miesiaca bo na to nie ma czasu. Pytanie brzmi: Jak prosto stworzyc scene, ktora pobierala by informacje o wschodzie i zachodzie
- 2 replies
-
- vd
- sunrise & set v1.4.0
-
(and 3 more)
Tagged with:
-
HI, I have and RGB LED strip and a Fibaro RGBW module all connected up and ready to go. I am trying to mimic a sunrise to help us wake up gradually ( and welcoming to the day ) using the LED strip. Before I research the colors and sequences of a typical sunrise I wonder has anybody been here before and have a nice vd or lua scene any help appreciated Thanks -f
-
Hi, I have external lights. I use geolocation with ifttt. When I arrive near my house my lights turn on automatically. But it must light up when it is dark. At sunset. I created one variable : I created 3 scenes. First scene : --[[ %% autostart %% properties %% weather %% events %% globals --]] local sourceTrigger = fibaro:getSourceTrigger(); function tempFunc() local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( ( ((currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wd
-
Hello guys, would be anyone so kind and help me calculate hours and minutes between current sunset hour and the next days sunrise? local sunset = fibaro:getValue(1, "sunsetHour") local sunrise = fibaro:getValue(1, "sunriseHour") I would very appriciate having the information, that the night will last xy hours and xy minutes. Thank you very much in an advance, tampiss
-
Yet another script for sunrise and sunset and more....
Franz posted a question in Scenes and Interface
NightAndDay is a LUA script to set two global variables at sunrise and sunset and at sunrise + a sunrise offset and at sunset + a sunset offset. You can choose the name of the global variables to set. Default are itIsNight and itIsNightOne. You can define two different offset values (between -7200 and 7200 seconds) for both sunrise and sunset, sunrisetime_offset and sunsettime_offset. itIsNight will switch from 1 to 0 at sunrisetime and from 0 to 1 at sunsettime. itIsNightOne will switch from 1 to 0 at sunrisetime+sunrisetime_offset and from 0 to 1 at sunsettime+sunsettime_offse