Polestar Forum banner

Car Stats Viewer - A Better Range Assistant

21077 Views 178 Replies 50 Participants Last post by  Ido
To demonstrate what two motivated developers free from corporational constraints can achieve with AAOS, let me introduce you to 'Car Stats Viewer', a development from two members of the german forum:
Vehicle Gadget Gas Audio equipment Machine

Development started 4 weeks ago with new releases every other day. The app is distributed through Googles beta program, which is unfortunately limited to 100 slots. We just opened the third beta channel after 2*100 slots filled up.

Source code is available on Github, so if anyone wants to fork, deploy and open up another beta channel, he is more than welcome. Participation through pull requests is also possible, of course. I18n comes to mind immediatly.
See less See more
  • Like
  • Love
  • Wow
Reactions: 5
141 - 160 of 179 Posts
Hello, i am on testtrack 4. Is there a plan to Update to Version 24?
Hi. N00b question here - what is the rocketship logo in the top right corner for? Pressing it makes the app crash for me (I'm assuming that's not its purpose!)
  • Like
Reactions: 1
This feature is currently still under development and needs some more testing and fine tuning. I can't say yet when I will release the next update since I have some more points on my agenda I want to tick off before then.

Here are the current changes, some of which are not quite finished yet:

View attachment 22796


But you can expect the update sooner rather than later ;)
Vehicle setup doesn’t allow selecting Plus package for MY21 launch edition? Not sure if it has any meaning for the app functionality. 🤔 I’ll take the feature is still being developed. No need to reply as you’re busy with the app and life 😬
Instructions for anyone else looking for this 'Generic Token' to hook Car Stats Viewer up to ABRP, no need to request API access or anything from ABRP.

Open ABRP or https://abetterrouteplanner.com
Click on ABRP logo/menu on top left
Under 'Plan Settings', tap on your vehicle
Tap on 'Edit Settings'
Under 'Over-the-air live data', next to "No live data linked", tap on "Add Live Data"
Tap on 'Link Generic'.
Take note of the loooong token.

Enter this token into Car Stats Viewer.
  • Like
  • Helpful
Reactions: 2
Has anyone created a solution to get the SOC level into Home Assistant using the new Webhook function?
Has anyone created a solution to get the SOC level into Home Assistant using the new Webhook function?
I didn't go that far, but I do have a PHP script that can receive and decode the JSON and write it into a MySQL-DB. PM me, if you are interested.
  • Like
Reactions: 1
Hi. N00b question here - what is the rocketship logo in the top right corner for? Pressing it makes the app crash for me (I'm assuming that's not its purpose!)
Actually yes, this is indeed the intended purpose for now 😂 But that's a debugging leftover when I needed to crash the app intentionally to test some behaviour.
In the future it will open a more performance oriented view.
  • Like
Reactions: 3
Vehicle setup doesn’t allow selecting Plus package for MY21 launch edition? Not sure if it has any meaning for the app functionality. 🤔 I’ll take the feature is still being developed. No need to reply as you’re busy with the app and life 😬
As far as I am aware the Launch Edition did not have a heat pump. So it does not really matter anyways. As it is now the app only uses the settings which influence the power to scale the gages on the main view. All other settings are not used yet.
  • Like
Reactions: 2
Hello, i am on testtrack 4. Is there a plan to Update to Version 24?
I have informed all track maintainers about the release. If and when they release the update is up to them.
I didn't go that far, but I do have a PHP script that can receive and decode the JSON and write it into a MySQL-DB. PM me, if you are interested.
I get invalid URL in the app whatever URL I input on the app. What am I missing here?
Font Communication Device Office equipment Space bar Mobile phone
See less See more
What am I missing here?
Android requires the protocol to be https. Nothing I can change.
  • Like
Reactions: 1
Installed the updated version of CSV day before yesterday and adding in the ARBP token worked perfectly. The connection the ARBP has been solid. CSV has rebooted itself 2x since the upgrade (once running on screen and once running in the background), don’t know what might have caused the reboots - app was simply running.

As a side note, ABRP has been flakey since its update (iOS) of a day or two ago. On my iPhone and in the car (AAOS) pinch to zoom locks up, constantly insists on returning to a map view centering on the car location, suggesting chargers on a thumbs down network (when there are other options reasonably close by). 🤨
As far as I am aware the Launch Edition did not have a heat pump. So it does not really matter anyways. As it is now the app only uses the settings which influence the power to scale the gages on the main view. All other settings are not used yet.
Maybe the setting could be named “heat pump” as the launch edition cars had the same options pilot/plus/performance but heat pump was not available.
Has anyone created a solution to get the SOC level into Home Assistant using the new Webhook function?
I did create a solution using the webhook function, but it requires a https connection to your HA system.
Once I got that solved, I was able to receive all sorts of data :) !

This is what CSV delivers:

alt: 4.31919691777604
ambientTemperature: 13
avgConsumption: 0.2448258
avgSpeed: 25.092108
batteryLevel: 57084
chargePortConnected: true
chargeStartDate: "Apr 8, 2023 12:07:31"
chargeTime: 11171
chargedEnergy: 28.379318
currentGear: 4
currentIgnitionState: 4
currentPower: 8.0544
currentSpeed: 0
driveState: 0
isCharging: true
isFastCharging: false
isParked: true
lat: 52.xxxxxx
lon: 6.xxxxxx
maxBatteryLevel: 80400
stateOfCharge: 71
timestamp: 1680948462670
travelTime: 41428610
traveledDistance: 1039515.8
tripStartDate: "Feb 17, 2023 08:09:32"
usedEnergy: 254500.28

Only issue is that the car has to be 'on', otherwise you don't get data anymore.
See less See more
  • Like
Reactions: 2
Maybe the setting could be named “heat pump” as the launch edition cars had the same options pilot/plus/performance but heat pump was not available.
The Launch Edition did not have any packages, it was just the "Launch Edition", so I do not see anything wrong in the current implementation. Also , this setting does not affect anything besides the visual apperace of the bar graphs. :p
The Launch Edition did not have any packages, it was just the "Launch Edition", so I do not see anything wrong in the current implementation. Also , this setting does not affect anything besides the visual apperace of the bar graphs. :p
It’s all good. I guess launch edition in Germany was different from USA. But I have LE and got to choose which packages to get. From my car specifications …
Font Rectangle Brand
See less See more
Great project and big thumbs up for the hard work! Would really appreciate to have opportunity to test this and also could contribute with Finnish language version.
Two questions:
I thought I remembered discussion of the infotainment screen quadrant view for CSV having more in it than just the app name . . . but in doing a quick search of the thread, I didn't see anything. Was I dreaming?

Does anyone know if ABRP (using the webhook data feed from CSV) differentiates between efficiency/range between local (suburban) driving versus highway (continuous high speed) driving in their calculations and route planning?
Great project and big thumbs up for the hard work! Would really appreciate to have opportunity to test this and also could contribute with Finnish language version.
If you want to contribute with a Finnish translation, please create an issue at Issues · Ixam97/CarStatsViewer and someone will assist setting you up with the translation tool (Lokalise).
  • Helpful
Reactions: 1
@Turder I saw you were looking for someone to double-check your Finnish translation. Perhaps someone in this forum (in this thread) would like to give a hand?
I know that in test track #4 (that I'm managing), there are 3 Finnish users (but I cannot tell who is...)
  • Like
Reactions: 1
141 - 160 of 179 Posts
Top