How to reset a Tripped state?
-
Hi,
Some devices, I don't know why, stay in a tripped state after the trigger has already closed.
Let me try to explain better.
A door sensor is tripped when it opens the door, for some reason it does not go back to an Untripped state when it closes. Or a motion sensor likewise, arms with a movement, and then does not disarm even though there is no more presence to justify being armed.
Is it possible by some command to make the device reevaluate its state? If the door was closed, and it is still indicating open, reevaluate and put the correct state of closed door?
Thanks.
-
If you're doing it from MSR, use the
x_vera_device.set_variable
action on the device to setTripped
(service Idurn:micasaverde-com:serviceId:SecuritySensor1
to 0.An HTTP would do essentially the same as the above ('http://vera-ip:3480/data_request?id=variableset&DeviceNum=NNN&serviceId=urn:micasaverde-com:serviceId:SecuritySensor1&Variable=Tripped&Value=0`).
And of course, you can do it in Lua:
luup.variable_set( "urn:micasverde-com:serviceId:SecuritySensor1", "Tripped", 0, device_number )
Devices in the
SecuritySensor1
service also support anAutoUntrip
state variable that if set to a non-zero number of seconds will reset the Vera device (not the physical device) to untripped after that time. If you have to create the variable, the service ID is the same as that listed above.Keep in mind that any of these manipulations of the state variable have nothing to do with what the physical device thinks, so Vera won't report the actual reset of the device (because Tripped has already been set to 0/false), and any refresh of the device (e.g. Luup reload) may cause a retrigger.