Preventing stale state of momentary devices

Posted on
Thu Jun 21, 2018 8:15 am
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Preventing stale state of momentary devices

Has anyone had the problem where they reboot at the wrong time, and a momentary device like a motion sensor was on before the reboot and Indigo misses the "off" update? I've also seen this happen not because of a reboot but due a simple missed message (I do have the occasional wireless interference in my house). This happens to me occasionally, and it can mess up my system.

I know that you can force a motion sensor device to turn off via Control Pages. But this only works when you catch something like this manually. Is there a simple solution to this that I'm not considering, such as resetting the state of some devices to Off when Indigo starts? Or, is there a plugin that I'm unaware of that detects that a device state has gone stale? Primarily for Z-Wave devices?

Thanks
Mike

Posted on
Sat Jun 30, 2018 11:09 am
petematheson offline
Posts: 847
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Preventing stale state of momentary devices

Following as I have a similar issue in that some motion sensors do get stuck, then I only notice after a few months when I get annoyed for having to switch lights on manually

But generally any that do get stuck, should sort themselves out after they’re triggered next?


Sent from my iPhone using Tapatalk

Posted on
Sat Jun 30, 2018 11:39 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Preventing stale state of momentary devices

There’s two options here.

1) There is a trigger for “Server startup” that you can use to do what you like.

2) The newer timers plugin (not the built in timers & pesters plugin) has one that counts time since last update. I use it for dead batteries on Fibaro sensors.


Sent from my iPhone using Tapatalk Pro

Posted on
Sat Jun 30, 2018 12:56 pm
racarter offline
User avatar
Posts: 468
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Preventing stale state of momentary devices

My Watchdog plugin might do the trick. (See File Library.)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests