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

homeassistant

12019 readers
81 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?

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 7 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.

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

yes, I did that.

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

[–] [email protected] 6 points 7 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...

[–] [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

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.

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

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