mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@4967 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1f6f9839f5
commit
fbefc2a62a
@ -86,11 +86,11 @@ sub JSONMETER_UpdateAborted($);
|
||||
,[1, "0100290700FF", "electricityPowerPhase2", 1] # {"obis":"0100290700FF","value":14.27,"unit":"W"},
|
||||
,[1, "01003D0700FF", "electricityPowerPhase3", 1] # {"obis":"01003D0700FF","value":89.40,"unit":"W"},
|
||||
,[1, "1.8.0|0101010800FF", "electricityConsumed", 2] # {"obis": "1.8.0", "scale": 0, "value": 8802276, "unit": "Wh", "valueString": "0008802.276" },
|
||||
,[1, "0101010801FF", "electricityConsumedTariff1", 2] # {"obis":"0101010801FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "0101010802FF", "electricityConsumedTariff2", 2] # {"obis":"0101010802FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "0101010803FF", "electricityConsumedTariff3", 2] # {"obis":"0101010803FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "0101010804FF", "electricityConsumedTariff4", 2] # {"obis":"0101010804FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "0101010805FF", "electricityConsumedTariff5", 2] # {"obis":"0101010805FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "1.8.1|0101010801FF", "electricityConsumedTariff1", 2] # {"obis":"0101010801FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "1.8.2|0101010802FF", "electricityConsumedTariff2", 2] # {"obis":"0101010802FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "1.8.3|0101010803FF", "electricityConsumedTariff3", 2] # {"obis":"0101010803FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "1.8.4|0101010804FF", "electricityConsumedTariff4", 2] # {"obis":"0101010804FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "1.8.5|0101010805FF", "electricityConsumedTariff5", 2] # {"obis":"0101010805FF","value":33.53,"unit":"kWh"},
|
||||
,[1, "010001080080", "electricityConsumedToday", 1]
|
||||
,[1, "010001080081", "electricityConsumedYesterday", 1]
|
||||
,[1, "010001080082", "electricityConsumedLastWeek", 1]
|
||||
@ -606,19 +606,19 @@ JSONMETER_UpdateAborted($)
|
||||
<code>define <name> JSONMETER <deviceType> [<ip address>] [poll-interval]</code>
|
||||
<br>
|
||||
Example: <code>define powermeter JSONMETER ITF 192.168.178.20 300</code>
|
||||
<br>
|
||||
If the pool interval is omitted, it is set to 300 (seconds). Smallest possible value is 10.
|
||||
<br>
|
||||
With 0 it will only update on "manual" request.
|
||||
<br>
|
||||
<li><code>[poll-interval]</code>
|
||||
<br>
|
||||
Default is 300 seconds. Smallest possible value is 10. With 0 it will only update on "manual" request.
|
||||
</li><br>
|
||||
<li><code><deviceType></code>
|
||||
<br>
|
||||
Used to define the path and port to extract the json file.
|
||||
<br>
|
||||
The attribute 'pathString' can be used to add login information to the URL-path of predefined devices.
|
||||
The attribute 'pathString' can be used to add login information to the URL path of predefined devices.
|
||||
<br>
|
||||
<ul>
|
||||
<li><b>ITF</b> - One tariff electrical meter used by N-ENERGY (<a href="www.itf-froeschl.de">ITF Fröschl</a>)</li>
|
||||
<li><b>ITF</b> - One tariff electrical meter used by N-ENERGY (<a href="http://www.itf-froeschl.de">ITF Fröschl</a>)</li>
|
||||
<li><b>EFR</b> - <a href="http://www.efr.de">EFR</a> Smart Grid Hub for electrical meter used by EON, N-ENERGY and EnBW
|
||||
<br>
|
||||
use the 'pathstring' attribute to specifiy your login information
|
||||
@ -708,19 +708,19 @@ JSONMETER_UpdateAborted($)
|
||||
<br>
|
||||
Beispiel: <code>define Stromzaehler JSONMETER ITF 192.168.178.20 300</code>
|
||||
<br>
|
||||
Wenn das Abfrage-Interval nicht angegeben ist, wird es auf 300 (Sekunden) gesetzt. Der kleinste mögliche Wert ist 30.
|
||||
<br>
|
||||
Bei 0 kann die Geräteabfrage nur manuell gestartet werden.
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<li><code>Gerätetyp</code>
|
||||
<li><code>[Abfrageinterval]</code>
|
||||
<br>
|
||||
Definiert den Pfad und den Port, um die JSON-Datei zu einzulesen.
|
||||
Standardmässig 300 Sekunden. Der kleinste mögliche Wert ist 30.
|
||||
<br>
|
||||
Bei 0 kann die Geräteabfrage nur manuell gestartet werden.
|
||||
</li><br>
|
||||
<li><code><Gerätetyp></code>
|
||||
<br>
|
||||
Definiert den Pfad und den Port, um die JSON-Datei einzulesen.
|
||||
<br>
|
||||
Mit dem Attribute 'pathString' können Login Information an den URL-Pfad von vordefinierten Geräte angehangen werden.
|
||||
<ul>
|
||||
<li><b>ITF</b> - Eintarifzähler von N-ENERGY Netz GmbH (<a href="www.itf-froeschl.de">ITF Fröschl</a>)</li>
|
||||
<li><b>ITF</b> - Eintarifzähler von N-ENERGY Netz GmbH (<a href="http://www.itf-froeschl.de">ITF Fröschl</a>)</li>
|
||||
<li><b>EFR</b> - Stromzähler von EON, N-ENERGY, EnBW
|
||||
<br>
|
||||
Die Login-Information wird über das Attribute 'pathstring' angegeben.
|
||||
@ -736,13 +736,6 @@ JSONMETER_UpdateAborted($)
|
||||
<br>
|
||||
<b>Set</b>
|
||||
<ul>
|
||||
<li><code>alwaysAnalyse < 0 | 1 ></code>
|
||||
<br>
|
||||
Führt bei jeder Abfrage der Gerätewerte eine Analyse der JSON-Datenstruktur durch.
|
||||
<br>
|
||||
Dies ist sinnvoll, wenn sich die JSON-Struktur ändert. Normalerweise wird die analysierte Struktur
|
||||
zwischengespeichert, um die CPU-Last gering zu halten.
|
||||
</li><br>
|
||||
<li><code>INTERVAL <Abfrageinterval></code>
|
||||
<br>
|
||||
Abfrageinterval in Sekunden
|
||||
@ -751,7 +744,7 @@ JSONMETER_UpdateAborted($)
|
||||
<br>
|
||||
Neustart der Analyse der json-Datei zum Auffinden bekannter Gerätewerte (kompatibel zum OBIS Standard).
|
||||
<br>
|
||||
Diese Analysie wird normaler Weise nur einmal durchgeführt, wenn Gerätewerte gefunden wurden.
|
||||
Diese Analysie wird normaler Weise nur einmalig durchgeführt, nachdem Gerätewerte gefunden wurden.
|
||||
</li><br>
|
||||
<li><code>statusRequest</code>
|
||||
<br>
|
||||
@ -774,6 +767,13 @@ JSONMETER_UpdateAborted($)
|
||||
<a name="JSONMETERattr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
<li><code>alwaysAnalyse < 0 | 1 ></code>
|
||||
<br>
|
||||
Führt bei jeder Abfrage der Gerätewerte eine Analyse der JSON-Datenstruktur durch.
|
||||
<br>
|
||||
Dies ist sinnvoll, wenn sich die JSON-Struktur ändert. Normalerweise wird die analysierte Struktur
|
||||
zwischengespeichert, um die CPU-Last gering zu halten.
|
||||
</li><br>
|
||||
<li><code>doStatistics < 0 | 1 ></code>
|
||||
<br>
|
||||
Berechnet statistische Werte - <i>noch nicht implementiert</i>
|
||||
|
Loading…
x
Reference in New Issue
Block a user