Is there a way to capture the date and time of a device’s last activity?
I am trying to design a piston to monitor device heath and have already tried using $status which shows if it’s active, inactive, offline etc.
The problem is that variable is not very accurate in that a device’s battery can die and the $status variable is never update.
In the IDE each device has a data field containing the date and time of a devices activity labeled “Last Active At” and I am wondering if anyone knows how to get that info into a piston?