From 711e22a430e8cfde45cc1777628aa7deefbf12b5 Mon Sep 17 00:00:00 2001 From: KernSani Date: Tue, 6 Apr 2021 18:57:30 +0000 Subject: [PATCH] 69_SoftliqCloud.pm: Small fix to avoid "garbage" message in Log. git-svn-id: https://svn.fhem.de/fhem/trunk@24164 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/69_SoftliqCloud.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/69_SoftliqCloud.pm b/fhem/FHEM/69_SoftliqCloud.pm index 4bf696e14..20a22022a 100644 --- a/fhem/FHEM/69_SoftliqCloud.pm +++ b/fhem/FHEM/69_SoftliqCloud.pm @@ -1664,8 +1664,8 @@ sub wsStart { DevIo_SimpleWrite( $hash, '{"protocol":"json","version":1}', 2 ); #succesfully connected - start a timer - #my $next = int( gettimeofday() ) + MINUTESECONDS; - #InternalTimer( $next, 'FHEM::Gruenbeck::SoftliqCloud::wsClose', $hash, 0 ); + my $next = int( gettimeofday() ) + MINUTESECONDS; + InternalTimer( $next, 'FHEM::Gruenbeck::SoftliqCloud::wsClose', $hash, 0 ); return; } @@ -1909,6 +1909,7 @@ sub wsReadDevIo { return; } $buf =~ s///xsm; + $buf =~ s/\\x{1e}//xsm; if ( length($buf) == 0 ) { return; }