From 406b1ede8096e4ff2efebffd0509d818a53e50f0 Mon Sep 17 00:00:00 2001 From: epifeny Date: Sun, 18 Jan 2026 21:58:55 +0000 Subject: [PATCH] add monitor tags to ntfy tags array for automation tools adds uptime kuma monitor tags to the ntfy notification tags array alongside status indicators like red_circle/green_circle. this lets automation tools like Tasker access monitor tags directly. - adds monitor tag names to tags array when they exist - non-breaking change, existing tags are preserved - no user config needed, works automatically --- server/notification-providers/ntfy.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/notification-providers/ntfy.js b/server/notification-providers/ntfy.js index ac9ae8e75..d0af8629d 100644 --- a/server/notification-providers/ntfy.js +++ b/server/notification-providers/ntfy.js @@ -57,6 +57,13 @@ class Ntfy extends NotificationProvider { status = "Up"; } } + + // Add monitor tags to ntfy tags array for automation tools (e.g., Tasker) + if (monitorJSON && monitorJSON.tags && Array.isArray(monitorJSON.tags)) { + const monitorTagNames = monitorJSON.tags.map((tag) => tag.name); + tags = tags.concat(monitorTagNames); + } + let data = { topic: notification.ntfytopic, message: heartbeatJSON.msg,