API 'Has_Motion' Value


#1

Quick question about this value…when does it get reset after a motion event occurs? It can’t be reset because it’s read only.

Trying to use the value to grab a snapshot and email it to myself, based on the value changing from ‘false’ to ‘true’. I’ve checked the value several times and it’s still set to ‘true’.

Thanks


#2

has_motion is part of the last_event object, which holds details about the most recent triggered event. The values will remain the same until a new event (motion, sound, person) overwrites it.