wow, nice. The Gotify web ui will render a jpg if provided along with the message.
I tested the beta and I’m getting similar notifications to yours; i.e. without jpg. Neither on the phone nor webrowser.
To send a jpg in gotify it uses the extra parameters. Check yellow highlighted text in the link.
For example when sending a doubletake message via HA using gotify my message is as follows:
message: >
{{trigger.payload_json['match']['name']|title}} detected with confidence {{trigger.payload_json['match']['confidence']}}%
![Camera Image](http://192.168.1.100:3020/api/storage/matches/{{trigger.payload_json['match']['filename']}})
Top line is a the message. Bottom line is the jpg in the format ![](img url)
This is how the gotify component is set up in the notify.yaml in HA
- platform: rest
name: juan_gotify
resource: https://goti.<>.com/message
method: POST_JSON
headers:
X-Gotify-Key: !secret gotify_frigate_key
message_param_name: message
title_param_name: title
data:
priority: 6
extras:
client::display:
contentType: "text/markdown"
The method needs to be POST_JSON in HA for the jpg to download.
I hope I’ve help clarify.
I think your basic message is sufficient. I appreciate the more options you introduce the more maintenance work.
I apologise for repeating the subject, but the matches folder accessibility is a limitation.
As far as I can understand the file can only be made accessible externally via a reverse proxy with https, unless the port is forwarded and open, which would give full access to doubletake and would stop working when your ip changes.
I use nginx proxy manager and I can proxy doubletake, but then I have to set up an nginx password to prevent unwanted access to the ui.
When i do this, the message cant download the jpg.
In home assistant, the site is secured itself, but the the www folder is exposed regardless.