Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95380

Playing Local GH Doorbell Sound on HASS - Ubuntu running on laptop

$
0
0

@Sabellwind wrote:

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:
image

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?

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>