Hallo udo1toni.
Wie immer der Hammer.
Deine Rule klappt auf Anhieb.
Ich habe zwei Stromzähler von Powerfox verbaut.Einer für den Hausanschluß und der andere für die PV Anlage.
Der Hausanschluß geht quasi in einen negativen Wert sobald die PV mehr erzeugt als verbraucht wird.
Leider kann ich den Wechselrichter nicht anzapfen. Einfach zu alt und bin hier im Forum auch nicht fündig geworden bzw. konnte mir auch keiner weiterhelfen.
Ich kann morgen mal einen Wert reinstellen, dann sieht man um was es mir mit dem Werten geht.
Bin hier am gerade am Anfang.
Ich schreibe das jetzt mal hier rein, vielleicht braucht das irgend jemand auch noch.
Die Powerfox Zähler senden die Daten in eine Cloud die ich auch über die APP dann abrufen kann.
Über eine API Schnittstellen kann man die Daten auch abgreifen.
Inhaltstyp JSON rufe ich die Daten dann ab.
Die Channels bekommen dann im Status-URL Erweiterung den restlichen Syntax mit: /my/IDPowerFox/current?unit=wh
In dem Fall ist das die aktuelle Messung von der PV Anlage (intervall 3 Sekunden)
Jetzt wird es noch spannend mit abrufen der Ertragsdaten der PV pro Monat oder Tag werden.
Weil ich aus dem Ergebnis nicht wirklich schlau werde.
bringt dieses Ergebnis.
Code: Alles auswählen
{
"Consumption": {
"StartTime": 1687554000,
"StartTimeCurrency": 1687554000,
"Sum": 3.093,
"Max": 0.426,
"MaxCurrency": 0.1840661111111111,
"MeterReadings": [],
"ReportValues": [
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687636800,
"Complete": true,
"Delta": 0.385,
"DeltaHT": 0,
"DeltaNT": 0.385,
"DeltaCurrency": 0.16375833333333335,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687633200,
"Complete": true,
"Delta": 0.384,
"DeltaHT": 0,
"DeltaNT": 0.384,
"DeltaCurrency": 0.16758111111111113,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687629600,
"Complete": true,
"Delta": 0.119,
"DeltaHT": 0,
"DeltaNT": 0.119,
"DeltaCurrency": 0.06356861111111112,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687626000,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687622400,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687618800,
"Complete": true,
"Delta": 0,
"DeltaHT": 18.789,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687615200,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687611600,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687608000,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687604400,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687600800,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687597200,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687593600,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687590000,
"Complete": true,
"Delta": 0,
"DeltaHT": 0,
"DeltaNT": 0,
"DeltaCurrency": 0.01686111111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687586400,
"Complete": true,
"Delta": 0.069,
"DeltaHT": 0,
"DeltaNT": 0.069,
"DeltaCurrency": 0.043943611111111117,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687582800,
"Complete": true,
"Delta": 0.10200000000000001,
"DeltaHT": 0,
"DeltaNT": 0.10200000000000001,
"DeltaCurrency": 0.05689611111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687579200,
"Complete": true,
"Delta": 0.426,
"DeltaHT": 0,
"DeltaNT": 0.426,
"DeltaCurrency": 0.1840661111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687575600,
"Complete": true,
"Delta": 0.342,
"DeltaHT": 18.06,
"DeltaNT": 0.3435,
"DeltaCurrency": 0.15109611111111113,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687572000,
"Complete": true,
"Delta": 0.205,
"DeltaHT": 0,
"DeltaNT": 0.20350000000000002,
"DeltaCurrency": 0.09732361111111113,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687568400,
"Complete": true,
"Delta": 0.196,
"DeltaHT": 0,
"DeltaNT": 0.196,
"DeltaCurrency": 0.09379111111111112,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687564800,
"Complete": true,
"Delta": 0.209,
"DeltaHT": 0,
"DeltaNT": 0.209,
"DeltaCurrency": 0.0988936111111111,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687561200,
"Complete": false,
"Delta": 0.21866666666666666,
"DeltaHT": 0,
"DeltaNT": 0.21866666666666666,
"DeltaCurrency": 0.10268777777777777,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687557600,
"Complete": false,
"Delta": 0.21866666666666666,
"DeltaHT": 0,
"DeltaNT": 0.21866666666666666,
"DeltaCurrency": 0.10268777777777777,
"ValuesType": 1
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687554000,
"Complete": false,
"Delta": 0.21866666666666666,
"DeltaHT": 0,
"DeltaNT": 0.21866666666666666,
"DeltaCurrency": 0.10268777777777777,
"ValuesType": 1
}
],
"SumCurrency": 1.6144538888888889
},
"FeedIn": {
"StartTime": 1687554000,
"StartTimeCurrency": 9223372036854775807,
"Sum": 75.895,
"Max": 10.043000000000001,
"MaxCurrency": 0,
"MeterReadings": [],
"ReportValues": [
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687636800,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687633200,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687629600,
"Complete": true,
"Delta": 0.045,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687626000,
"Complete": true,
"Delta": 0.22299999999999998,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687622400,
"Complete": true,
"Delta": 1.162,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687618800,
"Complete": true,
"Delta": 3.51,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687615200,
"Complete": true,
"Delta": 5.904,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687611600,
"Complete": true,
"Delta": 7.846,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687608000,
"Complete": true,
"Delta": 8.635,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687604400,
"Complete": true,
"Delta": 10.043000000000001,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687600800,
"Complete": true,
"Delta": 9.756,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687597200,
"Complete": true,
"Delta": 9.992,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687593600,
"Complete": true,
"Delta": 9.39,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687590000,
"Complete": true,
"Delta": 6.951,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687586400,
"Complete": true,
"Delta": 1.181,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687582800,
"Complete": true,
"Delta": 0.07200000000000001,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687579200,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687575600,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687572000,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687568400,
"Complete": true,
"Delta": 0,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687564800,
"Complete": true,
"Delta": 0.237,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687561200,
"Complete": false,
"Delta": 0.316,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687557600,
"Complete": false,
"Delta": 0.316,
"DeltaCurrency": 0,
"ValuesType": 2
},
{
"DeviceId": "IDPowerfox",
"Timestamp": 1687554000,
"Complete": false,
"Delta": 0.316,
"DeltaCurrency": 0,
"ValuesType": 2
}
],
"SumCurrency": 0
}
}
Laut APP hatte ich heute einen Strombezug aus dem öffentlichen Netz von 2,87kWh
Diese Summe sollte ja dann auch irgendwo zu finden sein - natürlich in Watt.