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

How to run scene in selected months every year


Question

Posted

Hello

I need your help. I’m preparing scene, which will control solenoid valve, which provides water to the autonomous sprinkler system.
The problem is in the block system - I can’t set the months in which the solenoid valve is to be open.
Here is what I have done so far. I created a variable named zm_ogrod_zr which take a value 0 or 1 (screen 1).
Next scene is my problem, I would like to cyclically - every year on April 21 changed mentioned above variable to 1, (screen 2)
giving the green light to the scene of the opening solenoid valve (screen 3) and the scene which turn off the solenoid valve during rain (4).
Analogous problem appears in the scene (screenshot 5), where the variable changes the value to 0 and it cause that solenoid valve close down.
To summarize my intention is to write a scene that will open the solenoid valve on April 21 of each year,  and  close down on September 23 of
course each year too. As I know it isn't possible do it all using only block system without LUA. Correct me if I wrong. Please help me.
Solution could be created in block system or Lua (I have HC2).
I attached appropriate screens in this post. Scenes were created in Polish language. Little
explanation what is what:

Elektroz.zrasz.g = solenoid valve

Zmienne wyzwalające= variable trigger

Czujnik deszczu = rain sensor.

 

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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