-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON format of Status: full, parsed, cached #212
Comments
Updated the docs here https://bluelinky.readme.io/reference/status Does this help? |
helps, thank you! but apparently, the EU servers (my EV6 is german bound) either are out-of-sync or they have hickups presently! ;) My JSON from " and: it looks different from your 2020-example, perhaps there's a difference between models? my fullJSON
cachedJSON
parsedJSON
What's pretty obvious, in |
updated my JSON-payloads for what I get right now, and for what I see, there is a big difference between full and cached. |
In addition to the Status method there is also FullStatus, with either ‘refresh’ set or not.
You might want to look into that, with either refresh set or not set..
… On 26 Apr 2022, at 16:39, Thomas B. ***@***.***> wrote:
helps, thank you!
but apparently, the EU servers (my EV6 is german bound) either are out-of-sync or they have hickups presently! ;)
My JSON from "cached" look pretty different from "full", but from what I read they should be the same and "parsed" is a "compressed" version from what I learned so far?
and: it looks different from your 2020-example, perhaps there's a difference between models?
my full:
(momentariyl I got a 503 on the API, I'll paste it later)
my cached from this morning:
{
"airCtrlOn": false,
"engine": false,
"doorLock": true,
"doorOpen": {
"frontLeft": 0,
"frontRight": 0,
"backLeft": 0,
"backRight": 0
},
"trunkOpen": false,
"airTemp": {
"value": "02H",
"unit": 0,
"hvacTempType": 1
},
"defrost": false,
"acc": false,
"evStatus": {
"batteryCharge": false,
"batteryStatus": 80,
"batteryPlugin": 0,
"remainTime2": {
"etc1": {
"value": 39,
"unit": 1
},
"etc2": {
"value": 400,
"unit": 1
},
"etc3": {
"value": 100,
"unit": 1
},
"atc": {
"value": 80,
"unit": 1
}
},
"drvDistance": [
{
"rangeByFuel": {
"evModeRange": {
"value": 387,
"unit": 1
},
"totalAvailableRange": {
"value": 387,
"unit": 1
}
},
"type": 2
}
],
"reservChargeInfos": {
"reservChargeInfo": {
"reservChargeInfoDetail": {
"reservInfo": {
"day": [
2,
3,
4,
5
],
"time": {
"time": "0730",
"timeSection": 0
}
},
"reservChargeSet": false,
"reservFatcSet": {
"defrost": false,
"airTemp": {
"value": "10H",
"unit": 0,
"hvacTempType": 1
},
"airCtrl": 1,
"heating1": 0
}
}
},
"offpeakPowerInfo": {
"offPeakPowerTime1": {
"starttime": {
"time": "1200",
"timeSection": 0
},
"endtime": {
"time": "1200",
"timeSection": 0
}
},
"offPeakPowerFlag": 1
},
"reserveChargeInfo2": {
"reservChargeInfoDetail": {
"reservInfo": {
"day": [
9
],
"time": {
"time": "1200",
"timeSection": 0
}
},
"reservChargeSet": false,
"reservFatcSet": {
"defrost": false,
"airTemp": {
"value": "10H",
"unit": 0,
"hvacTempType": 1
},
"airCtrl": 1,
"heating1": 0
}
}
},
"reservFlag": 0,
"ect": {
"start": {
"day": 0,
"time": {
"time": "0000",
"timeSection": 0
}
},
"end": {
"day": 0,
"time": {
"time": "0000",
"timeSection": 0
}
}
},
"targetSOClist": [
{
"targetSOClevel": 100,
"dte": {
"rangeByFuel": {
"evModeRange": {
"value": 495,
"unit": 1
},
"totalAvailableRange": {
"value": 495,
"unit": 1
}
},
"type": 2
},
"plugType": 0
},
{
"targetSOClevel": 100,
"dte": {
"rangeByFuel": {
"evModeRange": {
"value": 495,
"unit": 1
},
"totalAvailableRange": {
"value": 495,
"unit": 1
}
},
"type": 2
},
"plugType": 1
}
]
},
"chargePortDoorOpenStatus": 2,
"batteryPreconditioning": false
},
"ign3": false,
"hoodOpen": false,
"transCond": false,
"steerWheelHeat": 0,
"sideBackWindowHeat": 0,
"tirePressureLamp": {
"tirePressureLampAll": 0
},
"battery": {
"batSoc": 96,
"batState": 0,
"sjbDeliveryMode": 0,
"batSignalReferenceValue": {
"batWarning": 0
},
"powerAutoCutMode": 2
},
"lampWireStatus": {
"stopLamp": {
"stopLampStatus": false,
"leftLamp": false,
"rightLamp": false
},
"headLamp": {
"headLampStatus": false,
"leftLowLamp": false,
"rightLowLamp": false,
"leftHighLamp": false,
"rightHighLamp": false,
"leftBifuncLamp": false,
"rightBifuncLamp": false
},
"turnSignalLamp": {
"turnSignalLampStatus": false,
"leftFrontLamp": false,
"rightFrontLamp": false,
"leftRearLamp": false,
"rightRearLamp": false
}
},
"windowOpen": {
"frontLeft": 0,
"frontRight": 0,
"backLeft": 0,
"backRight": 0
},
"smartKeyBatteryWarning": false,
"washerFluidStatus": false,
"breakOilStatus": false,
"sleepModeCheck": false,
"time": "20220426064258",
"remoteWaitingTimeAlert": {
"remoteControlAvailable": 1,
"remoteControlWaitingTime": 168,
"elapsedTime": "00:32:00"
},
"systemCutOffAlert": 0,
"tailLampStatus": 0,
"hazardStatus": 0
}
What's pretty obvious, in cached there's no information on chargeLimits, or airCtrlOn, ... because the vehicleStatus-branch is missing. of course, it could be, that the servers are having some kind of problems, what the 503-errors presently could be a indication for...
—
Reply to this email directly, view it on GitHub <#212 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AO7MCG765D5YAPFK5O6WFD3VG75ZPANCNFSM5UKZGBFQ>.
You are receiving this because you are subscribed to this thread.
|
I didn't take the time to document For now, closing this issue but the discussion is still encouraged. |
Is there anywhere a explanation of the information hidden in the status-JSON?
like, what information is coming with full, parsed, and cached option?
I get the feeling, that my "cached" JSON is missing some of the "full" JSON information? And I think, that was different a while ago? I seem to remember having the same JSON structure for cached and full at the time I set up my node-red-contrib-bluelinky and now it seems to be running on ERRORs like missing
.vehicleStatus
?The text was updated successfully, but these errors were encountered: