mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
49_SSCam: V7.0.1, enable/disable issue
git-svn-id: https://svn.fhem.de/fhem/trunk@17219 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9e42db3bf0
commit
d5c2ae386f
@ -2477,8 +2477,6 @@ sub SSCam_camenable ($) {
|
||||
RemoveInternalTimer($hash, "SSCam_camenable");
|
||||
return if(IsDisabled($name));
|
||||
|
||||
# if (ReadingsVal("$name", "Availability", "disabled") eq "enabled") {return;} # Kamera ist bereits enabled
|
||||
|
||||
if ($hash->{HELPER}{ACTIVE} eq "off") {
|
||||
# eine Kamera aktivieren
|
||||
Log3($name, 4, "$name - Enable Camera $camname");
|
||||
@ -2508,8 +2506,6 @@ sub SSCam_camdisable ($) {
|
||||
RemoveInternalTimer($hash, "SSCam_camdisable");
|
||||
return if(IsDisabled($name));
|
||||
|
||||
# if (ReadingsVal("$name", "Availability", "enabled") eq "disabled") {return;} # Kamera ist bereits disabled
|
||||
|
||||
if ($hash->{HELPER}{ACTIVE} eq "off" and ReadingsVal("$name", "Record", "Start") ne "Start") {
|
||||
# eine Kamera deaktivieren
|
||||
Log3($name, 4, "$name - Disable Camera $camname");
|
||||
|
Loading…
x
Reference in New Issue
Block a user