Anpassung 70_JSONMETER.pm

Begonnen von Petrosilius Zwackelmann, 25 Januar 2015, 11:56:29

Vorheriges Thema - Nächstes Thema

Petrosilius Zwackelmann

Hallo Tupol,

kannst du mal einen Blick auf folgendes Datenblatt werfen (Seite 10)....
https://www.efr-support.de/files_public/Web%20Server%20Bedienungsanleitung_V1.10-1.pdf

Implementierung in deinem Modul kennt z.B. Einspeise-Tarife 2.8.x nicht.
Da ich seit einigen Monaten ein PV Anlage habe ist mir das aufgefallen.

Wäre schön wenn du das Modul anpassen könntest.

LG
Manuel

FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

tupol

Gerade den Beitrag entdeckt.

Das Reading ist drin. Allerdings als 010002080082 und nicht als 2.8.x.
Poste mal dein Json-File.

Petrosilius Zwackelmann

Hallo Tupol,

danke für die Anpassung.
Anbei mein JSON-File...

Gruß Manuel


================ Find JSON property ==================

OBIS code "010000090B00" will be extracted as reading 'deviceTime' (statistic type: 0) from part 8:
"obis":"010000090B00","value":"14.08.2015,07:49:39"}], "values" : [

OBIS code "0100000000FF" will be extracted as reading 'meterID' (statistic type: 0) from part 7:
"obis":"0100000000FF","value":"1271160014194"},

OBIS code "1.7.0|0100010700FF" will be extracted as reading 'electricityPower' (statistic type: 1) from part 13:
"obis":"0100010700FF","value":-699.33,"unit":"W"},

OBIS code "0100150700FF" will be extracted as reading 'electricityPowerPhase1' (statistic type: 1) from part 14:
"obis":"0100150700FF","value":-296.36,"unit":"W"},

OBIS code "0100290700FF" will be extracted as reading 'electricityPowerPhase2' (statistic type: 1) from part 15:
"obis":"0100290700FF","value":-189.01,"unit":"W"},

OBIS code "01003D0700FF" will be extracted as reading 'electricityPowerPhase3' (statistic type: 1) from part 16:
"obis":"01003D0700FF","value":-213.96,"unit":"W"},

OBIS code "1.8.1|0101010801FF" will be extracted as reading 'electricityConsumedTariff1' (statistic type: 2) from part 10:
"obis":"0101010801FF","value":4483.49,"unit":"kWh"},

OBIS code "2.8.0|0102020800FF" will be extracted as reading 'electricityProducedTariff1' (statistic type: 2) from part 11:
"obis":"0102020800FF","value":3447.95,"unit":"kWh"},

OBIS code "2.8.1|0102020807FF" will be extracted as reading 'electricityProducedTariff2' (statistic type: 2) from part 12:
"obis":"0102020807FF","value":3446.83,"unit":"kWh"},

OBIS code "010001080080" will be extracted as reading 'electricityConsumedToday' (statistic type: 0) from part 21:
"obis":"010001080080","value":6.28,"unit":"kWh"},

OBIS code "010001080081" will be extracted as reading 'electricityConsumedYesterday' (statistic type: 0) from part 22:
"obis":"010001080081","value":16.86,"unit":"kWh"},

OBIS code "010001080082" will be extracted as reading 'electricityConsumedLastWeek' (statistic type: 0) from part 23:
"obis":"010001080082","value":100.03,"unit":"kWh"},

OBIS code "010001080083" will be extracted as reading 'electricityConsumedLastMonth' (statistic type: 0) from part 24:
"obis":"010001080083","value":76.19,"unit":"kWh"},

OBIS code "010001080084" will be extracted as reading 'electricityConsumedLastYear' (statistic type: 0) from part 25:
"obis":"010001080084","value":0.01,"unit":"kWh"},

OBIS code "010002080080" will be extracted as reading 'electricityProducedToday' (statistic type: 0) from part 26:
"obis":"010002080080","value":3.80,"unit":"kWh"},

OBIS code "010002080081" will be extracted as reading 'electricityProducedYesterday' (statistic type: 0) from part 27:
"obis":"010002080081","value":28.48,"unit":"kWh"},

OBIS code "010002080082" will be extracted as reading 'electricityProducedLastWeek' (statistic type: 0) from part 28:
"obis":"010002080082","value":196.93,"unit":"kWh"},

OBIS code "010002080083" will be extracted as reading 'electricityProducedLastMonth' (statistic type: 0) from part 29:
"obis":"010002080083","value":69.93,"unit":"kWh"},

OBIS code "010002080084" will be extracted as reading 'electricityProducedLastYear' (statistic type: 0) from part 30:
"obis":"010002080084","value":0.02,"unit":"kWh"} ] }}

OBIS code "010020070000" will be extracted as reading 'electricityVoltagePhase1' (statistic type: 1) from part 17:
"obis":"010020070000","value":235.53,"unit":"V"},

OBIS code "010034070000" will be extracted as reading 'electricityVoltagePhase2' (statistic type: 1) from part 18:
"obis":"010034070000","value":233.45,"unit":"V"},

OBIS code "010048070000" will be extracted as reading 'electricityVoltagePhase3' (statistic type: 1) from part 19:
"obis":"010048070000","value":234.16,"unit":"V"},

OBIS code "01000E070000" will be extracted as reading 'electricityFrequency' (statistic type: 1) from part 20:
"obis":"01000E070000","value":50.000,"unit":"Hz"},


================= Extract JSON values ==================

Value "14.08.2015,07:49:39" for reading 'deviceTime' extracted from part 8:
"obis":"010000090B00","value":"14.08.2015,07:49:39"}], "values" : [

Value "1271160014194" for reading 'meterID' extracted from part 7:
"obis":"0100000000FF","value":"1271160014194"},

Value "-699.33" for reading 'electricityPower' extracted from part 13:
"obis":"0100010700FF","value":-699.33,"unit":"W"},

Value "-296.36" for reading 'electricityPowerPhase1' extracted from part 14:
"obis":"0100150700FF","value":-296.36,"unit":"W"},

Value "-189.01" for reading 'electricityPowerPhase2' extracted from part 15:
"obis":"0100290700FF","value":-189.01,"unit":"W"},

Value "-213.96" for reading 'electricityPowerPhase3' extracted from part 16:
"obis":"01003D0700FF","value":-213.96,"unit":"W"},

Value "4483.49" for reading 'electricityConsumedTariff1' extracted from part 10:
"obis":"0101010801FF","value":4483.49,"unit":"kWh"},

Value "3447.95" for reading 'electricityProducedTariff1' extracted from part 11:
"obis":"0102020800FF","value":3447.95,"unit":"kWh"},

Value "3446.83" for reading 'electricityProducedTariff2' extracted from part 12:
"obis":"0102020807FF","value":3446.83,"unit":"kWh"},

Value "6.28" for reading 'electricityConsumedToday' extracted from part 21:
"obis":"010001080080","value":6.28,"unit":"kWh"},

Value "16.86" for reading 'electricityConsumedYesterday' extracted from part 22:
"obis":"010001080081","value":16.86,"unit":"kWh"},

Value "100.03" for reading 'electricityConsumedLastWeek' extracted from part 23:
"obis":"010001080082","value":100.03,"unit":"kWh"},

Value "76.19" for reading 'electricityConsumedLastMonth' extracted from part 24:
"obis":"010001080083","value":76.19,"unit":"kWh"},

Value "0.01" for reading 'electricityConsumedLastYear' extracted from part 25:
"obis":"010001080084","value":0.01,"unit":"kWh"},

Value "3.80" for reading 'electricityProducedToday' extracted from part 26:
"obis":"010002080080","value":3.80,"unit":"kWh"},

Value "28.48" for reading 'electricityProducedYesterday' extracted from part 27:
"obis":"010002080081","value":28.48,"unit":"kWh"},

Value "196.93" for reading 'electricityProducedLastWeek' extracted from part 28:
"obis":"010002080082","value":196.93,"unit":"kWh"},

Value "69.93" for reading 'electricityProducedLastMonth' extracted from part 29:
"obis":"010002080083","value":69.93,"unit":"kWh"},

Value "0.02" for reading 'electricityProducedLastYear' extracted from part 30:
"obis":"010002080084","value":0.02,"unit":"kWh"} ] }}

Value "235.53" for reading 'electricityVoltagePhase1' extracted from part 17:
"obis":"010020070000","value":235.53,"unit":"V"},

Value "233.45" for reading 'electricityVoltagePhase2' extracted from part 18:
"obis":"010034070000","value":233.45,"unit":"V"},

Value "234.16" for reading 'electricityVoltagePhase3' extracted from part 19:
"obis":"010048070000","value":234.16,"unit":"V"},

Value "50.000" for reading 'electricityFrequency' extracted from part 20:
"obis":"01000E070000","value":50.000,"unit":"Hz"},

FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony