mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
JSONMETER: docu
git-svn-id: https://svn.fhem.de/fhem/trunk@7247 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
caa55f3525
commit
ad99d84a95
@ -524,7 +524,7 @@ if ( $a[1] == 1 ){
|
|||||||
$jsonInterpreter .= "|$i $$f[0] $$f[2] $$f[3] $$f[4]";
|
$jsonInterpreter .= "|$i $$f[0] $$f[2] $$f[3] $$f[4]";
|
||||||
JSONMETER_Log $name,4,"OBIS code \"$$f[1]\" will be stored in $$f[2]";
|
JSONMETER_Log $name,4,"OBIS code \"$$f[1]\" will be stored in $$f[2]";
|
||||||
$returnStr .= "OBIS code \"$$f[1]\" will be extracted as reading '$$f[2]' (statistic type: $$f[3]) from part $i:\n$fields[$i]\n\n";
|
$returnStr .= "OBIS code \"$$f[1]\" will be extracted as reading '$$f[2]' (statistic type: $$f[3]) from part $i:\n$fields[$i]\n\n";
|
||||||
}
|
}
|
||||||
} elsif ($$f[0] == 3) {
|
} elsif ($$f[0] == 3) {
|
||||||
if ($fields[$i] =~ /"($$f[1])"\s*:/) {
|
if ($fields[$i] =~ /"($$f[1])"\s*:/) {
|
||||||
$jsonInterpreter .= "|$i $$f[0] $$f[2] $$f[3] $$f[4] $$f[1]";
|
$jsonInterpreter .= "|$i $$f[0] $$f[2] $$f[3] $$f[4] $$f[1]";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user