Vera UI7 What if a sensor is not reporting?
-
I finally have a couple of temperature sensors working correctly in my setup but I have a question. I've noticed that if the sensor stops reporting (unplugged, out of range, etc) that Vera simply reports its last state. So if I unplug one of my temperature sensors it always shows the last temperature it was at.
How are people dealing with this issue? Is there something I can add to the sketch to make it show in error or are people writing a scene that says "if sensor doesn't change in x hours send alert."
Thanks.
-
-
This should certainly be possible to flag with some code changes to the Vera MySensors plugin. I'm taking a look at trying to merge the main branch and the UI7 versions, so will give it some consideration. Of course, someone else could always beat me to it!
Would a single value for all sensors be acceptable? I suspect not. In which case you'd need a neat way of specifying this on a per device basis.
-
Wouldn't it be hard to make this type of indication on the build-in devices?
For the Arduino-device it would be great to have something more visible than the current last-update thing. Maybe also a decent variable/event which could be monitored by PLEG or scene. -
I'm finishing right now my fist battery sensor , and i think i found a solution very consistent using scenes and email luup . in scenes you have that option: battery value below than [x_value].
if you set the value and add a costume luup file to send an email ,vera will send an email before battery ends.i found his luup file but didn't test yet:
http://forum.micasaverde.com/index.php?topic=6309.0 -
I did manage to figure out a work around for this problem:
I created a virtual switch called Dead Node Alert. This gives me a visual switch that shows if all nodes are responding or if one has failed to report.
I then use PLEG and set two conditions: 1) compares last update vs. current time. If more than x seconds since ANY nodes have reported they flip the switch to off. 2) compares last update vs current time. If less than x seconds since ALL nodes have reported then its flips the switch on.
So now I don't have to worry about stuff in my freezer spoiling if my temperature sensor does not respond and my freezer quits. Sure beats looking at all the last updates to make sure they are responding.
If anyone needs example PLEG conditions or inputs let me know. It would be great if this were native to the plugin somehow!


