Ring Integration

Hello,

For those of you struggling with the integration and using motion as a trigger for lights or anything else…

After a coule of days of debugging I have found that the motion events were not getting pushed to HA if you have ‘Smart Alerts’ set up on the Ring App. No idea why this has broken since the change in the integration code to use event. rather than binary_sensor. but it did. Turn that off and HA will see the motion detection and you can use it as a trigger.

Here is the YAML for the trigger, adjust to suit your event.yourcamname_motion entity

alias: Driveway Lights on with Cam motion
description: \"\"
triggers:
  - trigger: state
    entity_id: event.driveway_2_motion
    not_from:
      - unknown
      - unavailable
conditions:
  - condition: sun
    after: sunset
    before: sunrise
    enabled: false
actions:
  - data:
      message: \"It's working\"
      title: \"READ ME! Driveway Cam Motion Triggered!\"
    action: notify.persistent_notification
  - type: turn_on
    device_id: ed4e157c1dd7b616d692e2d6c9249c6f
    entity_id: 1dbfa827679188af7f1fcf1c4036cb01
    domain: switch
  - type: turn_on
    device_id: b1ecf1a13947fdb0c2f4b4ede73399e3
    entity_id: b7c8a6192986002837ff497a4daaf238
    domain: switch
  - delay:
      minutes: 2
  - type: turn_off
    device_id: b1ecf1a13947fdb0c2f4b4ede73399e3
    entity_id: b7c8a6192986002837ff497a4daaf238
    domain: switch
  - type: turn_off
    device_id: ed4e157c1dd7b616d692e2d6c9249c6f
    entity_id: 1dbfa827679188af7f1fcf1c4036cb01
    domain: switch
mode: single

Hope this help someone.

1 Like