Pester timing is off

Posted on
Sat Sep 25, 2021 12:04 am
Dual offline
Posts: 255
Joined: Feb 05, 2019

Pester timing is off

I have a pester set to run 19 times every 900 seconds, starting at 3:01 PM and covering the period from 3:16 PM to 7:46 PM which is during my electrical demand period. I ensure the HVAC system is set to off each time the pester executes the action group (in case someone forgets and turns it on at the thermostat). There is no delay on the pester. There is no delay on the action group. The time between executions of the action group is greater than 900 seconds (15 minutes). Why? Actual intervals in the following log example are about: 15:42, 15:40, 15:44, 15:44, 15:42, 15:43, 15:40, 15:46.

Code: Select all

2021-09-24 15:01:00.521 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 15:16:42.929 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 15:32:22.596 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 15:48:06.584 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 16:03:50.198 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 16:19:32.193 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 16:35:15.604 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 16:51:05.855 --- Action Group --- great hall thermostat mode to OFF during demand period

2021-09-24 17:06:51.732 --- Action Group --- great hall thermostat mode to OFF during demand period




Sent from my iPhone using Tapatalk

Posted on
Mon Sep 27, 2021 10:33 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Pester timing is off

Please post screenshots of how you have the pester configured and how you have any schedules/triggers/action groups configured that are part of the solution. I need to be able to recreate exactly what you have in order to try and replicate.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Sep 27, 2021 8:17 pm
Dual offline
Posts: 255
Joined: Feb 05, 2019

Re: Pester timing is off

Screenshots attached.

Image

Image

Image

Image

Image

Image

Image


Sent from my iPad using Tapatalk

Posted on
Tue Sep 28, 2021 9:10 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Pester timing is off

Your pester definition is wrong: you have the number of seconds between each cycle set to 900 - which is 15 minutes. So it will repeat every ~15 minutes 18 times, which is what it's doing.

If you want 18 repetitions in 900 seconds, then you want to define the seconds between each cycle to be 50 (900/18).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Sep 28, 2021 9:51 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Pester timing is off

I based the last post on your first sentence which implied you wanted the pester to run 18 times over a 900 second span. However, Matt pointed out that you might just be asking why your current implementation (every 15 minutes) isn't exactly 15 minutes. Pesters weren't designed to be exact: there could be some rounding errors when converting between the various datetime formats, processing times for timers, events, etc.

If you need exact times, I'd recommend rearchitecting your solution to use Schedules - those are much more accurate in terms of timing. Pesters are meant as an easy to implement recurring reminder capability, less concerned with exact timing.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Sep 28, 2021 11:40 am
Dual offline
Posts: 255
Joined: Feb 05, 2019

Re: Pester timing is off

Thanks Jay. Yes I was wondering why the timing was imprecise. By the time it ran 19 times at more than 15 minutes apart it was executing the final iteration after 8:00 pm (instead of finishing the last one at 7:45 pm) and ended up reversing the schedule that turned the hvac back on at 7:59 pm. I have switched it from 19 cycles to 18 cycles and it is ok now. I have contemplated using schedules however it appears I would need to create 19 different schedules for each of 3 HVAC systems. Is there a way to have a schedule repeat every 15 minutes within a certain time slot such as 3:00 pm to 7:45 pm?


Sent from my iPhone using Tapatalk

Posted on
Tue Sep 28, 2021 4:23 pm
FlyingDiver online
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pester timing is off

Dual wrote:
Is there a way to have a schedule repeat every 15 minutes within a certain time slot such as 3:00 pm to 7:45 pm?


Set the schedule to run every 15 minutes, then put the bounding times as conditions for the schedule (2nd tab).

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Sep 28, 2021 4:53 pm
Dual offline
Posts: 255
Joined: Feb 05, 2019

Re: Pester timing is off

Awesome suggestion. Disappointed I didn’t think of it. Thanks!


Sent from my iPhone using Tapatalk

Posted on
Thu Oct 14, 2021 5:16 pm
Dual offline
Posts: 255
Joined: Feb 05, 2019

Re: Pester timing is off

Working great now. Thanks guys.


Sent from my iPhone using Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest