- 0
оповещения на внешний сервис типа ntfy.sh (curl)
-
Recently Browsing 0 members
- No registered users viewing this page.
This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.
Question
Ivanero
Реализовать выбор типов событий для оповещения (переключалки/галочки), включая кстати и SMS (чтобы форвардить их) и указывать тип/протокол оповещений (помимо просто вала всех событий как сейчас в Syslog).
Пример с ntfy.sh самый простой и конечный для потребителя без ИТ-подготовок и инфраструктуре типа "разверни где-то syslog, пошамань в VPS на форварды и тд".
https://docs.ntfy.sh/publish/
Example from site:
curl ntfy.sh/mydoorbell -H "Click: https://home.nest.com/" -H "Attach: https://nest.com/view/yAxkasd.jpg" -H "Actions: http, Open door, https://api.nest.com/open/yAxkasd, clear=true" -H "Email: phil@example.com" -d "There's someone at the door. 🐶"
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.