Diese Rule funktioniert nun so wie sie soll.udo1toni hat geschrieben: ↑15. Sep 2023 10:59Code: Alles auswählen
rule "Status Shelly 6a6183 not online" when Thing "shelly:shellyplugs:6a6183" changed from ONLINE then logInfo("fridgealarm","Steckdose nicht online, Starte Timer für Alarm") // Meldung loggern und tFridgeAlarm = createTimer(now.plusMinutes(10), [| // Timer starten sendTelegram("Sascha","Steckdose Keller offline") sendTelegram("Jenny","Steckdose Keller offline") tFridgeAlarm = null ]) end rule "Status Shelly 6a6183 online" when Thing "shelly:shellyplugs:6a6183" changed to ONLINE then logInfo("fridgealarm","Steckdose wieder ONLINE, Timer abgebrochen") // Meldung loggen und tFridgeAlarm?.cancel // Timer abbrechen, falls vorhanden tFridgeAlarm = null end
Vielen Dank.
Dein Post ist zweimal, was ist da passiert?
Zu meiner Cron Tab schon ne Idee?
Schönen Samstag