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

homeassistant

12129 readers
11 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 2 years 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
[–] ISometimesAdmin@the.coolest.zone 8 points 8 months ago (1 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.

[–] boebbele@feddit.de 3 points 8 months ago (1 children)

yes, I did that.

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

[–] boebbele@feddit.de 6 points 8 months ago (1 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...

[–] lionel@toot.coupou.fr 2 points 8 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?

[–] boebbele@feddit.de 1 points 8 months ago* (last edited 8 months ago)

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

[–] ISometimesAdmin@the.coolest.zone 1 points 8 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.