mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
98_DOIFtools.pm: fixed empty N_timer (Forum 63938.msg642251)
git-svn-id: https://svn.fhem.de/fhem/trunk@14441 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dcb4590d79
commit
f1ed73194b
@ -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.
|
||||||
|
- bugfix: 98_DOIFtools: fixed empty N_timer
|
||||||
- bugfix: 37_Spotify: fixed offset playContextByURI
|
- bugfix: 37_Spotify: fixed offset playContextByURI
|
||||||
- bugfix: 38_CO20: fixed reconnects, improved stability
|
- bugfix: 38_CO20: fixed reconnects, improved stability
|
||||||
- feature: 37_Spotify: album cover, new attr, return error to reading
|
- feature: 37_Spotify: album cover, new attr, return error to reading
|
||||||
|
@ -44,7 +44,7 @@ sub DOIFtools_logWrapper($);
|
|||||||
sub DOIFtoolsCounterReset($);
|
sub DOIFtoolsCounterReset($);
|
||||||
sub DOIFtoolsDeleteStatReadings;
|
sub DOIFtoolsDeleteStatReadings;
|
||||||
|
|
||||||
my @DOIFtools_we =();
|
my @DOIFtools_we = [0,0,0,0,0,0,0,0];
|
||||||
my $DOIFtoolsJSfuncEM = <<'EOF';
|
my $DOIFtoolsJSfuncEM = <<'EOF';
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//functions
|
//functions
|
||||||
@ -569,7 +569,7 @@ sub DOIFtools_Notify($$) {
|
|||||||
my $b;
|
my $b;
|
||||||
for (my $i = 0; $i < 8; $i++) {
|
for (my $i = 0; $i < 8; $i++) {
|
||||||
$DOIFtools_we[$i] = 0;
|
$DOIFtools_we[$i] = 0;
|
||||||
$val = CommandGet(undef,"get $sn days $i");
|
$val = CommandGet(undef,"$sn days $i");
|
||||||
if($val) {
|
if($val) {
|
||||||
($a, $b) = ReplaceEventMap($sn, [$sn, $val], 0);
|
($a, $b) = ReplaceEventMap($sn, [$sn, $val], 0);
|
||||||
$DOIFtools_we[$i] = 1 if($b ne "none");
|
$DOIFtools_we[$i] = 1 if($b ne "none");
|
||||||
@ -739,6 +739,7 @@ sub DOIFtoolsNextTimer {
|
|||||||
}
|
}
|
||||||
$ilook++;
|
$ilook++;
|
||||||
}
|
}
|
||||||
|
Log 1, "DOIFtoolsNextTimer: ".join(" ",@DOIFtools_we);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub DOIFtoolsNxTimer {
|
sub DOIFtoolsNxTimer {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user