cancel
Showing results for 
Search instead for 
Did you mean: 

Nest Cam (Wired, Indoor) Script Editor: "No Motion for X min" State Incompatibility Issue

Gabilshar
Community Member

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:

  1. Is motion_detection_event_in_progress not the correct state name or type to use for the Nest Cam (wired, indoor) within the Script Editor when trying to detect prolonged inactivity? If so, what is the correct state name/type?
  2. Is this a known limitation of the Google Home Script Editor, where certain capabilities available in the standard UI are not fully exposed or mapped correctly in YAML for specific devices like the Nest Cam?
  3. Has anyone successfully implemented a reliable "turn off if no motion/person for X minutes" automation with this specific Nest Cam model in the Script Editor? If so, could you share your YAML syntax or any workarounds?

screenshot 

Any insights, confirmed syntax, or help would be greatly appreciated!

0 REPLIES 0