yearly Scheduled rules

Louis de Carufel shared this thanks 2 weeks ago

Hi, I creates some rules to control my air exchanger like the attached image

Normal, Boost and recirculate.

I would like these rules activated from october to april and desactivated from may to september.

My rules work fine but i don't know how to create the schedule

Any body can help

Thanks

Comments (11)

photo
1

Simply create a virtual sensor, then create a rule that activates this sensor october 1st and disables may 1st. Then add an if block in your rule to check the sensor state. You may want to check the sensor is de/activated once a month.

photo
1

Ok than, I tried this and it work fine but, every 5 minutes, the relay1 and 2 are toggleing themself. I assume that is because the ''when'' rules are predominating the ''IF'' rules and than they activate the relays for a short period of time like clicking.

How to solve this toggleing?

Thanks

photo
1

You have to use either the time and date clause in every rule oder put everything together in one rule...

photo
photo
1

Can you post your rules again with the virtual switch included?

photo
1

So attached is one of my 3 rules as a test rules! so as I said, when this setup is programmed, the rules work but at almost every 5 min the relay 1 and 2 are toggleing like if the rules is checking the humidity and reset and reapply all the when and if rule.

I'm I enough clear?

Thanks

photo
1

here is the Virtual switches rules

photo
1

I see the problem, you cannot use the scheduler puzzle inside the rule, schedulers need to be at the beginning of the rule in the WHEN puzzle.

The scheduler looks good but if you want it to repeat every year you need to use "repeat" function. The other rules should look like the attached, where "TestSwitch 2" is your switch "Horarie" and the luminance sensor is your humidity sensor (I don't have humidity sensors).

c49dd60dac0e6aeb9d7d8b412968fe36

photo
1

Will it work like this! I do not purchaced the pro rules creator module so I don't have the (( ) Between () and ()) option so if not is there another way to do it?

thanks

photo
1

Should it be better like this?

thanks

photo
1

Here is how I made the all the rules. Apparently it work as a charm. I'll confirm it tomorrow.

Thanks for the support

photo
1

Hi

Just to let you know that I have tested the rules from yesterday to this morning, All rules work very nice so

Thanks for your help that help a lot.