mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 22:09:21 +00:00
49_SSCam: contrib 9.3.0
git-svn-id: https://svn.fhem.de/fhem/trunk@22242 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
da6d25ec8f
commit
565a62b06d
@ -5288,6 +5288,8 @@ sub SSCam_camop_parse {
|
|||||||
|
|
||||||
Log3($name, 3, qq{$name - Zoom operation "$hash->{HELPER}{ZOOM}{DIR}:$hash->{HELPER}{ZOOM}{MOVETYPE}" of Camera $camname successfully done} );
|
Log3($name, 3, qq{$name - Zoom operation "$hash->{HELPER}{ZOOM}{DIR}:$hash->{HELPER}{ZOOM}{MOVETYPE}" of Camera $camname successfully done} );
|
||||||
|
|
||||||
|
InternalTimer(gettimeofday()+1.0, "SSCam_setZoom", "$name!_!stop", 0) if($hash->{HELPER}{ZOOM}{MOVETYPE} ne "Stop");
|
||||||
|
|
||||||
} elsif ($OpMode eq "GetRec") {
|
} elsif ($OpMode eq "GetRec") {
|
||||||
my $recid = ReadingsVal("$name", "CamLastRecId", "");
|
my $recid = ReadingsVal("$name", "CamLastRecId", "");
|
||||||
my $createdTm = ReadingsVal("$name", "CamLastRecTime", "");
|
my $createdTm = ReadingsVal("$name", "CamLastRecTime", "");
|
||||||
@ -7161,7 +7163,6 @@ return $cap;
|
|||||||
sub SSCam_IsCapZoom { # Zoomeigenschaft
|
sub SSCam_IsCapZoom { # Zoomeigenschaft
|
||||||
my $hash = shift;
|
my $hash = shift;
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
|
||||||
my $cap = ReadingsVal($name, "CapPTZZoom", "false") ne "false" ? 1 : 0;
|
my $cap = ReadingsVal($name, "CapPTZZoom", "false") ne "false" ? 1 : 0;
|
||||||
|
|
||||||
return $cap;
|
return $cap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user