2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

49_SSCam: contrib 8.4.2

git-svn-id: https://svn.fhem.de/fhem/trunk@18208 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-01-10 20:45:10 +00:00
parent 28dc072172
commit 8547d97369

View File

@ -659,6 +659,16 @@ sub SSCam_Attr($$$$) {
RemoveInternalTimer($hash, "SSCam_wdpollcaminfo");
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 ($aName =~ m/httptimeout|snapGalleryColumns|rectime|pollcaminfoall/) {