Author Topic: Adding a yearly trigger  (Read 1265 times)

Offline kwieto

  • Hero Member
  • *****
  • Posts: 621
  • Karma: +27/-15
Re: Adding a yearly trigger
« Reply #15 on: April 19, 2018, 04:26:54 pm »
But did you really tried?
I've just went into scene builder, chose schedule trigger, clicked "once", then I can set up the date and time.
Where is the problem?

If you want to restrict scene to be run during certain period of time, I believe it will run daily (or every time any of the triggers within scene fire) regardless if you put the logic in scene or in PLEG. the scene (or PLEG routine) has to check if all conditions are met, the easiest (and most efficient) way to do it is at the time when one of conditions is met.

If you want to disable scene completely for certain period of time, the easiest way will be make a scheduled scene(s) which enable/disable your desired scene at certain point of year (date and time).

« Last Edit: April 19, 2018, 04:35:29 pm by kwieto »

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1443
  • Karma: +39/-36
Re: Adding a yearly trigger
« Reply #16 on: April 19, 2018, 08:06:41 pm »
I second PLEG. Attached is my yearly schedule for an outlet I use at Christmas.
I have previously attempted to add the pleg plugin but it did not seem intuitive on what to do next so I have always removed it and worked out luua method

In my case, I read this user guide: http://forum.micasaverde.com/index.php/topic,21603.0.html and lots of trial and error. Eventually it penetrated my thick skull and viola - it made sense.

Similar to your request, another option is watching outside temperature since "summer" is really relative to outside temperature. In my case, I monitor outside temperature and if < 60F, I turn my thermostat to Heating Mode. If > 65F, then cooling mode.

My heating/cooling setpoints are set by House Mode. Home is 68/75, Away is 65/78, Night is 65/72, and Vacation is 60/80.

So I seldom touch the thermostat regardless of season. This is especially helpful spring and fall, where you may be heating in the morning and cooling in the afternoon.

I used to do this in Scenes but eventually move it all to PLEG.
Is the PDF that you referenced still available ? Perhaps it is my device (as I am working remotely but I can not open the PDF

The PDF is still working for me.  I have attached it here as well.
Vera 3, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1443
  • Karma: +39/-36
Re: Adding a yearly trigger
« Reply #17 on: April 19, 2018, 08:10:01 pm »
Oh, here is my PLEG status report with the thermostat logic.
Vera 3, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa

Offline PrincessCleavage

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: +5/-1
Adding a yearly trigger
« Reply #18 on: April 19, 2018, 10:25:47 pm »
But did you really tried?
I've just went into scene builder, chose schedule trigger, clicked "once", then I can set up the date and time.
Where is the problem?

If you want to restrict scene to be run during certain period of time, I believe it will run daily (or every time any of the triggers within scene fire) regardless if you put the logic in scene or in PLEG. the scene (or PLEG routine) has to check if all conditions are met, the easiest (and most efficient) way to do it is at the time when one of conditions is met.

If you want to disable scene completely for certain period of time, the easiest way will be make a scheduled scene(s) which enable/disable your desired scene at certain point of year (date and time).
Adding for a specific date once works (google colander app was also suggested for something similar) but the intention is for it to run each year at the same time (start of summer). The most suitable option for me will be using outside temperature sensors (as previously suggested) and once I have them and setup.
Appreciate your input!
« Last Edit: April 19, 2018, 10:28:31 pm by PrincessCleavage »

Offline jswim788

  • Hero Member
  • *****
  • Posts: 805
  • Karma: +58/-2
Re: Adding a yearly trigger
« Reply #19 on: April 20, 2018, 12:39:40 am »
Adding for a specific date once works (google colander app was also suggested for something similar) but the intention is for it to run each year at the same time (start of summer).

The Google calendar triggering is quite flexible and can certainly be set up to run every year on a certain date.  The nice thing about it is once you have it set up, you can do all sorts of triggering with it.  Just add something to your calendar, and your automation responds appropriately.

But this is just one of many options as noted in this thread, and it sounds like you have a good choice for your usage.

Offline kwieto

  • Hero Member
  • *****
  • Posts: 621
  • Karma: +27/-15
Re: Adding a yearly trigger
« Reply #20 on: April 20, 2018, 03:33:24 am »
Adding for a specific date once works (google colander app was also suggested for something similar) but the intention is for it to run each year at the same time (start of summer).

Yes, you're right, forgot the part of recurring event.
Anyway, seems that temperature trigger will be better solution.