mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
49_SSCam.pm: minor fix
git-svn-id: https://svn.fhem.de/fhem/trunk@23781 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6fa288b297
commit
414fe97a32
@ -3,7 +3,7 @@
|
||||
#########################################################################################################################
|
||||
# 49_SSCam.pm
|
||||
#
|
||||
# (c) 2015-2020 by Heiko Maaz
|
||||
# (c) 2015-2021 by Heiko Maaz
|
||||
# e-mail: Heiko dot Maaz at t-online dot de
|
||||
#
|
||||
# This Module can be used to operate Cameras defined in Synology Surveillance Station 7.0 or higher.
|
||||
@ -184,6 +184,7 @@ BEGIN {
|
||||
|
||||
# Versions History intern
|
||||
my %vNotesIntern = (
|
||||
"9.8.4" => "20.02.2021 sub Define minor fix ",
|
||||
"9.8.3" => "29.11.2020 fix cannot send snaps/recs if snapTelegramTxt + snapChatTxt and no cacheType (cacheType=internal) is set ",
|
||||
"9.8.2" => "04.10.2020 use showStoredCredentials from SMUtils ",
|
||||
"9.8.1" => "28.09.2020 align getApiSites_Parse to other syno modules ",
|
||||
@ -841,9 +842,8 @@ sub Define {
|
||||
# define CamCP1 SSCAM Carport 192.168.2.20 [5000]
|
||||
# ($hash) [1] [2] [3] [4]
|
||||
#
|
||||
my $hash = shift;
|
||||
my $def = shift;
|
||||
my $name = $hash->{NAME};
|
||||
my ($hash, $def) = @_;
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
return "Error: Perl module ".$MMJSON." is missing. Install it on Debian with: sudo apt-get install libjson-perl" if($MMJSON);
|
||||
|
||||
@ -1269,7 +1269,7 @@ return $ret;
|
||||
################################################################
|
||||
sub Attr {
|
||||
my ($cmd,$name,$aName,$aVal) = @_;
|
||||
my $hash = $defs{$name};
|
||||
my $hash = $defs{$name};
|
||||
|
||||
my ($do,$val,$cache);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user