2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

49_SSCam: contrib 8.6.0

git-svn-id: https://svn.fhem.de/fhem/trunk@18347 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-01-20 09:08:49 +00:00
parent 7cdcafc61b
commit b6504e042f

View File

@ -4980,7 +4980,11 @@ sub SSCam_camop_parse ($) {
readingsEndUpdate($hash, 1);
# Logausgabe
Log3($name, 3, "$name - Snapshot of Camera $camname has been done successfully");
if ($snapid) {
Log3($name, 3, "$name - Snapshot of Camera $camname created. ID: $snapid");
} else {
Log3($name, 1, "$name - Snapshot of Camera $camname probably not created. No ID was delivered.");
}
my $num = $hash->{HELPER}{SNAPNUM}; # Gesamtzahl der auszulösenden Schnappschüsse
@ -7261,7 +7265,7 @@ return ($error);
sub SSCam_rotateReading ($$$$$) {
my ($hash,$readingName,$val,$rotnum,$do_trigger) = @_;
my $name = $hash->{NAME};
#Log3 ($name, 1, "$name -> Rotate \"$readingName\" VAL: $val");
readingsBeginUpdate($hash);
my $o = ReadingsVal($name,$readingName,"n.a.");