this post was submitted on 24 Mar 2024
23 points (96.0% liked)
homeassistant
12084 readers
4 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I know how to send images with xmpp. The problem is that the file name changes with every new snapshot. The entity image.ipcamsued_Person contains this current snapshot.
The question now is: how can I send the contents of this entity via xmpp. Do I have to read it out first and save it as a jpg?
Ok! So if you look at the attributes for
image.ipcamsued_Person
, what do you find listed? Hopefully a file path will be visibleI managed it:
Nice one! JSON and templates together are unwieldy AF, you’re braver than me