06-16-2023 03:16 AM
Finally i want to solve what Google cant solve for me. I want my Google Nest cameras (bought in 2023) to alert me while i am home and on spesiffic times.
My code looks like this :
"
metadata:
name: Nattkamera Varsling
description: Sender varsler om menneskelig bevegelse mellom 24:00 og 06:00.
automations:
starters:
- type: device.event.MotionDetection
device: Bakgård - Utvendig Overvåkning
- type: device.event.MotionDetection
device: Bakhage - Utvendig Overvåkning
- type: device.event.MotionDetection
device: Floodlight - Utvendig Overvåkning
- type: device.event.MotionDetection
device: Garasje - Utvendig Overvåkning
- type: device.event.MotionDetection
device: Inngang - Inngang
condition:
type: time.between
after: "00:00:00"
before: "06:00:00"
actions:
- type: assistant.command.Broadcast
message: "Menneskelig bevegelse er detektert av kameraet."
My problem is that the script doesnt recognise motion detection on the cameras, im guessing this is for the motion is digital innput from the grid where i choose where to register motion.
Anyone have a good solution?
(Disclaimer, im not a coder, ChatGPT is my coding plattform 😛 )
06-29-2023 01:07 AM
Hi there, did you find a workaround for this?
I would like to know if motion detection is an option for Google Nest cameras too.
07-02-2023 10:44 PM
Havent looked hard into it, was hoping to get some free advice here! 😛
07-02-2023 06:26 PM
I don't see Nest camera motion detection in the list of supported device list as a support action. Found HERE:
https://developers.home.google.com/automations/supported-devices
I hope that changes as I have a sizable investment in the NEST battery cams, and I'd love to be able to turn on outside lights when motion is detected between a certain range of hours.
07-02-2023 10:46 PM
I think the motion detection is not in the camera, but in the app. You put the boarders for detection in the app and it seems like the camera is always on, then use coding for when it detects movement inside the border.
The fun question then is: How does the cameras detect motion when only on battery? It cant be on recording the boarders when using battery, then the battery will last 20 mins 😛 I might have killed my first argument.
07-14-2023 04:17 AM
The state and events are there on the camera and the nest app. That is how you get notifications using the Nest app. In the Nest App you can delve into a lot of different states/events presented by the camera however these have not been enabled in the Google Home environment for routines.
I suspect this is the case for many of the devices, where only a very small subset of the actual API events are "whitelisted".
Frankly it is ridiculous. I can use automation within environments like Grid Connect, to trigger on motion and a bunch of other things, but not the Google devices. Sadly, because am very anti-Apple, it pains me to see Google is fast becoming like them. Instead of being the open innovator, it is turning into a very controlled environment. Look at Google Nest Max Hub: try showing a simple calender on there - no chance.
Anyway back on topic. There is a way if you use Google Cloud tools, set up a development environment, and then access the Nest API directly. From here you can create the routines you need to implement motion detection. That is the only way currently until GH whitelists those actions in their native Routines offering.