User Tools

Site Tools


dictionary:unitinformation:timedelta

Table of Contents

Time Delta

Returns the number of seconds since the unit was last changed state or value, the last time a global script was executed and as of build 834 the seconds since an interface has last received a packet.

Usage:

time delta of (name of Unit, global script or interface)

Examples:

write log "it has been " & (time delta of "Kitchen Motion") & " seconds since motion in the kitchen"

Note that this will also work for global scripts to tell you the last time the script was ran, or with interface names to tell you the last time an interface received or sent a command.

/home/e805485/machomeautomation.com/data/pages/dictionary/unitinformation/timedelta.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1