this post was submitted on 24 Mar 2024
21 points (92.0% liked)

homeassistant

11878 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I always use xmpp to send notifications via webhook. Now I would like to test matrix. I installed the integration and it works to send text messages. Unfortunately I can't send pictures (png). what am I doing wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 7 months ago (5 children)

If you need to include a file from an external folder in your notifications, you will have to list the source folder as allowed.

https://www.home-assistant.io/integrations/matrix/

This applies to you.

[–] [email protected] 3 points 7 months ago (4 children)

yes, I did that.

I can send a jpg in this folder. But no png.

[–] [email protected] 6 points 7 months ago (3 children)

I have solved the problem. The png files had root as owner. chown solved the problem.

This never bothered xmpp. matrix seems to be very sensitive...

[–] [email protected] 2 points 7 months ago (2 children)

@boebbele
Glad you solved it.

I learned there was a homeassistant matrix integration by reading your post and tried it bit could not make it work, I always have an authentication error.

Did you use the core integration or did you use one from hacs?
Also do you use matrix.org or a custom matrix server?

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

I use the core Integration (yaml). I'm on tchncs.de

[–] [email protected] 1 points 7 months ago

If you're having issues with the core matrix integration, please file a bug! You never know who else might be having the same issue.