I do have bought myself a Unifi G4 doorbell.
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
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.
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