JSONMETER: docu
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7247 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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]";
|
||||||
|
|||||||
Reference in New Issue
Block a user