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


Scheduling scenes. The missing %% time trigger...


jgab

Recommended Posts

1st of all, just to say thank you to this perfect extension. I embedded it and it's such a great improvement.

In parallel observe a higher CPU load. Is this trigger very CPU consuming?

 

best regards

 

Link to comment
Share on other sites

  • Topic Author
  • 6 hours ago, cwil said:

    1st of all, just to say thank you to this perfect extension. I embedded it and it's such a great improvement.

    In parallel observe a higher CPU load. Is this trigger very CPU consuming?

    best regards

    No, it's not very high consuming - it does consume some cpu to watch if scenes have changed but timers take very little cpu as it leverages setTimeout to "sleep" until the next timer or interval check for a given scene.

    I did not notice any significant cpu load when I used it (moved to HC3 now) and I also did run a couple of other Scenes that consumed cpu, like ER3.

    Understanding what causes cpu consumption on the HC2/HC3 is not very easy as the framework and the UI tends to affect it quite a lot...

    Link to comment
    Share on other sites

    • 2 months later...

    After more than two month, I can confirm CPU usage is not critical or high, and I won't miss it anymore...

    On 1/10/2022 at 7:10 AM, jgab said:

    (moved to HC3 now)

    I am interested in your migration experience?
    How complicated was it to migrate lua Scenes , is there a blue print for a migration path?

    If you compare HC2 and HC3 what are the relevant advantages that make the effort reasonable?

    Are the obvious weaknesses of HC2 solved on HC3?

    Do you observe a better support / Release plan by Fibaro on HC3?

     

    I am highly interested

    br Christian

     

    Link to comment
    Share on other sites

  • Topic Author
  • 24 minutes ago, cwil said:

    I am interested in your migration experience?

    How complicated was it to migrate lua Scenes , is there a blue print for a migration path?

     

    On the  HC2 I did almost no VDs and coded all my automation in Scenes.

    On the HC3 I have no  Scenes and code  all my automation  in QAs  (HC3's version of  VDs)

     

    QAs are  really nice as they are treated (almost) as real  devices of  various types.  VDs  on the HC2 was always second class citizens.  I would  stay  away from  Lua scenes on the HC3. Use block scenes  for really simple stuff and QAs for  more complicated stuff.

     

     

    24 minutes ago, cwil said:

    If you compare HC2 and HC3 what are the relevant advantages that make the effort reasonable?

    Yes I believe so - more features to play with (energy,  graphs etc)

    Better device  model

    24 minutes ago, cwil said:

    Are the obvious weaknesses of HC2 solved on HC3?

    Yes, the device  model (QAs) are much better

     

    24 minutes ago, cwil said:

    Do you observe a better support / Release plan by Fibaro on HC3?

    I believe the general  feeling is that they have  picked up the pace of releases...

    However, still  the quality of  releases are not stellar... takes time to fix issues

     

    So, is it worth migrating?

    For me that likes coding and thinkering it was a given. If you have an HC2 that solves your problems,  probably not.

    • Like 1
    Link to comment
    Share on other sites

    • 1 year later...

    Hi to All!

     

    I am new owner of a HC3.

    And I would like to ask about the LUA programming.

    I would like to write a scene which will check if any of the temeprature of the thermostats was changed. But not only one time. Continouisly.

    Is this possible?

    Thank you!

    Link to comment
    Share on other sites

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