mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
93__DbRep: error in diffValue if no value was selected
git-svn-id: https://svn.fhem.de/fhem/trunk@12113 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b75899b351
commit
d459fcc29f
@ -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: 93__DbRep: error in diffValue if no value was selected
|
||||||
- feature 93_DbRep: exportToFile to CSV-format, Reading "errortext" added
|
- feature 93_DbRep: exportToFile to CSV-format, Reading "errortext" added
|
||||||
- feature: 73_GasCalculator: System readings are hidden now
|
- feature: 73_GasCalculator: System readings are hidden now
|
||||||
- feature: 73_ElectricityCalculator: System readings are hidden now
|
- feature: 73_ElectricityCalculator: System readings are hidden now
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
###########################################################################################################
|
###########################################################################################################
|
||||||
# Versions History:
|
# Versions History:
|
||||||
#
|
#
|
||||||
|
# 3.7.2 04.09.2016 problem in diffValue fixed if if no value was selected
|
||||||
# 3.7.1 31.08.2016 Reading "errortext" added, commandref continued, exportToFile changed,
|
# 3.7.1 31.08.2016 Reading "errortext" added, commandref continued, exportToFile changed,
|
||||||
# diffValue changed to fix wrong timestamp if error occur
|
# diffValue changed to fix wrong timestamp if error occur
|
||||||
# 3.7 30.08.2016 exportToFile added
|
# 3.7 30.08.2016 exportToFile added
|
||||||
@ -1383,7 +1384,7 @@ sub diffval_ParseDone($) {
|
|||||||
my $runtime_string = decode_base64($a[0]);
|
my $runtime_string = decode_base64($a[0]);
|
||||||
$lastruntimestring = $runtime_string if ($i == 1);
|
$lastruntimestring = $runtime_string if ($i == 1);
|
||||||
|
|
||||||
my $value = $a[3];
|
my $value = $a[3]?$a[3]:0;
|
||||||
|
|
||||||
$a[3] =~ s/:/-/g if($a[2]); # substituieren unsopported characters -> siehe fhem.pl
|
$a[3] =~ s/:/-/g if($a[2]); # substituieren unsopported characters -> siehe fhem.pl
|
||||||
my $timestamp = $a[2]?$a[1]."_".$a[2]:$a[1];
|
my $timestamp = $a[2]?$a[1]."_".$a[2]:$a[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user