@@ -378,6 +378,7 @@ _mqttwarn_ supports a number of services (listed alphabetically below):
378
378
* [mythtv](# mythtv)
379
379
* [nntp](# nntp)
380
380
* [nsca](# nsca)
381
+ * [ntfy](# ntfy)
381
382
* [desktopnotify](# desktopnotify)
382
383
* [osxsay](# osxsay)
383
384
* [pastebinpub](# pastebinpub)
@@ -562,7 +563,7 @@ Apprise to E-Mail, an HTTP endpoint, and a Discord channel.
562
563
563
564
` ` ` ini
564
565
[defaults]
565
- launch = apprise-mail, apprise-json, apprise-discord
566
+ launch = apprise-mail, apprise-json, apprise-discord, apprise-ntfy
566
567
567
568
[config:apprise-mail]
568
569
; Dispatch message as e-mail.
@@ -589,9 +590,16 @@ baseuri = 'json://localhost:1234/mqtthook'
589
590
module = ' apprise'
590
591
baseuri = ' discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js'
591
592
593
+ [config:apprise-ntfy]
594
+ ; Dispatch message to ntfy.
595
+ ; https://github.com/caronc/apprise/wiki/URLBasics
596
+ ; https://github.com/caronc/apprise/wiki/Notify_ntfy
597
+ module = ' apprise_single'
598
+ baseuri = ' ntfy://user:password/ntfy.example.org/topic1/topic2'
599
+
592
600
[apprise-single-test]
593
601
topic = apprise/single/#
594
- targets = apprise-mail:demo, apprise-json, apprise-discord
602
+ targets = apprise-mail:demo, apprise-json, apprise-discord, apprise-ntfy
595
603
format = Alarm from {device}: {payload}
596
604
title = Alarm from {device}
597
605
` ` `
@@ -624,6 +632,7 @@ module = 'apprise_multi'
624
632
targets = {
625
633
' demo-http' : [ { ' baseuri' : ' json://localhost:1234/mqtthook' }, { ' baseuri' : ' json://daq.example.org:5555/foobar' } ],
626
634
' demo-discord' : [ { ' baseuri' : ' discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js' } ],
635
+ ' demo-ntfy' : [ { ' baseuri' : ' ntfy://user:password/ntfy.example.org/topic1/topic2' } ],
627
636
' demo-mailto' : [ {
628
637
' baseuri' : ' mailtos://smtp_username:smtp_password@mail.example.org' ,
629
638
' recipients' : [' foo@example.org' , ' bar@example.org' ],
@@ -634,7 +643,7 @@ targets = {
634
643
635
644
[apprise-multi-test]
636
645
topic = apprise/multi/#
637
- targets = apprise-multi:demo-http, apprise-multi:demo-discord, apprise-multi:demo-mailto
646
+ targets = apprise-multi:demo-http, apprise-multi:demo-discord, apprise-multi:demo-mailto, apprise-multi:demo-ntfy
638
647
format = Alarm from {device}: {payload}
639
648
title = Alarm from {device}
640
649
` ` `
@@ -2026,6 +2035,15 @@ def check_temperature(data):
2026
2035
Requires:
2027
2036
* [pynsca](https://github.com/djmitche/pynsca).
2028
2037
2038
+
2039
+ # ## `ntfy`
2040
+
2041
+ Support for [ntfy] is provided through Apprise, see [apprise_single](# apprise_single)
2042
+ and [apprise_multi](# apprise_multi).
2043
+
2044
+ [ntfy]: https://ntfy.sh/
2045
+
2046
+
2029
2047
# ## `desktopnotify`
2030
2048
2031
2049
It invokes desktop notifications, using the fine
0 commit comments