We have moved at community.getvera.com

Author Topic: "Unscheduling" scenes with anther scene?  (Read 748 times)

Offline dfortier

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +1/-0
"Unscheduling" scenes with anther scene?
« on: April 06, 2015, 10:16:43 am »
Is there a way to remove scene schedules with another scene?

I'd like to have an "Away" scene that disables all the other scheduled scenes that run while we're normally at home.

Is there a way to do this without having to manually uncheck each schedule?

Offline racarter

  • Hero Member
  • *****
  • Posts: 519
  • Karma: +12/-4
Re: "Unscheduling" scenes with anther scene?
« Reply #1 on: April 06, 2015, 10:28:15 am »
Have the 'Away' scene set a virtual switch, then check the switch in each scene's luup code, returning false (ie. don't run the scene) if the switch is set.
Indigo, Vera Edge (for Datamine only), Everspring and TKBHOME socket switches, SM103 door detectors, Homepro ZRP210 appliance modules, Fibaro relay switches, EZMotion, Heatmiser thermostats, Netatmo Weather, Camera and Healthy Home, Hikvision DVR/CCTV, Sonos, Texecom, Diax motorised deadlock.

Offline RexBeckett

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +483/-12
Re: "Unscheduling" scenes with anther scene?
« Reply #2 on: April 06, 2015, 10:33:38 am »
See Conditional Scene Execution for an explanation and examples of how to enable/disable scene execution using a virtual switch (and many other possibilities).

Offline dfortier

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +1/-0
Re: "Unscheduling" scenes with anther scene?
« Reply #3 on: April 06, 2015, 10:37:44 am »
Ahh... Got it!  Makes perfect sense.  Thanks!