Doorbird + Google Home Hub (or Chromecast)

your event trigger is good… and settings
if you set your button to the https call front_gate_somebody_pressed_the_button in the doorbird app you should be fine trigger that event in home assistant.
Can you try this to testt:

- id: doorbird_trigger_automations
  alias: "doorbell ring automations"
  trigger:
    - platform: event
      event_type: doorbird_front_gate_somebody_pressed_the_button
   action:
   #Play 'Ding' sound on Google Home speaker
    - service: media_player.play_media
      data:
        entity_id: media_player.kitchen_display
        media_content_id: http://192.168.86.38/bha-api/notify.mp3
        media_content_type: audio/mp3

dont thing the indent is good but i think it would give a sound

Sorry for the delay. If I execute the automation from HA, the media player is activated… so we know that works. However, if I press the button on my DoorBird, that media player is not activated. SO, the issue is still somewhere between the DB unit and it pushing an HTTPS request to that event.

I also confirmed that the HTTPS request being used in the DB app is accessible with the provided token. I am getting an ‘OK’ response when I access that URL (https duckdns URL) in a browser.

I should add there are no line items in the HA log referencing this device or event.

So you haven’t linked the https request ? you did shedule the button for whole week ? normally the grid will be all blue if you did that…

Yes, the schedule is already set. It allows me to click and make the schedule entirely blue. I have set scheduled for motion, relay, rfid, and doorbell.

UPDATE: I read some other posts and attempted to use the event listener in dev tools, listening to: “doorbird_front_gate_somebody_pressed_the_button”. However, after listening and pressing the button, there was nothing logged.

UPDATE 2: I figure it out. I changed the HTTPS addresses in the doorbird app to use the local LAN address instead of the duckdns address. Everything works now!

glad you found it out… why should you use duckdns addres to make the https address calls in first place ? i run home assistant in docker on my synology. So dont use duckdns …So now you can start making you doorbird automations… Enjoy ! And let me know what you are planning to do withy ure doorbird. grtz

When I created the events, they were automatically created in doorbird with the duckdns address, for whatever reason. At any rate, I am setting up so the live feed is displayed for 10 seconds on my google hub max when the doorbell is pressed.

I am now exploring how to restore the media state that was being used prior to the doorbird feed being displayed. So, if I was watching YouTubeTV, it goes back there… this is a bit more tricky!

    - service: media_player.turn_off
      data:
        entity_id: media_player.kitchen_display

doesnt that do the trick ?

It’s a bit more complicated. So the use case is: I am watching YouTubeTV on my media_player. Someone rings the doorbell and my DoorBird camera displays the live video feed. After 10 seconds the media_player reverts back to what I was watching prior to the doorbell, which in this case, is YouTubeTV.

I have installed a variable HACS add-on that I am going to explore. See if I can’t set previous values and recall them later…?

I think you should explore NODE red for do such things… but i am learning also and want to do only yaml automations … i had the same issue… I let the TTS speak “someone’s at the door” but when i was listening on spotify i need the volume much higher so i can hear her speak and after that the volume need to be at the previous “current” value volume…

Hi,

I am a newbie in Hass.io.
I try to link my Doorbird to the Google Home Mini and Google Home Hub devices in my home.
However, I am quite stuck at the moment.
Just to be sure.
I need to replace all entity_id with the entity id’s of my devices?

Do I also need to replace media_content_id with mine and if yes, where do I find this information?

I made an automations.yaml in the file editor.
Do I need to place it somewhere or can I just save it in the file editor.

Thanks in advance for your help.