mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
49_SSCam: set compatibility to SVS version 8.2.9
git-svn-id: https://svn.fhem.de/fhem/trunk@24768 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf8cc6da4b
commit
5fcaaadcd5
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 49_SSCam: set compatibility to SVS version 8.2.9
|
||||||
- bugfix: 76_SMAInverter:fix ETOTAL/LOADTOTAL bug
|
- bugfix: 76_SMAInverter:fix ETOTAL/LOADTOTAL bug
|
||||||
- change: 57_SSCal: compatibility to DSM7
|
- change: 57_SSCal: compatibility to DSM7
|
||||||
- bugfix: 10_WS980: v.1.5.0 fix fhem-crash when autodiscovery fails
|
- bugfix: 10_WS980: v.1.5.0 fix fhem-crash when autodiscovery fails
|
||||||
|
@ -184,6 +184,7 @@ BEGIN {
|
|||||||
|
|
||||||
# Versions History intern
|
# Versions History intern
|
||||||
my %vNotesIntern = (
|
my %vNotesIntern = (
|
||||||
|
"9.10.1" => "18.07.2021 set SVS compatibility to 8.2.9 ",
|
||||||
"9.10.0" => "03.07.2021 change getApiSites_Parse for better simu_SVSversion, new value 8.2.8-xxxx for attr simu_SVSversion ",
|
"9.10.0" => "03.07.2021 change getApiSites_Parse for better simu_SVSversion, new value 8.2.8-xxxx for attr simu_SVSversion ",
|
||||||
"9.9.0" => "21.05.2021 new get command saveLastSnap ",
|
"9.9.0" => "21.05.2021 new get command saveLastSnap ",
|
||||||
"9.8.5" => "22.02.2021 remove sscam_tooltip.js, substitute /fhem by \$FW_ME ",
|
"9.8.5" => "22.02.2021 remove sscam_tooltip.js, substitute /fhem by \$FW_ME ",
|
||||||
@ -629,6 +630,10 @@ my %sdswfn = ( # Fun
|
|||||||
"hls" => {fn => "__switchedHLS" },
|
"hls" => {fn => "__switchedHLS" },
|
||||||
);
|
);
|
||||||
|
|
||||||
|
my %hvada = ( # Funktionshash Version Adaption
|
||||||
|
"a01" => {AUTH => "6" },
|
||||||
|
);
|
||||||
|
|
||||||
my %hsimu = ( # Funktionshash Version Simulation
|
my %hsimu = ( # Funktionshash Version Simulation
|
||||||
"71xxxx-simu" => {AUTH => "4", EXTREC => "2", CAM => "8", SNAPSHOT => "1", PTZ => "4",
|
"71xxxx-simu" => {AUTH => "4", EXTREC => "2", CAM => "8", SNAPSHOT => "1", PTZ => "4",
|
||||||
PRESET => "1", SVSINFO => "5", CAMEVENT => "1", EVENT => "5", VIDEOSTM => "1",
|
PRESET => "1", SVSINFO => "5", CAMEVENT => "1", EVENT => "5", VIDEOSTM => "1",
|
||||||
@ -657,7 +662,7 @@ my %hsimu = ( # Fun
|
|||||||
my $defSlim = 3; # default Anzahl der abzurufenden Schnappschüsse mit snapGallery
|
my $defSlim = 3; # default Anzahl der abzurufenden Schnappschüsse mit snapGallery
|
||||||
my $defColumns = 3; # default Anzahl der Spalten einer snapGallery
|
my $defColumns = 3; # default Anzahl der Spalten einer snapGallery
|
||||||
my $defSnum = "1,2,3,4,5,6,7,8,9,10"; # mögliche Anzahl der abzurufenden Schnappschüsse mit snapGallery
|
my $defSnum = "1,2,3,4,5,6,7,8,9,10"; # mögliche Anzahl der abzurufenden Schnappschüsse mit snapGallery
|
||||||
my $compstat = "8.2.8"; # getestete SVS-Version
|
my $compstat = "8.2.9"; # getestete SVS-Version
|
||||||
my $valZoom = ".++,+,stop,-,--."; # Inhalt des Setters "setZoom"
|
my $valZoom = ".++,+,stop,-,--."; # Inhalt des Setters "setZoom"
|
||||||
my $shutdownInProcess = 0; # Statusbit shutdown
|
my $shutdownInProcess = 0; # Statusbit shutdown
|
||||||
my $todef = 20; # httptimeout default Wert
|
my $todef = 20; # httptimeout default Wert
|
||||||
@ -5322,16 +5327,14 @@ sub getApiSites_Parse {
|
|||||||
###########################################################################################################
|
###########################################################################################################
|
||||||
Log3($name, 4, "$name - ------- Begin of adaption section -------");
|
Log3($name, 4, "$name - ------- Begin of adaption section -------");
|
||||||
|
|
||||||
my @adapts;
|
my $adavs = "a01"; # adaptierte Version
|
||||||
|
|
||||||
# push @adapts, "CAM:8";
|
if($adavs) {
|
||||||
# push @adapts, "PTZ:4";
|
for my $av (sort keys %{$hvada{$adavs}}) {
|
||||||
|
$hash->{HELPER}{API}{$av}{VER} = $hvada{$adavs}{$av};
|
||||||
for my $ada (@adapts) {
|
$hash->{HELPER}{API}{$av}{MOD} = "yes";
|
||||||
my($k,$v) = split ":", $ada;
|
Log3($name, 4, "$name - Version of $hash->{HELPER}{API}{$av}{NAME} adapted to: $hash->{HELPER}{API}{$av}{VER}");
|
||||||
$hash->{HELPER}{API}{$k}{VER} = $v;
|
}
|
||||||
$hash->{HELPER}{API}{$k}{MOD} = "yes";
|
|
||||||
Log3($name, 4, "$name - Version of $hash->{HELPER}{API}{$k}{NAME} adapted to: $hash->{HELPER}{API}{$k}{VER}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Log3($name, 4, "$name - ------- End of adaption section -------");
|
Log3($name, 4, "$name - ------- End of adaption section -------");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user