Ring Camera - activate motion detection on trigger

I’ve got a Ring camera in my house, which is added to Home Assistant. We have a dog who sleeps in the living room, so at night we turn the Ring Camera on. We do this through the switch ‘motion detection’ in the camera’s settings. This switch is manually activated at night, but deactivated each morning.

I wondered if there was any way to automate this, that it turns on at a specific time for example. When I try to add the camera to my automation, in the visual editor I only get the option to turn on / off / toggle the siren. I wonder if it has something to do with administrative rights: my partner can’t edit this setting in his ring camera app either, only I can.

How do I automate this?

I have some Ring cameras myself, and if I select “call a service” (not device) in the automation I can enable/disable motion. Like this:

description: ""
mode: single
trigger: []
condition: []
action:
  - service: camera.disable_motion_detection
    data: {}
    target:
      entity_id:
        - camera.1
        - camera.2

Oh that’s a step closer to what I want. However, when I trigger the service (when implemented in an automation), I get an ‘unknown error’.

This is the YAML code (I’ve added it through the visual editor though).

service: camera.enable_motion_detection
data: {}
target:
  entity_id: camera.woonkamer

Do you know what is happening?
In a otherwise empty automation I get the same error message when trying it.

can you show the whole automation? Edit: I tried making an automation doing this my self and I also cannot get it to work. Try opening an issue in github.

alias: Test
description: ""
trigger: []
condition: []
action:
  - service: camera.enable_motion_detection
    data: {}
    target:
      entity_id: camera.woonkamer
mode: single

This is the empty one.

When I run the whole thing I don’t get any error messages, but the motion detection isn’t turned on either

Yeah I see the same here (I’m not using this for anything myself). See my previous edited post.

Sorry I’m a bit of a noob here –to which Github should I post this?

Ring - Home Assistant Top right corner.

1 Like