The Vera Community forums have moved!

Advanced => Programming => General => Topic started by: BerrytH on March 31, 2018, 03:59:03 am

Title: Timing issue
Post by: BerrytH on March 31, 2018, 03:59:03 am
I?m a newbie with very little knowledge of Vera programming,  but I could find in in the forum.
The issue: my swimming pool Pump starts at 10 AM in summer en wintertime but during summertime I would like it to start at 11 AM...
 Offcourse I know I can change the scene manually but would like to make it automatically with programming...but don?t have a clue how to do that.
Any help would be appreciated.
Title: Re: Timing issue
Post by: akbooer on March 31, 2018, 05:48:59 am
It depends, of course, on exactly what you mean by summer and winter, but a basic approach could be to have two scenes, one scheduled at 10 and the other at 11, but with a bit of code to decide which one actually proceeds on that day.

Take a look at this thread and see if it helps.

Conditional Scene Execution: Some Examples (,18679.msg141954.html#msg141954)

It depends a bit on just how much help you need with programming as to whether it does...

If not, then ask again.