#Unable to send images in notifications

1 messages · Page 1 of 1 (latest)

warm ferry
sour zealot
#

OK, different spot but I found it here.
To share pics or audio or whatever you should set up stuff in the YAML backend...

For me in configuration.yaml

homeassistant:
  media_dirs:
    local: /media

Then the /media path becomes part of /local .
And put the mp3 in a folder in HA under

/media/mp3

(The media folder already exists, you would want to add a sub folder to that, or at least I did, to keep your OCD happy.)
When I want to use an MP3, the path is

media-source://media_source/local/mp3/Ships_Bell_4.mp3

Adjust as you desire, but that is a basic version of mine.
Longer version in here: HA Config

GitHub

My HA Configuration... This is what I run for production in my house. - SirGoodenough/Home-Assistant-Config

#

You might have a different sub folder name than mp3, but the principal is the same.

warm ferry
#

seems i have no idea what caused this issue but i was serving the file via https link as when i set them up like 5 years ago thats how i did it but now /media/local/ is working fine even externally no https needed

restive kraken
#

How I did it 😄