diff --git a/fhem/FHEM/70_JSONMETER.pm b/fhem/FHEM/70_JSONMETER.pm index 6311567bb..2ec7e918b 100644 --- a/fhem/FHEM/70_JSONMETER.pm +++ b/fhem/FHEM/70_JSONMETER.pm @@ -70,7 +70,7 @@ sub JSONMETER_UpdateAborted($); ############################################################## # Syntax: valueType, code, FHEM reading name, statisticType # valueType: 1=OBISvalue | 2=OBISvalueString | 3=jsonProperty | 4=jsonPropertyTime - # statisticType: 0=noStatistic | 1=maxMinStatistic | 2=timeStatistic + # statisticType: 0=noStatistic | 1=maxMinStatistic | 2=integralTimeStatistic ############################################################## my @jsonFields = ( [3, "meterType", "meterType", 0] # {"meterId": "0000000061015736", "meterType": "Simplex", "interval": 0, "entry": [ @@ -101,7 +101,7 @@ sub JSONMETER_UpdateAborted($); ,[1, "010002080082", "electricityProducedLastWeek", 1] ,[1, "010002080083", "electricityProducedLastMonth", 1] ,[1, "010002080084", "electricityProducedLastYear", 1] - ,[1, "0101020800FF", "electricityPowerOutput", 2] + ,[1, "0101020800FF", "electricityPowerOutput", 1] ,[1, "010020070000", "electricityVoltagePhase1", 1] #{"obis":"010020070000","value":237.06,"unit":"V"}, ,[1, "010034070000", "electricityVoltagePhase2", 1] # {"obis":"010034070000","value":236.28,"unit":"V"}, ,[1, "010048070000", "electricityVoltagePhase3", 1] # {"obis":"010048070000","value":236.90,"unit":"V"}, @@ -610,6 +610,7 @@ JSONMETER_UpdateAborted($) If the pool interval is omitted, it is set to 300 (seconds). Smallest possible value is 10.
With 0 it will only update on "manual" request. +
 
  • <deviceType>
    Used to define the path and port to extract the json file. @@ -617,7 +618,7 @@ JSONMETER_UpdateAborted($) The attribute 'pathString' can be used to add login information to the URL-path of predefined devices.
      @@ -719,13 +720,13 @@ JSONMETER_UpdateAborted($)
    Mit dem Attribute 'pathString' können Login Information an den URL-Pfad von vordefinierten Geräte angehangen werden. @@ -741,17 +742,17 @@ JSONMETER_UpdateAborted($)
    Dies ist sinnvoll, wenn sich die JSON-Struktur ändert. Normalerweise wird die analysierte Struktur zwischengespeichert, um die CPU-Last gering zu halten. -
  • +
  • INTERVAL <Abfrageinterval>
    Abfrageinterval in Sekunden -
  • +
  • restartJsonAnalysis
    Neustart der Analyse der json-Datei zum Auffinden bekannter Gerätewerte (kompatibel zum OBIS Standard).
    Diese Analysie wird normaler Weise nur einmal durchgeführt, wenn Gerätewerte gefunden wurden. -
  • +
  • statusRequest
    Aktualisieren der Gerätewerte
  • @@ -762,7 +763,11 @@ JSONMETER_UpdateAborted($)
    @@ -772,20 +777,21 @@ JSONMETER_UpdateAborted($)
  • doStatistics < 0 | 1 >
    Berechnet statistische Werte - noch nicht implementiert -
    <
  • +
  • pathString <Zeichenkette> -
  • -
  • port <Nummer> +

  • +
  • port <Nummer>
    - Beim Gerätetyp 'url' kann hier der URL-Port festgelegt werden (standardmässig 80)
  • + Beim Gerätetyp 'url' kann hier der URL-Port festgelegt werden (standardmässig 80) +
  • readingFnAttributes