Friday
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!