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


  • 0

HC3 simple scene not working


Question

Posted

Hi!

 

 

I'm new to Fibaro automation.

Tried to set up a simple scene for my hot water circulator valve.

I just needed to turn it on for a time period on a daily basis.

I created a block scene for that, but it does nothing automatically, and if i run the scene manually, it just turns the device on fully omitting the conditions.

The valve was off both when the scene run automatically or started manually. 

 

The lua script behind my block scene:

{
  conditions = { {
      id = 112,
      isTrigger = true,
      operator = "==",
      property = "state",
      type = "device",
      value = false
    }, {
      conditions = { {
          isTrigger = false,
          operator = "match>=",
          property = "cron",
          type = "date",
          value = { "43""20""*""*""*""*" }
        }, {
          isTrigger = false,
          operator = "match<",
          property = "cron",
          type = "date",
          value = { "45""20""*""*""*""*" }
        } },
      operator = "all"
    } },
  operator = "all"
}
 
Any help would be appriceated.
 

3 answers to this question

Recommended Posts

  • 0
Posted

Hey there! Given you are new to this, my suggestion is to create 2 block scenes. Both set to run automatically.

The first scene turns the pump on at a predetermined time. The second scene turns it off at another predetermined time.

 

Once you get them working, you can convert them to LUA if you wish to play around some more.

  • Thanks 1
  • 0
  • Inquirer
  • Posted

    Thank you for your suggestion!

     

     

    It turned out that the time period is not working for some reason.

    I did a block scene to turn on the valve at exact time every day, and created a delayed turn off in the same script.

    Afterwards I evolved to turn on the valve based on movement in the kitchen and bathrooms but only for 5 min, after leaving a 5 min "cooldown period", when I won't turn on the valve based on movement, because the water in the pipes is hot enough to let the pump rest.

     

    Thanks! - R

    • 0
    Posted

    no worries and glad you got it working!

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

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