Page 1 of 1

Timer and Pesters Error: Timer id 0 is not available

PostPosted: Fri May 05, 2017 8:52 am
by NewfD90
I have a 12 hr timer that restarts whenever both my wife and I are gone. When it expires it sets a Vacation variable to true.

Well this morning when we indeed left on vacation, I checked on things and found the aforementioned error in the log (marked in red) and the subject timer not counting down (inactive).

This timer had been functioning in the past. Anybody have an idea as to what might cause this?

Re: Timer and Pesters Error: Timer id 0 is not available

PostPosted: Fri May 05, 2017 9:50 am
by jay (support)
Copy/paste the lines from the Event log - include several before and after.

Re: Timer and Pesters Error: Timer id 0 is not available

PostPosted: Fri May 05, 2017 12:24 pm
by NewfD90
We're traveling and the ndigo touch app won't allow me to copy the logs, so that'll have to wait until Monday. However, I don't see anything else unusual when that error gets logged. I searched for the error message, and it actually looks to have started misbehaving 2 days ago.

Re: Timer and Pesters Error: Timer id 0 is not available

PostPosted: Fri May 05, 2017 1:57 pm
by jay (support)
I just looked in the code: any action (set start value, start, restart,pause, resume, stop) that needs to have a timer specified as part of the action will throw that error if it can't get the timer. It's not possible for Indigo to assign any device an ID of 0, so that means that you have an action somewhere where you didn't specify the timer device in the action config screen.

Re: Timer and Pesters Error: Timer id 0 is not available

PostPosted: Fri May 05, 2017 2:00 pm
by NewfD90
Ok, I'll check when I get back and let ya know.

Thanks!

Re: Timer and Pesters Error: Timer id 0 is not available

PostPosted: Sun May 07, 2017 4:06 pm
by NewfD90
You nailed it. Thanks for the pointer as to where to look!