debug stuff
This commit is contained in:
@ -768,7 +768,8 @@ sub WriteReadings {
|
||||
if ( defined( $propertie->{value} )
|
||||
&& $decode_json->{abilities}[$abilities]{name} eq 'watering'
|
||||
&& $propertie->{value}{duration} > 0 ){
|
||||
my $dt = Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp}, "%Y-%m-%d %H:%M:%S");
|
||||
Log3 $name, 2, "[DDebug] " . RigReadingsValue($hash, Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp});
|
||||
my $dt = RigReadingsValue($hash, Time::Piece::localtime->strptime( $decode_json->{abilities}[$abilities]{timestamp}), "%Y-%m-%d %H:%M:%S");
|
||||
Log3 $name, 2, "[DEBUG] $dt";
|
||||
my $ndt = Time::Piece::localtime->new;
|
||||
Log3 $name, 2, "[DEBUG] $ndt";
|
||||
|
Reference in New Issue
Block a user