Hi Richard
You replied on a previous thread regarding my issue that sometimes if Vera croaks, there is a power issue, etc, then normal schedules can fail to fire or disable, if Vera is down on start or end time. I have been moving things away from schedules to sequences with interval timers as a result. Thing is, I have a large number of schedules and this can get quite messy and hard to track. Having a scheduler that is reliable seems like a must. I wondered if it might be possible to add an option to scheduler to periodically validate schedules… could be a global option or set per schedule, depending on implementation. When configured, schedules would be periodically checked. I know this would add a certain amount of load to the system, hence why I am suggesting it as an option, though if I think about it, I can’t imagine having a built in periodic check would be any more intensive than the method I have to use today with interval timers that fire every minute to enable the sequence based approach. I know this is really working around inherent problems with Vera, but even if Vera was reliable, there could still be occasions where planned restarts, power outages or other things could cause this problem, so having a failsafe to me seems like a reasonable thing. What do you think?
[quote=“TheRedPill”]Hi Richard
You replied on a previous thread regarding my issue that sometimes if Vera croaks, there is a power issue, etc, then normal schedules can fail to fire or disable, if Vera is down on start or end time. I have been moving things away from schedules to sequences with interval timers as a result. Thing is, I have a large number of schedules and this can get quite messy and hard to track. Having a scheduler that is reliable seems like a must. I wondered if it might be possible to add an option to scheduler to periodically validate schedules… could be a global option or set per schedule, depending on implementation. When configured, schedules would be periodically checked. I know this would add a certain amount of load to the system, hence why I am suggesting it as an option, though if I think about it, I can’t imagine having a built in periodic check would be any more intensive than the method I have to use today with interval timers that fire every minute to enable the sequence based approach. I know this is really working around inherent problems with Vera, but even if Vera was reliable, there could still be occasions where planned restarts, power outages or other things could cause this problem, so having a failsafe to me seems like a reasonable thing. What do you think?[/quote]
I,know how to fix it … I even asked MCV for a small API change to make it trivial to implement. I have to parse the Vera timer syntax and figure out when the next schedule should be. Then when Vera restarts and it’s past that time … I can schedule it immediately.
Great… Does that mean its fixable now, or are you saying you need to wait for this new API call to be implemented first? Just trying to decide if I continue transforming all my schedules to sequences or wait for this to arrive. I can live with the glitches for a few weeks if you think it might arrive in the next version, but it mainly impacts my heating so if we have to wait for Vera I may as well go ahead 
Thanks
[quote=“TheRedPill”]Great… Does that mean its fixable now, or are you saying you need to wait for this new API call to be implemented first? Just trying to decide if I continue transforming all my schedules to sequences or wait for this to arrive. I can live with the glitches for a few weeks if you think it might arrive in the next version, but it mainly impacts my heating so if we have to wait for Vera I may as well go ahead 
Thanks[/quote]
I just need some time to write some code or maybe the Open Luup group will let me borrow some of their scheduling code … then a little work to integrate with PLEG. I already have the recovery code for interval timers.
Sent from my SAMSUNG-SM-G935A using Tapatalk
Hi Richard any ideas if this will make it into a version soon? I am still having some issues due to general unreliability of Vera and occasional schedule misses. A lot of work to translate everything to timers and sequences so if there is any chance of it happening soon I will wait.
Thanks
It’s not high on my list … but it’s on my list … I keep bugging MCV to make the trivial fix.