Hello
I use Gotify for severall service in my Home network. And i wonder if omv can send Notifications to Gotify. I dont know how easy it is to setup but maybee some has done it? In the forum i found telegram/Singnal so far and email obvious.
Hello
I use Gotify for severall service in my Home network. And i wonder if omv can send Notifications to Gotify. I dont know how easy it is to setup but maybee some has done it? In the forum i found telegram/Singnal so far and email obvious.
Is this still up to date? Would be interested in a solution as well
/edit:
found this: https://github.com/4oo4/email2gotify
Check out this to easily integrate whatever service as notification target.
cool! Thanks for the hint to the docs.
I put a small script in /usr/share/openmediavault/notification/sink.d
Gotify runs in a docker-container and puts its http-port 80 to 4080 at the host
98gotify-file:
#!/bin/sh
nachricht=$(cat $OMV_NOTIFICATION_MESSAGE_FILE)
curl "http://localhost:4080/message?token=A7qMnMQSph8UxK6" -F "message=$nachricht" -F "title=$OMV_NOTIFICATION_SUBJECT"
and made this executable with chmod +x 98gotify
output in gotify:
Working nicely, thanks!
Made a script with more idiomatic approach, using omv-set.
Hope this gist helps
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!