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,