mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
add triggered reading to watchdog
git-svn-id: https://svn.fhem.de/fhem/trunk@1231 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4817d448fa
commit
c3ec72a24b
@ -119,6 +119,10 @@ watchdog_Trigger($)
|
||||
Log(3, "Watchdog $ntfy->{NAME} triggered");
|
||||
my $exec = SemicolonEscape($ntfy->{CMD});;
|
||||
$ntfy->{STATE} = "triggered";
|
||||
|
||||
$ntfy->{READINGS}{Triggered}{TIME} = TimeNow();
|
||||
$ntfy->{READINGS}{Triggered}{VAL} = $ntfy->{STATE};
|
||||
|
||||
my $ret = AnalyzeCommandChain(undef, $exec);
|
||||
Log 3, $ret if($ret);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user