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 'main scene 1.2.4'.

  • 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 1 result

  1. This is a simplified Alarm Clock that was created to work in conjunction with @Sankotronic Main Scene 1.2.4 You need to have this installed for my VD and code below to work Thanks to @Sankotronic for allowing me to leverage his scene Step 1 Create 3 variables (top variable panel) WakeUp_weekend WakeUp_weekday WakeUp_time Step 2 Import the VD 'Simple Clock' below Adjust the preset alarm times to suit your household patterns I have it setup so the middle one of the normal one and the left and right are a little earlier and a little later Step 3 Open @Sankotronic Main Scene v1.2.4 and adjust as follows ~ line 266 local runSceneSchedID = {jT.scene.goodMorning, jT.scene.upTidyUp}; Ensure the scene you want executed is added here. Make note of position relative to other scenes in the list. In my example it is the first entry ~ line 282 local runSceneSchedHour = {{"wakeup_time"},{"07:55"}}; Ensure some reference to you scene is added here. Normally you would add the time for the scene to be executed but in this case just add a descriptor. ~ line 412 function extraUserCodeFirst() Add the following line of code within this function. (This reads the global variable and assigns it to the scheduler variable) runSceneSchedHour[1][1] = fibaro:getGlobalValue("WakeUp_time") Adjust the table reference values [1][1] in the code to match the relative position of the scene within the list on line 266 (runSceneSchedHour) The table reference is set out as [table][sub-table] so If it is the scene you want to execute is the first entry use [1][1], if its the second use [2][1] and so on, If you have multiple times for a give scene you may need to adjust the [subtable] reference to 1, 2, 3 etc. in my example the scene is the first one so the reference [1][1] is correct Step 4 Save the scene and close That's it. Alarm_Clock_1.0.0.vfib
×
×
  • Create New...