There is NOT a time stamp for every combination of tripped and armed …
There is ONLY a time stamp when it is tripped, independent of when it is armed or not.
If you need these time stamps … use PLEG … it maintains times tamps for all inputs and all expression.
Another method i’ve used.
Install the variable container app (assuming it still exists…?)
On armed sensor trip, run luup code:
-- record trip time to variable container
local timerightnow = tonumber(os.time())
luup.variable_set("urn:upnp-org:serviceId:VContainer1","Variable5",timerightnow, 23)
Where the variable container can hold 5 variables (writing to “variable5” and its device number is 23
Best Home Automation shopping experience. Shop at Ezlo!