mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
49_SSCam: 3.7.0, new delPreset command, minor fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@16498 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a6eaff4227
commit
10afbccd7f
@ -574,7 +574,7 @@ sub SSCam_Set($@) {
|
||||
((ReadingsVal("$name", "CapPTZDirections", 0) > 0) ? "move"." " : "").
|
||||
((ReadingsVal("$name", "CapPTZPan", "false") ne "false") ? "runPatrol:".ReadingsVal("$name", "Patrols", "")." " : "").
|
||||
((ReadingsVal("$name", "CapPTZPan", "false") ne "false") ? "goPreset:".ReadingsVal("$name", "Presets", "")." " : "").
|
||||
((ReadingsVal("$name", "CapPTZAbs", "false") ne "false") ? "goAbsPTZ"." " : "").
|
||||
(ReadingsVal("$name", "CapPTZAbs", 0) ? "goAbsPTZ"." " : "").
|
||||
((ReadingsVal("$name", "CapPTZDirections", 0) > 0) ? "move"." " : "");
|
||||
} else {
|
||||
# setlist für SVS Devices
|
||||
@ -3766,7 +3766,7 @@ sub SSCam_camop_parse ($) {
|
||||
my $pnumber = delete($hash->{HELPER}{PNUMBER});
|
||||
my $pname = delete($hash->{HELPER}{PNAME});
|
||||
my $pspeed = delete($hash->{HELPER}{PSPEED});
|
||||
$pspeed = $pspeed?$pspeed:"n.a.";
|
||||
$pspeed = $pspeed?$pspeed:"not set";
|
||||
# Logausgabe
|
||||
Log3($name, 3, "$name - Camera \"$camname\" preset \"$pname\" was saved to number $pnumber with speed $pspeed");
|
||||
SSCam_getptzlistpreset($hash);
|
||||
|
Loading…
Reference in New Issue
Block a user