@@ -377,6 +377,7 @@ _mqttwarn_ supports a number of services (listed alphabetically below):
377
377
* [mythtv](# mythtv)
378
378
* [nntp](# nntp)
379
379
* [nsca](# nsca)
380
+ * [ntfy](# ntfy)
380
381
* [desktopnotify](# desktopnotify)
381
382
* [osxsay](# osxsay)
382
383
* [pastebinpub](# pastebinpub)
@@ -547,7 +548,7 @@ Apprise to E-Mail, an HTTP endpoint, and a Discord channel.
547
548
548
549
` ` ` ini
549
550
[defaults]
550
- launch = apprise-mail, apprise-json, apprise-discord
551
+ launch = apprise-mail, apprise-json, apprise-discord, apprise-ntfy
551
552
552
553
[config:apprise-mail]
553
554
; Dispatch message as e-mail.
@@ -574,9 +575,16 @@ baseuri = 'json://localhost:1234/mqtthook'
574
575
module = ' apprise'
575
576
baseuri = ' discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js'
576
577
578
+ [config:apprise-ntfy]
579
+ ; Dispatch message to ntfy.
580
+ ; https://github.com/caronc/apprise/wiki/URLBasics
581
+ ; https://github.com/caronc/apprise/wiki/Notify_ntfy
582
+ module = ' apprise_single'
583
+ baseuri = ' ntfy://user:password/ntfy.example.org/topic1/topic2'
584
+
577
585
[apprise-single-test]
578
586
topic = apprise/single/#
579
- targets = apprise-mail:demo, apprise-json, apprise-discord
587
+ targets = apprise-mail:demo, apprise-json, apprise-discord, apprise-ntfy
580
588
format = Alarm from {device}: {payload}
581
589
title = Alarm from {device}
582
590
` ` `
@@ -612,6 +620,7 @@ module = 'apprise_multi'
612
620
targets = {
613
621
' demo-http' : [ { ' baseuri' : ' json://localhost:1234/mqtthook' }, { ' baseuri' : ' json://daq.example.org:5555/foobar' } ],
614
622
' demo-discord' : [ { ' baseuri' : ' discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js' } ],
623
+ ' demo-ntfy' : [ { ' baseuri' : ' ntfy://user:password/ntfy.example.org/topic1/topic2' } ],
615
624
' demo-mailto' : [ {
616
625
' baseuri' : ' mailtos://smtp_username:smtp_password@mail.example.org' ,
617
626
' recipients' : [' foo@example.org' , ' bar@example.org' ],
@@ -622,7 +631,7 @@ targets = {
622
631
623
632
[apprise-multi-test]
624
633
topic = apprise/multi/#
625
- targets = apprise-multi:demo-http, apprise-multi:demo-discord, apprise-multi:demo-mailto
634
+ targets = apprise-multi:demo-http, apprise-multi:demo-discord, apprise-multi:demo-mailto, apprise-multi:demo-ntfy
626
635
format = Alarm from {device}: {payload}
627
636
title = Alarm from {device}
628
637
` ` `
@@ -2016,6 +2025,15 @@ def check_temperature(data):
2016
2025
Requires:
2017
2026
* [pynsca](https://github.com/djmitche/pynsca).
2018
2027
2028
+
2029
+ # ## `ntfy`
2030
+
2031
+ Support for [ntfy] is provided through Apprise, see [apprise_single](# apprise_single)
2032
+ and [apprise_multi](# apprise_multi).
2033
+
2034
+ [ntfy]: https://ntfy.sh/
2035
+
2036
+
2019
2037
# ## `desktopnotify`
2020
2038
2021
2039
It invokes desktop notifications, using the fine
0 commit comments