05-23-2025 04:49 AM
Hi everyone,
I'm trying to create an advanced automation in the Google Home Script Editor for my Google Nest Cam (wired, indoor) (the most recent model). My goal is to turn off a light if the camera detects no motion or person for a specified duration (e.g., 5 minutes).
I'm attempting to use the device.state.MotionDetection starter/condition with the state: motionDetectionEventInProgress, setting is: false and for: 5min.
However, the script editor gives me the following error: [motion_detection_event_in_progress] n'est pas compatible avec l'appareil [Nest Cam Salon - Salon]. (My camera's name in Google Home is "Nest Cam Salon - Salon").
This is very confusing because, in the standard Google Home app routines UI, I can select this exact camera as a trigger for "Does not detect movements" and then specify a "Duration" (e.g., 30 seconds, 5 minutes). This clearly indicates that the camera is capable of reporting inactivity for a duration, and Google Home can use this information for standard routines.
My questions are:
Any insights, confirmed syntax, or help would be greatly appreciated!
Answered! Go to the Recommended Answer.
05-28-2025 09:03 AM
Thanks for sharing. Could you please open an issue tracker here and and share the same details along with the screenshots. I will forward this to Google internal teams for further investigation.
05-28-2025 09:03 AM
Thanks for sharing. Could you please open an issue tracker here and and share the same details along with the screenshots. I will forward this to Google internal teams for further investigation.