Jaxel
(Jaxel)
November 30, 2023, 12:37am
1
I have the following automation:
- id: motion_detection_porch_night
alias: Motion Detection @Patio (Night)
trigger:
- platform: device
device_id: c7d422e90fafb2eca238572b856078fc
domain: nest
type: camera_motion
action:
- service: script.motion_detection_night
data:
entity_id: light.light_switch_patio_light
The automation fires when it detects movement on my camera, and fires off a script. However, motion detection never seems to activate. Am I doing this wrong?
Ihek
(Ihek)
November 30, 2023, 9:21pm
2
Hi
I have been trying to make automation that turn my lights on when nest camera detect person.
But unfortunately it didn’t fire .
I used visual editor to make this automation
Choosing device ( my camera) detect person to turn the lights
I also used trigger to press a button to turn these lights on , it works well with this but not with person detection.? Any help please
alias: Backyard lights
description: “”
trigger:
platform: device
device_id: dbd92848a7f103fc09b993bd4130cdc4
domain: nest
type: camera_person
device_id: d8dd5bb956804a3c0d2ba45dd774c4f3
domain: hue
platform: device
type: initial_press
subtype: 2
unique_id: e96a6200-9607-4975-87f3-3af63215db1e
condition:
condition: sun
after: sunset
action:
type: turn_on
device_id: a7f7e9e960a1f572d97c383d5dfb0fd4
entity_id: 14570fc2559b893ad89dbc5638e95a3f
domain: light
type: turn_on
device_id: 8a93fcb928cef4726c11734d2c40b769
entity_id: 449369807a7f0805b9787553c8fbf29e
domain: light
type: turn_on
device_id: 6e2d4f5e45b087407d7fc814e5eb0335
entity_id: d238f0222d387a527b83034cc4f2cf23
domain: light
brightness_pct: 100
type: turn_on
device_id: e44432401c39762e8815337fd24b4f53
entity_id: 94e9a987d11ab464998d1489beda72a1
domain: light
delay:
hours: 0
minutes: 1
seconds: 30
milliseconds: 0
type: turn_off
device_id: a7f7e9e960a1f572d97c383d5dfb0fd4
entity_id: 14570fc2559b893ad89dbc5638e95a3f
domain: light
type: turn_off
device_id: 8a93fcb928cef4726c11734d2c40b769
entity_id: 449369807a7f0805b9787553c8fbf29e
domain: light
type: turn_off
device_id: 6e2d4f5e45b087407d7fc814e5eb0335
entity_id: d238f0222d387a527b83034cc4f2cf23
domain: light
type: turn_off
device_id: e44432401c39762e8815337fd24b4f53
entity_id: 94e9a987d11ab464998d1489beda72a1
domain: light
mode: restart
Jaxel
(Jaxel)
January 12, 2024, 1:00am
3
I still haven’t solved this issue!
Joining here as well - it doesn’t seem like the google cameras are able to trigger automations in home assistant.
I’ve tested on a camera that’s plugged in as well so it’s not just a battery state thing.