Report time of state change

I’d like to report the time of the last state change for a motion sensor. That way I can tell when someone left the area. Is there a straight forward way to do this? I think I’ve seen how to send a string from an arduino but I don’t know how to post it on a project dashboard.
Thanks,
Scott

You could use a rtc or millis if your not too concerned with exact time. Just write it to a virtual pin.

Also you can setup a trigger that sends email :stuck_out_tongue: