2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

98_Twilight: logging eliminated

git-svn-id: https://svn.fhem.de/fhem/trunk@8588 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63 2015-05-16 19:04:19 +00:00
parent 576862a961
commit fcf39c6d85

View File

@ -416,7 +416,7 @@ sub Twilight_fireEvent($)
if ($hash->{TW}{$nextEvent}{TIME} ne "nan") {
$nextEventTime = FmtTime($hash->{TW}{$nextEvent}{TIME});
Log3 $hash, 3,
Log3 $hash, 4,
sprintf ("[$hash->{NAME}] %-10s %-08s ", $event, FmtTime($eventTime)).
sprintf ("===> %-10s %-08s ", $nextEvent, $nextEventTime).
sprintf ("===> state/light/deg==$state/$light/%+.1f°", $deg);
@ -427,7 +427,7 @@ sub Twilight_fireEvent($)
my $doTrigger = !(defined($hash->{LOCAL})) && ( abs($delta)<6 || $swip && $state gt $oldState);
Log3 $hash, 3, "swip-delta-oldState-doTrigger===>$swip/$delta/$oldState/$doTrigger";
#Log3 $hash, 3, "swip-delta-oldState-doTrigger===>$swip/$delta/$oldState/$doTrigger";
readingsBeginUpdate($hash);
readingsBulkUpdate ($hash, "state", $state);