First here the full response:
debug [pimatic-bluelink]: Status: {
"airCtrlOn": false,
"engine": false,
"doorLock": false,
"doorOpen": {
"frontLeft": 0,
"frontRight": 0,
"backLeft": 0,
"backRight": 0
},
"trunkOpen": false,
"airTemp": {
"value": "00H",
"unit": 0,
"hvacTempType": 1
},
"defrost": false,
"acc": false,
"evStatus": {
"batteryCharge": false,
"batteryStatus": 74,
"batteryPlugin": 0,
"remainTime2": {
"etc1": {
"value": 112,
"unit": 1
},
"etc2": {
"value": 540,
"unit": 1
},
"etc3": {
"value": 180,
"unit": 1
},
"atc": {
"value": 0,
"unit": 1
}
},
"drvDistance": [
{
"rangeByFuel": {
"evModeRange": {
"value": 239,
"unit": 1
},
"totalAvailableRange": {
"value": 239,
"unit": 1
}
},
"type": 2
}
],
"reservChargeInfos": {
"reservChargeInfo": {
"reservChargeInfoDetail": {
"reservInfo": {
"day": [
1,
2,
3,
4,
5
],
"time": {
"time": "0700",
"timeSection": 0
}
},
"reservChargeSet": false,
"reservFatcSet": {
"defrost": false,
"airTemp": {
"value": "10H",
"unit": 0
},
"airCtrl": 1,
"heating1": 0
}
}
},
"offpeakPowerInfo": {
"offPeakPowerTime1": {
"starttime": {
"time": "1200",
"timeSection": 0
},
"endtime": {
"time": "1200",
"timeSection": 0
}
},
"offPeakPowerFlag": 1
},
"reserveChargeInfo2": {
"reservChargeInfoDetail": {
"reservInfo": {
"day": [
1,
2,
3,
4,
5
],
"time": {
"time": "1200",
"timeSection": 1
}
},
"reservChargeSet": false,
"reservFatcSet": {
"defrost": false,
"airTemp": {
"value": "10H",
"unit": 0
},
"airCtrl": 1,
"heating1": 0
}
}
},
"reservFlag": 0,
"ect": {
"start": {
"day": 9,
"time": {
"time": "1200",
"timeSection": 0
}
},
"end": {
"day": 9,
"time": {
"time": "1200",
"timeSection": 0
}
}
},
"targetSOClist": [
{
"targetSOClevel": 100,
"dte": {
"rangeByFuel": {
"evModeRange": {
"value": 338,
"unit": 1
},
"totalAvailableRange": {
"value": 338,
"unit": 1
}
},
"type": 2
},
"plugType": 0
},
{
"targetSOClevel": 100,
"dte": {
"rangeByFuel": {
"evModeRange": {
"value": 338,
"unit": 1
},
"totalAvailableRange": {
"value": 338,
"unit": 1
}
},
"type": 2
},
"plugType": 1
}
]
}
},
"ign3": true,
"hoodOpen": false,
"transCond": true,
"steerWheelHeat": 0,
"sideBackWindowHeat": 0,
"tirePressureLamp": {
"tirePressureLampAll": 0,
"tirePressureLampFL": 0,
"tirePressureLampFR": 0,
"tirePressureLampRL": 0,
"tirePressureLampRR": 0
},
"battery": {
"batSoc": 255,
"batState": 0
},
"time": "20210205211352"
}
My idea would be (for e cars):
JSON value / short name / descriptions
drvDistance “totalAvailableRange” / remaining-range / Remaining range basing on the SoC (state of charge)
targetSOClist “totalAvailableRange” / maximum-range / Maximum range with fully charged battery
If you like to satisfy as well hybrids and fosils:
drvDistance “totalAvailableRange” / remaining-range / Remaining range basing on current battery resp. fuel level
targetSOClist “totalAvailableRange” / maximum-range / Maximum range with fully charged battery resp. filled tank (sounds somehow crappy, but something like this)