Ring Doorbell

Thanks for looking, it’s definitely not in the APP UI was just wondering if it was something they didn’t bring to the front.

It will be a lot easier when Ring gives us an official API.

Thanks for the hard work.

1 Like

Did anyone manage to integrate the last captured image./video in HA? This would be great to have as other cameras such as blink have this.

1 Like

@matthewcky2k we are trying to connect to the camera to capture its image. you can refer the 3rd party library page for this module at https://github.com/tchellomello/python-ring-doorbell/issues

1 Like

Is there a way to force a chime to sound? I’d like to have HA make the ring doorbell chimes sound when the house doors open. Thanks

1 Like

I noticed in the readme there is a function to retrieve the last cloud recording URL. Would there be a way to use this with a generic camera component so we have an image in HA?

1 Like

Hello @Jer78,

Yes, I’m working on that. Hopefully we will make it to version 0.50

I’ll keep you posted.
mmello

3 Likes

Awesome!! Looking forward to it. If you need a tester, let me know.

Recently bought their new flood light cam. Has light and siren control on the app along with the normal motion, video, etc. How hard would that be to integrate?

Just to confirm this configuration from @tchellomello looks to be working well for me on v0.48.1

#configuration.yaml
ring:
    username: !secret ring_username
    password: !secret ring_password

binary_sensor:
  - platform: ring
    monitored_conditions:
      - ding
      - motion

sensor:
  - platform: ring
    monitored_conditions:
      - battery
      - last_activity
      - last_ding
      - last_motion
      - volume

And then for neatness - group them all.

# groups.yaml
  ringdoorbell:
    name: Ring Doorbell
    entities:
    - binary_sensor.ring_front_door_motion
    - binary_sensor.ring_front_door_ding
    - sensor.ring_front_door_battery
    - sensor.ring_front_door_last_activity
    - sensor.ring_front_door_last_ding
    - sensor.ring_front_door_last_motion
    - sensor.ring_front_door_volume
    - sensor.ring_hallway_volume

Does anyone have any good automation examples for how they are using Ring ?

Yes I have one which sends a notification to my phone with actions (unlock door) and to Kodi it also pauses the media using harmony

automation:
- alias: Someone is at the front door pause
trigger:
  platform: state
  entity_id: binary_sensor.ring_front_door_ding
  state: 'on'
condition:
 - condition: state
   entity_id: group.people
   state: 'home'
action:
  - service: notify.webpush_matthews_s8_plus
    data:
       message: Someone is at the front door
       data:
          actions:
            - action: unlock_front_door
              icon: mdi:lock
              title: Unlock Door
            - action: lock_front_door
              icon: mdi:lock
              title: Lock Door
  - service: notify.kodi_lounge
    data:
       message: Someone is at the front door
       data:
           displaytime: 20000
           icon: "warning"
  - service: notify.kodi_bedroom
    data:
       title: Home Assistant
       message: Someone is at the front door
       data:
           displaytime: 20000
           icon: "warning"
  - service: media_player.media_pause
    entity_id: media_player.kodi_bedroom
  - service: media_player.media_pause
    entity_id: media_player.kodi_man_cave
  - service: remote.send_command
    data_template:
      # using a data template to have if brances for relavant device
      # Always the same entity_id - the harmony hub
      entity_id: remote.lounge
      # Always the same command - the Pause key
      command: Pause
      # select device based upon the activity being undertaken.
      device: >
            {% if is_state("sensor.living_room_remote", "Watch SKY") %}
              43005487
            {% elif is_state("sensor.living_room_remote", "Watch Media") %}
              20009633
            {% elif is_state("sensor.living_room_remote", "Watch a BluRay") %}
              20009628
            {% endif %}
1 Like

Using it to turn_on porch lights on motion. See the full automation here

Thanks @matthewcky2k and @arsaboo they are great.

Extract of @arsaboo’s below.

- id: frontyard_lights
  alias: 'Turn on frontyard lights'
  initial_state: 'on'
  condition:
    - condition: state
      entity_id: sun.sun
      state: 'below_horizon'
  trigger:
   - platform: state
     entity_id:
       - binary_sensor.ring_front_door_motion
     to: 'on'
  action:
    - service: switch.turn_on
      entity_id:
        - switch.driveway
        - switch.wemoporch

- id: frontyard_lights_off_after_ring
  alias: 'Turn off frontyard lights after Ring'
  initial_state: 'on'
  condition:
    - condition: template
      value_template: >
        {%- if states.binary_sensor.ring_front_door_motion.last_changed -%}
          {{(as_timestamp(now()) - as_timestamp(states.binary_sensor.ring_front_door_motion.last_changed)) > 200}}
        {%- else -%}
          false
        {%- endif -%}
    - condition: or
      conditions:
        - condition: state
          entity_id: switch.driveway
          state: 'on'
        - condition: state
          entity_id: switch.wemoporch
          state: 'on'
  trigger:
   - platform: time
     minutes: '/5'
  action:
    - service: switch.turn_off
      entity_id:
        - switch.driveway
        - switch.wemoporch

Hey folks, I have a Ring Stick-Up Cam, and I just tried the ring:, binary_sensor: and sensor: components…

I don’t get any errors, but I don’t see any ring states in the HA States page… anyone had luck with HA and a Stick-Up Cam ?!

Thanks !

The component doesn’t currently show separate sensors for each Ring camera (doorbell or stickup cam). I have noticed though that the binary sensor will show “motion” when any of the devices associated with the same account detect motion.

Guys, I’m working on the issue about a trigger being activated in more than one sensor. I already found the problem and I’ll share a test code for you guys to see if that addresses the issue since I only have 1 device.

I’ll keep you posted.

2 Likes

Hi, thanks for the hard work.

I’m a complete newbie to home assistant. I’m having trouble getting this installed properly.I have the ring pro hard wired to my house. I tried to add this to my configuration.yaml. Changed the !secret ring_username and !secret ring_password

ring:
    username: !secret ring_username
    password: !secret ring_password
binary_sensor:
  - platform: ring
    monitored_conditions:
      - ding
      - motion
sensor:
  - platform: ring
    monitored_conditions:
      - battery
      - last_activity
      - last_ding
      - last_motion
      - volume

However when I restart homeassistant, it doesn’t boot the UI.Are there any other steps I’m missing?

You mean the Home Assistant UI? Have you looked at your log for an error?

That’s correct, Home Assistant UI doesn’t load. How do I get read the error log without having access to the UI?

Go to the root of your HA installation directory; you’ll find it there “home-assistant.log”