question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSON format of Status: full, parsed, cached

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Hacksorecommented, Apr 29, 2022

I didn’t take the time to document fullStatus it is only a EU feature. If someone is inclined to do that please let me know and I can add you as an editor to the docs 😃.

For now, closing this issue but the discussion is still encouraged.

1reaction
PierreLevrescommented, Apr 27, 2022

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 https://github.com/Hacksore/bluelinky/issues/212#issuecomment-1109880462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7MCG765D5YAPFK5O6WFD3VG75ZPANCNFSM5UKZGBFQ. You are receiving this because you are subscribed to this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using JSON Object as Cache Data | NCache Docs - Alachisoft
The following example parses a string containing Json data with unknown datatype. .NET/.NET Core; Java; Scala. try { // Pre-Condition: Cache is JSON...
Read more >
How to Cache Parsed JSON for Offline usage - Stack Overflow
I have parsed JSON successfully but now i want to Cache it for offline usage, even internet is not available, and if any...
Read more >
JSON parsing (json) - Varnish Cache Plus
Description. The json vmod allows for JSON parsing. It can parse JSON strings, request body JSON, and response body JSON.
Read more >
How to Parse JSON Data From a REST API - DZone Integration
This tutorial shows you how to use JAVA to leverage JSON data categorically from a REST API, and parse a URL object as...
Read more >
How to cache JSON data in Redis with NodeJS | GDSC KIIT
In this blog, I have shown how you can cache real JSON data in Redis and NodeJS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found