G4 Doorbell integration. How to get it working with google home

I do have bought myself a Unifi G4 doorbell. :slight_smile:
Because the automatic notification and the app is not that good, i want to have a message via google home where it says… somebody is ringing your doorbell.

I did find this automation but it doesn’t work for me.

I don’t know where to find the

device_id: “your device”

Here my settings


- id: 'google home saying there is someone at your door'
  alias: Doorbell
  description: ''
  trigger:
  - platform: event
    event_type: unifiprotect_doorbell
    event_data: {}
  condition: []
  action:
  - service: tts.google_translate_say
    data:
      message: Someone is at the door
      entity_id: "media_player.woonkamer"
  - delay:
      hours: 0
      minutes: 0
      seconds: 4
      milliseconds: 0
  - service: media_player.volume_set
    target:
      device_id: "your device"
    data:
      volume_level: 0.3
  mode: single

Anybody who can tell me what i do wrong? Thanks in advance.

I found out that i made a mistake with my TSS file which has a typo and after that the automation went fine. Please feel free to contact me, if you have the same issue while setting up this automation. :slight_smile:

Hopefully, soon we can send the video feed to the Nest hubs

Sort of got it working; but it is a still image… see here: Unifi Doorbell G4 last snapshot casted to Google Home via intermediate docker image

I finally got it working finally a month ago.
But after the latest update (all update after december 2020) of “Unifi protect” the binary sensor of the doorsensor is not visible anymore in Home assistant.
I think that is because unifi does not use the “binary” entity anymore. That is also the case for all my other Ubiquiti camera’s.
The only entity i can find for the doorbell is “camera.uvc_flex_deurbel” It has no related entity’s anymore.
Is there anybody who knows what i can fill in on the binary part now? “binary_sensor.doorbell_deurbel_voordeur”

  alias: Google zegt het als er iemand aan de deur staat
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.doorbell_deurbel_voordeur
    from: 'off'
    to: 'on'
  condition: []
  action:
  - service: tts.google_say
    data:
      message: Er staat iemand voor de deur
      entity_id: media_player.keuken
  mode: single

Is there somebody who can help out. I can’t get it working.

Still nobody who can help or did get it working? Thanks in advance.

Hello,
I am very intersted to buy the G4.
I have fiew questions:

  1. Globaly, what do you think about this doorbell.
  2. What do you think about the home assistant integration ?
  3. IS that possible to delegate the image and have an image recognisation (to recognise the person)
  4. Is that possible to use the speaker as media player from H.A ? To send welcome to the recognised person, to send mary Christmass…

Best regards !

Mine works by with no ‘from’ state. Maybe try that:

alias: Doorbell Rang
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.doorbell_front_door
    to: 'on'
condition: []
action:
  - service: notify.notify
    data:
      message: Doorbell!!!!
      data:
        entity_id: camera.front_door
        push:
          category: camera
mode: single