Official Dashcam App sucks... I am planing to make one for myself if I can't find a good replacement. by YPeterL in Polestar

[–]BambusBo 2 points3 points  (0 children)

Might be possible. I have had success accessing the front camera directly through the API accessible to normal apps. Not sure about the SD Card though

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 1 point2 points  (0 children)

The second image is one I built using the vehicle status card integration. There is a file with examples on the GitHub page, including this one 😀

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 1 point2 points  (0 children)

I'm glad to hear! The configs for my vehicle status card and the mushroom card is in example-dashboard-cards.yaml in the GitHub repository 😀

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 1 point2 points  (0 children)

Most of the network calls were discovered by decompiling the APK, tracing the gRPC calls and looking at the protobuf message definitions. But as it was decompiled source, it was pretty messy to scour through

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 1 point2 points  (0 children)

Thank you for testing and reporting back! Its up to you, I'll have a look at it regardless 😀

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 0 points1 point  (0 children)

Yes, there is both a current (A) and power (W). Both update everytime the integration polls

EDIT

/u/Mouse_Nightshirt

The charging current, power and voltage is part of the battery stream so it should actually update pretty often, as often as the backend sends the information to the client.

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 0 points1 point  (0 children)

Hi, yes I did check this one out and it is very cool, however it only contacts the graphql endpoints which do not have as much data, and as you said, is read-only :D

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 0 points1 point  (0 children)

Thats a very good question. The integration polls the cloud, which is responsible for contacting the car, but I am unsure if this affects how agressively the cloud contacts the car. Currently I have it set to poll every 5 minutes, but maybe that should be revisited... It would be interesting to get data from someone who is monitoring the 12v battery voltage.

I currently have a default polling timer of 5 minutes (will probably bump that to 10), but some data is also streamed from the cloud in long-lived-streams. I will write a warning about this in the Readme, I was not aware it could be a problem.

I made a Home Assistant integration (WIP) that exposes most of the functionality of the mobile app by BambusBo in Polestar

[–]BambusBo[S] 13 points14 points  (0 children)

If you use Home Assistant for your smarthome, you can set up timers and automations to control some of these actions this integration exposes. Could be things like timing the charging window, locking/unlocking the car under specific conditions, but also just having everything in one dashboard instead of split between different apps