mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 14:04:15 +00:00
49_SSCam: contrib 8.4.2
git-svn-id: https://svn.fhem.de/fhem/trunk@18209 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8547d97369
commit
4177aa120f
@ -660,16 +660,6 @@ sub SSCam_Attr($$$$) {
|
|||||||
InternalTimer(gettimeofday()+1.0, "SSCam_wdpollcaminfo", $hash, 0);
|
InternalTimer(gettimeofday()+1.0, "SSCam_wdpollcaminfo", $hash, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $aName eq 'snapEmailTxt' ) {
|
|
||||||
my %specials= (
|
|
||||||
"%CAM" => $name,
|
|
||||||
"%DATE" => $name,
|
|
||||||
"%TIME" => $name,
|
|
||||||
);
|
|
||||||
my $err = perlSyntaxCheck($aVal, %specials);
|
|
||||||
return $err if($err);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($cmd eq "set") {
|
if ($cmd eq "set") {
|
||||||
if ($aName =~ m/httptimeout|snapGalleryColumns|rectime|pollcaminfoall/) {
|
if ($aName =~ m/httptimeout|snapGalleryColumns|rectime|pollcaminfoall/) {
|
||||||
unless ($aVal =~ /^\d+$/) { return " The Value for $aName is not valid. Use only figures 1-9 !";}
|
unless ($aVal =~ /^\d+$/) { return " The Value for $aName is not valid. Use only figures 1-9 !";}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user