💾 Archived View for g.dumke.me › log › 2021-03-14OfflineGer%C3%A4tebeiOpenhabanzeigen.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

2021-03-14 - Offline Geräte bei Openhab anzeigen

Heute möchte ich meine Offline-Geräte bei Openhab anzeigen lassen. Ich habe da einen guten

Link

im Forum gefunden.

Die finale Regel lautet dann:

val telegramAction = getActions("telegram","telegram:telegramBot:LuisenBot")


rule "offline Netzwerk"
when
    Member of gMonitoring changed to UNDEF
then
    var String message = "the following item is offline: " + triggeringItem.label
    logInfo("monitoring rule", message)
    
    telegramAction.sendTelegram(358282973L, "Device offline alert ! %s", message)
end