How can I send a pictures with matrix Integration?

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?

22 points · 6 comments · view on lemmy.world

6 Comments

ISometimesAdmin@the.coolest.zone · 8 pts · 2y (5 replies)

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.

boebbele@feddit.de · 3 pts · 2y (4 replies)

yes, I did that.

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

boebbele@feddit.de · 6 pts · 2y (3 replies)

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...

lionel@toot.coupou.fr · 2 pts · 2y (2 replies)

@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?

ISometimesAdmin@the.coolest.zone · 1 pts · 2y

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.

boebbele@feddit.de · 1 pts · 2y

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