Personal log of yet another digital native.
doorbell.mp3
was no longer working for virtual doorbellFailed to cast media http://XXX.XXX.XXX.XXX:8123/media/local/doorbell.mp3?authSig=XXXXXXXXX from internal_url (http://XXX.XXX.XXX.XXX:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
media
to local
in some unknown capacitySettings / General / Internal URL
to change the Internal URL
from http://homeassistant.local:8123
to http://XXX.XXX.XXX.XXX:8123
Developer Tools / Service
service: media_player.play_media
data:
media_content_id: media-source://media_source/local/doorbell.mp3
media_content_type: media/mp3
target:
entity_id: media_player.living_room_speaker
- id: 'XXXXX'
alias: Virtual Doorbell
description: 'If expecting arrival, ring doorbells'
trigger:
- platform: mqtt
topic: frigate/events
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.XXXXX_person_motion
state: 'on'
- condition: state
entity_id: binary_sensor.XXXXX_person_motion
state: 'on'
action:
- service: media_player.volume_set
data:
volume_level: 0.75
target:
entity_id: media_player.living_room_speaker
- service: media_player.play_media
data:
media_content_id: media-source://media_source/local/doorbell.mp3
media_content_type: audio/mp3
target:
entity_id: media_player.living_room_speaker
mode: single