Issue of the topic: Expire timer does not work for long time duration
Please post configurations (if applicable):
I am using a Zwave wallswitch, with the switch connected to a bathroom fan. I have the Expire Metadata set for it with the following code, however it does not work as expected:
I can use this same item but set the Expire to 2 minutes, 3 minutes, 5 minutes, 10 minutes and it works properly. But when it is set to 20 minutes it fails to complete and turn the fan off. Also have set it for 30 minutes and same failure.
Is there any way to see if the Expire timer is activated, and/or what its remaining time is?
I cut the command to only contain “20m”, however as soon as I saved it, the 0h and 0s were added back on. I’m using the GUI for all editing and configuration.
I’ll watch the switch item to see if any updates are sent. Thanks for the hint if I may need to implement some rules for Expire functionality.
I too am having intermittent failures with Expire Timers, but I am using .item text files. It’s not frequent, but it is real. It happened today. Never had a problem using same item text files in 2.5.x. Because it doesn’t happen all the time, I think it is going to be difficult for me to trace to a root cause. Mine is set to 15s.
If you suspect unexpected Item updates, you don’t get to see Item state-updated-to-same-value in your events.log
That does make it harder to understand.
But you can capture those with a little rule, example
rule "diagnostic"
when
myItem received update
then
logInfo("diagnostic", "Updated to " + myItem.state.toString)
end