mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
JSONMETER: statElectricityConsumedToday for LS110
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5578 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03dff0d7bb
commit
f7bf443b6d
@ -78,7 +78,7 @@ sub JSONMETER_doStatisticDelta ($$$$);
|
||||
my @jsonFields = (
|
||||
[3, "meterType", "meterType", 0] # {"meterId": "0000000061015736", "meterType": "Simplex", "interval": 0, "entry": [
|
||||
,[4, "timestamp", "deviceTime", 0] # {"timestamp": 1389296286, "periodEntries": [
|
||||
,[3, "cnt", "electricityConsumed", 2] # {"cnt":" 22,285","pwr":764,"lvl":0,"dev":"","det":"","con":"OK","sts":"(06)","raw":0}
|
||||
,[3, "cnt", "electricityConsumed", 3] # {"cnt":" 22,285","pwr":764,"lvl":0,"dev":"","det":"","con":"OK","sts":"(06)","raw":0}
|
||||
,[3, "pwr", "electricityPower", 1] # {"cnt":" 22,285","pwr":764,"lvl":0,"dev":"","det":"","con":"OK","sts":"(06)","raw":0}
|
||||
,[1, "010000090B00", "deviceTime", 0] # { "obis":"010000090B00","value":"dd.mm.yyyy,hh:mm"}
|
||||
,[2, "0.0.0", "meterID", 0] # {"obis": "0.0.0", "scale": 0, "value": 1627477814, "unit": "", "valueString": "0000000061015736" },
|
||||
@ -447,7 +447,7 @@ JSONMETER_ParseJsonFile($)
|
||||
my $hash = $defs{$a[0]};
|
||||
my $name = $hash->{NAME};
|
||||
my $value;
|
||||
my $returnStr;
|
||||
my $returnStr ="";
|
||||
my $statisticType;
|
||||
|
||||
delete($hash->{helper}{RUNNING_PID});
|
||||
|
Loading…
x
Reference in New Issue
Block a user