I just started trying to use the Matrix Integration, and I seem to have hit a roadblock trying to send an image.
action: notify.matrix_test
metadata: {}
data:
message: "This is the message"
data:
images:
- /local/garage.jpg
The error’s I receive indicated ‘Path not allowed’. The message itself sends just find. Any suggestions would be appreciated.
Logger: homeassistant.components.matrix
Source: components/matrix/__init__.py:468
integration: Matrix (documentation, issues)
First occurred: October 26, 2024 at 9:30:34 PM (31 occurrences)
Last logged: 7:23:41 AM
Path not allowed: https://m.media-amazon.com/images/M/MV5BZTIwYjk2YjItN2UwMS00ZDM2LWE0MGUtN2Y2MDU3ZDc3NTJhXkEyXkFqcGc@._V1_FMjpg_UX1000_.jpg
Path not allowed: /local/garage.jpg
Path not allowed: https://ha.<redacted>.com/local/garage.jpg
Path not allowed: http://<local_ip_redacted>:8123/local/garage.jpg
Path not allowed: /www/garage.jpg
Okay @Schilli , you sent me down the correct path, but with a small consideration. I am currently running Home Assistant in a docker container. After bashing into the container itself, I realized the folder structure for the local www folder begins from insider the /config directory. So, in order to access my local www images, I had to allowlist_external_dirs the /config/www folder: