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

Scene does not start


franz123

Question

Hello,

 

I am new to Fibaro Home Center. I am currently setting up a system for my home. 

Here is what I want to do: I would like an electric heater (equipped with fibaro switch) to start when the temperature is below 20°C and when the time period is 05:00 - 6:00.

 

This seems to be a very basic scene setup. However, the scene does not start. Not even in the case I let the time period aside and only set the temperature condition mentioned above. The current measured temperature is 19°C and the condition to turn the switch on is T<20°C. 

 

Please help me understanding why the scene does not start and how I can solve the problem.

 

Here is the LUA script:

 

Actions:

 

hub.call(60, 'turnOn')

 

Declarations:

 

{
  conditions = { {
      id = 32,
      isTrigger = true,
      operator = "<",
      property = "value",
      type = "device",
      value = 20
    } },
  operator = "all"
}
 
 
Thank you for your help.
 
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

With only the above mentioned condition the scene is only triggered to start when the temperature sensor reports a value change to a value < 20 and the previous value was >= 20. When temperature was already below 20 then nothing happens. 

You need another trigger to start the scene.

For example use a cron trigger to start the scene between 05:00 and 06:00 at 5 minute intervals and use the temperature as a condition to start the heater.

 

For example:

Please login or register to see this code.

These conditions will start the scene at 05:00 every day only if the temperature <20

Edited by Alex de Bruin
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
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...