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.

Vehicle status not up-to-date

See original GitHub issue

Describe the bug evStatus.batteryStatus received by vehicle.status() is not up-to-date and in sync with what the official Bluelink App displays. For instance, evStatus.batteryStatus is “37” although the Bluelink App shows “80” which is correct.

Before this observation, I noticed that Bluelinky’s response was only updating when refreshing the status in the Bluelink App.

Usefull info(please complete the following information):

  • OS: Linux
  • Bluelinky Version 7.3.0
  • Region: EU
  • Brand: Hyundai

Additional context The use case is to poll the Bluelink API (every ~15 minutes or so depending on whether driving or charging) and to print the SoC on a bluetooth-connected display. Sequence in pseudo-code is:

start:
client = new BlueLinky({config});

when ready, vehicle = client.getVehicle(vin);
response = await vehicle.status();
print response.evStatus.batteryStatus;

wait 15 minutes
goto start

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mpucherSmITcommented, Jul 19, 2021

I had the query running every 20 minutes (24h) and it killed the battery twice. So depending on the battery condition something around 70 requests a day is enough to drain it completely.

I’m now at every 3 hours from 8 am to 8 pm and that seems to be fine (so far)

1reaction
PierreLevrescommented, Jul 6, 2021

Depends on multiple factors. I would think about 100 times. Yes also applies on EVs. Even more since that 12v battery is rather small The battery status is only updated when driving or when shutting down the engine. So no indication it is about to die.

Op 6 jul. 2021 om 20:33 heeft Daniel Jungbluth @.***> het volgende geschreven:

How many times before battery is getting drained? Does this apply to electric vehicles, too? Is 12V battery status returned by vehicle.status() and how to know before battery is „killed“? BTW, awesome project and keep up your great work! Really cool!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Vehicle Status and how do I update it? - Dealerware
Update a vehicle's status using Dealerware Web · Select Vehicles from the main navigation · Search and select the applicable vehicle · Select ......
Read more >
My BMW app not updating vehicle status - BMW M3 G80 G82
Click the iDrive wheel to select it. The update takes a few seconds. Then press and hold the radio volume hardware button below...
Read more >
My BMW App not updating vehicle status - BMW iX Forums
Just realized the "My BMW" app has not updated my vehicle status since August 14, anybody having a similar issue or troubleshooting?
Read more >
Git pull: error: Entry foo not uptodate. Cannot merge
Unfortunately, I kept getting the Entry 'fileName' not uptodate. Cannot merge error message. The command git status didn't show information ...
Read more >
Check the status of your vehicle registration | Mass.gov
To check your vehicle's registration status, you will need your plate type and vehicle registration number. You can obtain the following information:.
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