Log Debug

This commit is contained in:
Sebastian 2022-05-06 12:19:15 +02:00
parent c3620aa017
commit 480946f9be
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
debug ausgabe
add log

View File

@ -741,6 +741,8 @@ sub WriteReadings {
. $r,
RigReadingsValue( $hash, $v )
);
Log3 $name, 3, "[DEBUG] - GardenaSmartDevice ($name) Ventil $propertie->{name} Duration: $v";
}
}
}
@ -882,7 +884,7 @@ sub setState {
# ... Bewässerung aktiv. Zeitpläne dauerhaft pausiert.
# ... geschlossen. Zeitpläne aktiv (bzw. s.o.)
# ... geschlossen. Zeitpläne dauerhaft pausiert.
# ... offline
# ... offlinen
my $activ_watering = 0;
if ( AttrVal( $name, 'model', 'unknown' ) eq 'ic24' ){
my $opened_ventils = 0;

View File

@ -1,2 +1,2 @@
UPD 2022-05-06_12:01:55 49520 FHEM/73_GardenaSmartBridge.pm
UPD 2022-05-06_12:10:31 65903 FHEM/74_GardenaSmartDevice.pm
UPD 2022-05-06_12:19:10 66027 FHEM/74_GardenaSmartDevice.pm