From a2fdbb2db32162bbc496ad378fa65e6577e1df54 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 23 Nov 2018 08:22:12 +0000 Subject: [PATCH] 49_SSCam: contrib 7.4.0 git-svn-id: https://svn.fhem.de/fhem/trunk@17823 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/49_SSCam.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/DS_Starter/49_SSCam.pm b/fhem/contrib/DS_Starter/49_SSCam.pm index 712f79ac7..74ee2c655 100644 --- a/fhem/contrib/DS_Starter/49_SSCam.pm +++ b/fhem/contrib/DS_Starter/49_SSCam.pm @@ -45,7 +45,7 @@ use HttpUtils; # Versions History intern our %SSCam_vNotesIntern = ( - "7.4.0" => "20.11.2018 new set command \"createReadingsGroup\", versionNotes can process lists like \"2,6\" ", + "7.4.0" => "20.11.2018 new set command \"createReadingsGroup\", versionNotes can process lists like \"2,6\", changed compatibility check ", "7.3.3" => "18.11.2018 change rights decsption in commandRef ", "7.3.2" => "12.11.2018 fix Warning in line 4954, set COMPATIBILITY to 8.2.2 ", "7.3.1" => "31.10.2018 fix connection lost failure if several SSCamSTRM devices are defined and updated by longpoll from same parent device ", @@ -211,7 +211,7 @@ our %SSCam_vHintsExt_de = ( ); # getestete SVS-Version -my $compstat = "8.2.2"; +my $compstat = "8.2"; # Aufbau Errorcode-Hashes (siehe Surveillance Station Web API) my %SSCam_errauthlist = ( @@ -639,6 +639,7 @@ sub SSCam_Set($@) { # setlist für SVS Devices $setlist = "Unknown argument $opt, choose one of ". "credentials ". + "createReadingsGroup ". "extevent:1,2,3,4,5,6,7,8,9,10 ". ($hash->{HELPER}{APIHMMAXVER}?"homeMode:on,off ": ""); } @@ -4979,7 +4980,7 @@ sub SSCam_camop_parse ($) { } # Kompatibilitätscheck - my $avsc = $major.$minor.(($small=~/\d/)?$small:0); + my $avsc = $major.$minor; my $avcomp = $hash->{COMPATIBILITY}; $avcomp =~ s/\.//g;