We have moved at community.getvera.com

Author Topic: Timing issue  (Read 418 times)

Offline BerrytH

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
Timing issue
« 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.

Offline akbooer

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Timing issue
« Reply #1 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

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

If not, then ask again.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.