Hi all,
Sending images doesn’t work with ntfy or gotify.
When I try to send a message trough ntfy or gotify, the images don’t get delivered.
The message and title does work.
I have tested this with ntfy and a gotify server, and both have the same issue.
This is my configuration.yaml:
notify:
- name: "gotify_1"
platform: rest
resource: https://domainname/message
method: POST_JSON
headers:
X-Gotify-Key: *******
Content-Type: application/json
platform: gotify, ntfy or rest makes no difference.
This is my script for gotify:
service: notify.gotify_1
data:
message: This is a test message
data:
priority: 10
extras:
bigImageUrl: https://placekitten.com/400/300
This is on my gotify server:
2024-06-21T07:37:19Z | 200 | 19.87588ms | IP | POST “/message”
2024-06-21T07:37:20Z | 200 | 179.841µs | IP | GET “/static/defaultapp.png”
2024-06-21T07:37:26Z | 404 | 29.403µs | IP | GET “/home/ws?since=none”
But showing only the text
What am I doing wrong?
When I send the notifications via the companion app, the images do work.