diff --git a/21_HEOSPlayer.pm b/21_HEOSPlayer.pm index c81a126..881e29d 100644 --- a/21_HEOSPlayer.pm +++ b/21_HEOSPlayer.pm @@ -667,7 +667,9 @@ sub HEOSPlayer_Parse($$) { $pid = $message{pid} if( defined($message{pid}) ); $pid = $decode_json->{payload}{pid} if( defined($decode_json->{payload}{pid}) ); + Log3 $name, 4, "HEOSPlayer ($name) PID: $pid"; + $code = abs($pid); $code = $io_hash->{NAME} ."-". $code if( defined($io_hash->{NAME}) );