mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
49_SSCam: contrib 8.13.2
git-svn-id: https://svn.fhem.de/fhem/trunk@19140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6cfb8bbcb1
commit
ea50574455
@ -1976,13 +1976,14 @@ return;
|
|||||||
sub SSCam_myVersion($) {
|
sub SSCam_myVersion($) {
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
my $actvs = "";
|
my $actvs = 0;
|
||||||
|
|
||||||
my @vl = split (/-/,ReadingsVal($name, "SVSversion", ""),2);
|
my @vl = split (/-/,ReadingsVal($name, "SVSversion", ""),2);
|
||||||
if(@vl) {
|
if(@vl) {
|
||||||
$actvs = $vl[0];
|
$actvs = $vl[0];
|
||||||
$actvs =~ s/\.//g;
|
$actvs =~ s/\.//g;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $actvs;
|
return $actvs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user