Re: Support: Http
Verfasst: Di Sep 13, 2022 8:10 am
Hallo, wäre es möglich, auch beim http-Modul die Option "Berechnung" zu integrieren?
Besten Dank und Gruss,
Marcel
Besten Dank und Gruss,
Marcel
Code: Alles auswählen
user@Tower:/mnt/user/docker/evcc# echo $(curl -s http://192.168.0.5:17070/api/state?jq=.loadpoints[].vehicleSoc | cut
-f1 -d".")
100
Code: Alles auswählen
// 20231127084146
// http://192.168.0.5:17070/api/state
{
"result": {
"auth": {
"vehicles": {
}
},
"battery": [
{
"power": -0
}
],
"batteryCapacity": 0,
"batteryConfigured": true,
"batteryDischargeControl": false,
"batteryEnergy": 0,
"batteryMode": 1,
"batteryPower": 0,
"batterySoc": 0,
"bufferSoc": 0,
"bufferStartSoc": 0,
"currency": "EUR",
"greenShareHome": 0.13513513513513514,
"greenShareLoadpoints": 0,
"gridConfigured": true,
"gridPower": 416,
"homePower": 481,
"loadpoints": [
{
"chargeCurrent": 0,
"chargeCurrents": [
0,
0,
0
],
"chargeDuration": 0,
"chargePower": 0,
"chargeTotalImport": 1703.595,
"chargedEnergy": 0,
"chargerFeatureHeating": false,
"chargerFeatureIntegratedDevice": false,
"chargerIcon": null,
"charging": false,
"connected": false,
"connectedDuration": 9223372036854775807,
"disableThreshold": 0,
"enableThreshold": 0,
"enabled": false,
"guardAction": "inactive",
"guardRemaining": 0,
"maxCurrent": 16,
"minCurrent": 6,
"minSoc": 0,
"mode": "off",
"phaseAction": "inactive",
"phaseRemaining": 0,
"phasesActive": 3,
"phasesConfigured": null,
"phasesEnabled": 3,
"planActive": false,
"planProjectedStart": "0001-01-01T00:00:00Z",
"priority": 0,
"pvAction": "inactive",
"pvRemaining": 0,
"sessionCo2PerKWh": null,
"sessionEnergy": 0,
"sessionPrice": null,
"sessionPricePerKWh": null,
"sessionSolarPercentage": 0,
"targetEnergy": 0,
"targetSoc": 100,
"targetTime": "0001-01-01T00:00:00Z",
"title": "Carport",
"vehicleCapacity": 14,
"vehicleDetectionActive": false,
"vehicleFeatureOffline": false,
"vehicleIcon": "car",
"vehicleOdometer": 10025,
"vehiclePresent": true,
"vehicleRange": 0,
"vehicleSoc": 0,
"vehicleTargetSoc": 0,
"vehicleTitle": "A6"
}
],
"prioritySoc": 0,
"pv": [
{
"power": 65
}
],
"pvConfigured": true,
"pvEnergy": 0,
"pvPower": 65,
"residualPower": 100,
"siteTitle": "Home",
"smartCostActive": false,
"smartCostLimit": 0,
"smartCostType": "pricestatic",
"statistics": {
"30d": {
"avgCo2": 0,
"avgPrice": 0.38423847563624564,
"chargedKWh": 97.5489999999993,
"solarPercentage": 5.794271159362963
},
"365d": {
"avgCo2": 0,
"avgPrice": 0.38423847563624564,
"chargedKWh": 97.5489999999993,
"solarPercentage": 5.794271159362963
},
"total": {
"avgCo2": 0,
"avgPrice": 0.38423847563624564,
"chargedKWh": 97.5489999999993,
"solarPercentage": 5.794271159362963
}
},
"tariffFeedIn": 0.1166,
"tariffGrid": 0.4007,
"tariffPriceHome": 0.3623081081081081,
"tariffPriceLoadpoints": 0.4007,
"vehicles": [
"A6"
],
"version": "0.122.1"
}
}