Author Topic: Viritual switch doesnt appear in My modes ,want Day and night to work with modes  (Read 151 times)

Offline Matteburk

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Why doesnt a viritual switch appear in My modes?

If its not possible How do i get the Day and night app to work like this:

When "Home mode" is selected  IT turns on specific   lights only IF Day and night light is in night mode.?
/ Mattias
« Last Edit: March 18, 2017, 06:15:46 am by Matteburk »

Offline sely

  • Jr. Member
  • **
  • Posts: 87
  • Karma: +2/-3
I don't know how to get virtual switch to appear in my modes but there are a lot of examples in the forum topic:  "Vera - Smarter Home Control Forum ? Advanced ? Programming ? Scene Scripting"  how to write day/night app status into a scene.

Offline Don Phillips

  • Sr. Member
  • ****
  • Posts: 418
  • Karma: +10/-3
I think you need to create a scene or a set of scenes, and perhaps use a combination switch. For example, scenes to set a 2 condition combination switch be set to on when House Mode is Home and Day/Night is Night.  You can also use sunrise/sunset with offsets to get you more accurate conditions for the lights.  When both conditions are on, a scene can be triggered to turn on whatever lights you want on.

Personally, I use PLEG. You can get really fancy with the logic. For instance, you can use the Weather Underground plug-in to see if it is overcast, and offset the Night to account for clouds.
« Last Edit: March 18, 2017, 06:05:44 pm by Don Phillips »
Vera 3, UI7 1.7.919, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs door sensor, Insteon garage control, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual & Multi Switch, Weather, Sys. Mon.