mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
49_SSCam: enhanced log entries of snapinfos with debugactivetoken
git-svn-id: https://svn.fhem.de/fhem/trunk@19470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
62fe7bb3ae
commit
8113e5ceba
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 49_SSCam: enhanced log entries of snapinfos with debugactivetoken
|
||||||
- change: 49_SSCam: attributes rec/snapemailtxt, rec/snaptelegramtxt may
|
- change: 49_SSCam: attributes rec/snapemailtxt, rec/snaptelegramtxt may
|
||||||
contain ":", StmKey quoted depending on attribute
|
contain ":", StmKey quoted depending on attribute
|
||||||
noQuotesForSID (Forum: #45671.msg938236.html#msg938236)
|
noQuotesForSID (Forum: #45671.msg938236.html#msg938236)
|
||||||
|
@ -48,6 +48,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
|||||||
|
|
||||||
# Versions History intern
|
# Versions History intern
|
||||||
our %SSCam_vNotesIntern = (
|
our %SSCam_vNotesIntern = (
|
||||||
|
"8.13.6" => "26.05.2019 enhanced log entries of snapinfos with debugactivetoken ",
|
||||||
"8.13.5" => "23.05.2019 StmKey quoted depending on attr noQuotesForSID (Forum: https://forum.fhem.de/index.php/topic,45671.msg938236.html#msg938236), ".
|
"8.13.5" => "23.05.2019 StmKey quoted depending on attr noQuotesForSID (Forum: https://forum.fhem.de/index.php/topic,45671.msg938236.html#msg938236), ".
|
||||||
"autoplay muted of hls-StreamDev",
|
"autoplay muted of hls-StreamDev",
|
||||||
"8.13.4" => "21.05.2019 rec/snapemailtxt, rec/snaptelegramtxt can contain \":\", commandref revised ",
|
"8.13.4" => "21.05.2019 rec/snapemailtxt, rec/snaptelegramtxt can contain \":\", commandref revised ",
|
||||||
@ -5249,6 +5250,9 @@ sub SSCam_camop_parse ($) {
|
|||||||
|
|
||||||
my $num = $hash->{HELPER}{SNAPNUM}; # Gesamtzahl der auszulösenden Schnappschüsse
|
my $num = $hash->{HELPER}{SNAPNUM}; # Gesamtzahl der auszulösenden Schnappschüsse
|
||||||
my $ncount = $hash->{HELPER}{SNAPNUMCOUNT}; # Restzahl der auszulösenden Schnappschüsse
|
my $ncount = $hash->{HELPER}{SNAPNUMCOUNT}; # Restzahl der auszulösenden Schnappschüsse
|
||||||
|
if (AttrVal($name,"debugactivetoken",0)) {
|
||||||
|
Log3($name, 1, "$name - Snapshot number ".($num-$ncount+1)." (ID: $snapid) of total $num snapshots with transaction-ID: $tac done");
|
||||||
|
}
|
||||||
$ncount--; # wird vermindert je Snap
|
$ncount--; # wird vermindert je Snap
|
||||||
my $lag = $hash->{HELPER}{SNAPLAG}; # Zeitverzögerung zwischen zwei Schnappschüssen
|
my $lag = $hash->{HELPER}{SNAPLAG}; # Zeitverzögerung zwischen zwei Schnappschüssen
|
||||||
my $emtxt = $hash->{HELPER}{SMTPMSG}?$hash->{HELPER}{SMTPMSG}:""; # Text für Email-Versand
|
my $emtxt = $hash->{HELPER}{SMTPMSG}?$hash->{HELPER}{SMTPMSG}:""; # Text für Email-Versand
|
||||||
@ -5263,6 +5267,9 @@ sub SSCam_camop_parse ($) {
|
|||||||
|
|
||||||
# Anzahl und Size für Schnappschußabruf bestimmen
|
# Anzahl und Size für Schnappschußabruf bestimmen
|
||||||
my ($slim,$ssize) = SSCam_snaplimsize($hash);
|
my ($slim,$ssize) = SSCam_snaplimsize($hash);
|
||||||
|
if (AttrVal($name,"debugactivetoken",0)) {
|
||||||
|
Log3($name, 1, "$name - start get snapinfo of last $slim snapshots with transaction-ID: $tac");
|
||||||
|
}
|
||||||
|
|
||||||
if(!$hash->{HELPER}{TRANSACTION}) {
|
if(!$hash->{HELPER}{TRANSACTION}) {
|
||||||
# Token freigeben vor nächstem Kommando wenn keine Transaktion läuft
|
# Token freigeben vor nächstem Kommando wenn keine Transaktion läuft
|
||||||
|
Loading…
x
Reference in New Issue
Block a user