Jump to content

Search the Community

Showing results for tags 'time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie

Categories

  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Google+


Skype


Website URL


WhatsApp


Country


Gateway/s


Interests

Found 17 results

  1. Hi all, I would like to display a debug message with the time of sunset + an x amount of minutes. So there needs to be a calculation. I have a few scenes whose start is dependent of the month, turning lights on earlier or later. My debug message should be something like "today lights will be on at 21:15". That 21:15 is the calculated time. I have these declarations at the start of scenes: local sunsettime = fibaro:getGlobalValue("SunsetTime"); local sunsetHour = fibaro:getValue(1,'sunsetHour') But I can't figure out how to do this. Shouldn't be very complic
  2. I read about several problems with sunset and sunrise on this forum but didn't encounter (unless I didn't search well enough) this one: I have a scene that sets some variables at sunset, one immediately and others some 20 minutes later. I put also an action in for sending me push- and emailnotifications, just to check if everything was working ok. The scene works verey well and sends me a Push and an e-mail at the exact moment of sunset. But then at random times (or do they SEEM random only) during the following night and day I get the same push and emails. Any explanation
  3. Hello, I am trying to build a Lua script that will tell Fibaro if I am working from home, working at home or off work. Here is what I have so far but I need some help to get the scene trigger when either I am at home or at work when all the conditions have been met at the specific times. Does anyone have a similar scene or suggestions? --[[ %% properties %% events %% globals --]] local currentDate = os.date("*t"); local time=os.date('*t'); local ct=os.date('*t'),os.date("%H:%M",os.time()) if (fibaro:countScenes() > 1) then
  4. Hello, ive got a question to HC2 and Triggers... I would like to set up a scene like this: if the motion detector trips between 5 a.m. and 6 a.m., the shutters should open. Is that possible in the HC2? I cant find this trigger. In HC3 is this time trigger... can help me someone or do I have to buy the HC3 because of that??? Thanks for answers Tschorden
  5. I can't get a scene to work if I add a time interval. It looks ok but is not working and I don't know what I do wrong. It works if I remove the Time Range block... Please help!
  6. Hello, we're located in turkey and the time in turkey is GMT+3 all over the year without summer / winter time. As of 29.10 we have false times on HC2 and all scenes etc. are running false. I have tried to setup different time server with turkey (gmt+3) on localization page but it does not get the correct time. Setting the time manually works in interface but scenes and sunset times are false ... i want to have it over ntp. Does someone has same problems? Is there a setting i've not seen or is this a bug on HC2 side?
  7. 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
  8. hallo, Ich habe mehrere MCO Home MH7 Thermostate in meiner Wohnung installiert. Nach dem Neustart des HC2 wird die Uhr der Thermostate zurückgesetzt. Die meiste Zeit ist die Uhr auf UTC-Zeit statt CET eingestellt. Nachdem sie den Support von MCO Home kontaktiert und gefragt haben, wie sie die Zeit mit LUA zurücksetzen könnten, sagten sie mir, dass sie OpenZWave-konform sind. Ich sollte innerhalb der Klasse "COMMAND_CLASS_TIME_PARAMETERS" den Befehl "TIME_PARAMETERS_SET" verwenden. Weiß jemand, wie ich ZWave-Klassen ( http://www.openzwave.com/dev/classOpenZW
  9. Hi I'd like to share very handy function to check if time is between two other times. This is very useful for example for checking if motion sensor should at this time of day switch warm or cool lights. There are two functions IsTimeBetween(StartH, StartM, StopH, StopM, TestH, TestM) - which checks if TestH:TestM is between StartH:StartM and StopH:StopM IsItBetween(StartH,StartM,StopH,StopM) - this one is a wrapper to check against current time of day. Example of usage with RGBW controller and Motion sensor: Thi
  10. 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:
  11. Dear All Let me share a small function for converting from EPOCH to Human time function epochtime(etime) temptime=etime/31556926 modyear=math.floor(temptime)+1970 temptime=(temptime-math.floor(temptime))*12 momonth=math.floor(temptime) temptime=(temptime-math.floor(temptime))*30.44 modate=math.floor(temptime) temptime=(temptime-math.floor(temptime))*24 mohour=math.floor(temptime) temptime=(temptime-math.floor(temptime))*60 mominute=math.floor(temptime) temptime=(temptime-math.floor(temptime))*60 mosecond=math.floor(temptime) print(modyear.."/"..momont
  12. amatt

    Restart Plug

    I am looking to have the wall plug restart (turn off then back on after 30 seconds) at an exact time (midnight). i have tried coding this in Lua but i am having no success on getting it to turn off and on at midnight can some help me?
  13. I want to subtract "tid_entre" from "tid" and check if it is longer than "entre". fibaro:setGlobal("Tid_entre", (os.date("%Y-%m-%d %H:%M:%S",fibaro:getValue(37, "lastBreached")))) local entre = "00:00:30" --hh:mm:ss local tid_entre = fibaro:getGlobal("Tid_entre") local tid = os.date("%Y-%m-%d %H:%M:%S") [DEBUG] 16:06:52: Variabelen entre = 00:00:30, VariableType = string [DEBUG] 16:06:52: Variabelen Tid_entre = 2018-10-17 14:00:44, VariableType = string [DEBUG] 16:06:52: Variabelen tid = 2018-10-17 16:06:52, VariableType = string Is it possible to do this without using ep
  14. Once upon a time all of use had troubles with system time. But this is long ago - Ithought. I worked on some ideas with heating panel and have to synchronize FGT-001 with it because to work proper. I thought i have solved the issue and suddenly I recognized misbehavior again. While searching with heatpanel, FGT and so on I see that HC2 systemtime differs to MESZ. At the very moment I go to the Configuration Menu systemtime of HC2 corrects its self just by bring up the menu. I use "de.pool.ntp.org" for NTP at location topic. I also recongnized for the first time "This si
  15. Hi, Was searching to display the date and time parts and came across this %a abbreviated weekday name (e.g., Wed) %A full weekday name (e.g., Wednesday) %b abbreviated month name (e.g., Sep) %B full month name (e.g., September) %c date and time (e.g., 09/16/98 23:48:10) %d day of the month (16) [01-31] %H hour, using a 24-hour clock (23) [00-23] %I hour, using a 12-hour clock (11) [01-12] %M minute (48) [00-59] %m month (09) [01-12] %p either "am" or "pm" (pm) %S second (10) [00-61] %w weekday (3) [0-6 = Sunday-Saturday] %x date (e.g., 09/16/98) %X time (e.g., 23:48:10) %Y full year (1998)
  16. Hello, I recently bought a home server lite. its on firmware 4.150 but i cant get the time right. I tryed a few timeservers, i changed it to manual but it keeps getting to 1-1-1970 1:00 (it starts here after the reboot) i dont know whats wrong? does anyone know what i can do to solve this problem. thanks
  17. Hi Every morning i forget to disarm my permitter (night) alarm. Now I would like to create a scen that does it for me :=) Senario: in the morning between 6-7am monday to friday then motion is detected in the bathroom then disarm So I need some help with he lua cod for the timerange ==================================================== --[[ %% properties 9 value %% globals --]] if ( ( tonumber(fibaro:getValue(9, "value")) > 0 ) -- Motion detected and THIS ===> ( (os.day= monday to friday) and (os.time = 06:00 to 07:00) ); ) then fibaro:call(61, "turnOn"); -- examp
×
×
  • Create New...