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


Search the Community

Showing results for tags 'autostart'.

  • 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 4 results

  1. Does this Trigger autostart a lua scene ? Its supposed to be gateway start, which makes no sense { type = "se-start", property = "start", operator = "==", value = true, isTrigger = true }
  2. Hello! Probably very stupid question. But... Cant seem to find out how to get this sceene to autorun. Have done a bit of searching in the forum, but cant seem to find anything that works? atleast I cant get it to work. This sceene controlls blinds. Their posision and their angulation. I use scene run : Automatic. Max running instances : 5 I used while true do function and a delay. But it does not seem like the best way to implement this... I also tested local selfrun, and local refresh. But did not seem to work Any idea how to make this sceene run one every 2 minutes or something? Thanks! the code: --[[ %%autostart %% properties %% events %% globals --]] --[[ ID: 1267 = Persienne kalle 1264 = Trappegang/ arkiv 1261 = Spiserom Ø-Side H 1255 = Spiserom Ø-Side V 1227 = Nytt møterom ]]-- -- While true do brukes for att denne scenen skal kjøre hele tiden. local selfRun = true local refresh = 120 h = tonumber((os.date('%H%M'))) posisjon = tonumber (fibaro:getValue(1261, "value")) vinkling = tonumber (fibaro:getValue(1261, "value2")) Lux = tonumber (fibaro:getValue(1272, "value")) Tidned = 630 Tidopp = 1800 -- Kjøres når persienne skal opp for natten. Mellom 1800 og 0630 if ( h > Tidopp or h < Tidned) and (posisjon < 10) then fibaro:call(1267, "open") fibaro:call(1264, "open") fibaro:call(1255, "open") fibaro:call(1261, "open") fibaro:call(1227, "open") end -- Kjører hvis kl er mellom 0630 og 1800 og Lux verdien er mellom 1200 og 20 000, solskjemingen må være opp fra før for att denne kommandoen skal kjøre. if (h > Tidned and h < Tidopp) and (Lux > 1200 and Lux < 20000) and (posisjon > 90)then fibaro:call(1267, "close") fibaro:call(1267, "setValue2", "60") fibaro:call(1264, "close") fibaro:call(1264, "setValue2", "60") fibaro:call(1255, "close") fibaro:call(1255, "setValue2", "60") fibaro:call(1261, "close") fibaro:call(1261, "setValue2", "60") fibaro:call(1227, "close") fibaro:call(1227, "setValue2", "60") end -- Kjører hvis Lux verdien er undere 20 000 og solskjemingen er nede og vinkelen ikke er satt til 60 fra før if(Lux < 20000) and (posisjon < 10) and (vinkling ~= 60) then fibaro:call(1267, "setValue2", "60") fibaro:call(1264, "setValue2", "60") fibaro:call(1255, "setValue2", "60") fibaro:call(1261, "setValue2", "60") fibaro:call(1227, "setValue2", "60") end -- Kjører hvis Lux verdien er over 20 000 og solskjemingen er nede og vinklingen ikke er satt til 35 fra før. if(Lux > 20000) and (posisjon < 10) and (vinkling ~= 35) then fibaro:call(1267, "setValue2", "35") fibaro:call(1264, "setValue2", "35") fibaro:call(1255, "setValue2", "35") fibaro:call(1261, "setValue2", "35") fibaro:call(1227, "setValue2", "35") end -- Scene som kjører hvis det er veldig skart ute og solskjermingen ikke er tatt ned. if (h >= Tidned and h <= Tidopp) and (Lux > 20000) and (posisjon < 90) then fibaro:call(1267, "close") fibaro:call(1267, "setValue2", "35") fibaro:call(1264, "close") fibaro:call(1264, "setValue2", "35") fibaro:call(1255, "close") fibaro:call(1255, "setValue2", "35") fibaro:call(1261, "close") fibaro:call(1261, "setValue2", "35") fibaro:call(1227, "close") fibaro:call(1227, "setValue2", "35") end -- tar en pause på 1min før den looper tilbake på starten. end
  3. An alarm causes all scenes that are not checked "do not allow alarm to stop scene while alarm is running" to stop. I suppose that is done to limit z-wave traffic. I consider that all my VERY ESSENTIAL scenes with %% autostart should be running at any time (do not allow to stop while alarm is running) but that all the other scenes with %%autostart will restart AFTER an the alarm has been reset /disarmed However they will not auto restart after the alarm has been disarmed. I believe they will do so only after a system reboot or starting/saving each scene manually. I use Watchdog to restart a few very essential scenes that are not running and should be running at all times. I could add each ID of the scenes as well but I would like to use one scene to restart ALL "autostart" scenes which were stopped after the alarm has been reset/disarmed. Any suggestions?
  4. For some reason I have two scenes that autostart; both were initially written as block scenes, then converted to LUA. New LUA scenes won't autostart, whatever I try. I have created a minimal scene from a converted block scene, that just fetches the trigger and prints it via debug, to no avail... For all scenes, the number of instances is set to 2; I hope that this does not mean the TOTAL number of scenes but the number of instances of a particular scene....
×
×
  • Create New...