I’ve been battling this issue for a few days now. Every other forum post I’ve read seems to have it working locally by pointing their config to the www folder. I had to create a www folder because it wasn’t there by default. I’m running this on a Ubuntu and not hass.io on a pi.
My automation yaml is:
- alias: 'Doorbell'
initial_state: 'on'
trigger:
platform: event
event_type: deconz_event
event_data:
id: smart_switch
event: 1000
action:
# service: tts.google_translate_say
service: media_player.play_media
data:
entity_id: media_player.all_speakers
# message: 'Ding Dong, someone is at the door'
media_content_id: http://xxx.xxx.x.xx:8123/home/angelo/.homeassistant/www/audio/doorbell.mp3
media_content_type: 'music'
and my target sound file is here:
The commented out TTS works, so I believe the issue here is that HA can’t find doorbell.mp3 file. What am I doing wrong?