# \[APP\]\[Pro\] Polestar

**URL:** <https://community.homey.app/t/app-pro-polestar/95083>\
**Category:** Apps\
**Tags:** app, tools, flow, homey-pro, advancedflow\
**Created:** [November 19, 2023, 12:11pm UTC](https://community.homey.app/t/app-pro-polestar/95083 "2023-11-19T12:11:43Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 30, 2024, 3:55pm UTC](https://community.homey.app/t/app-pro-polestar/95083/43 "2024-06-30T15:55:16Z")

</div>

Thats a part I did not look at yet, ill put it on my list to check. The workaround is fine I think 😉  
For me the CSV app is very unreliable in this 3.0.3 update on the Polestar, it crashes a lot and it doesnt send info sometimes for weeks. So I stopped using it for Homey flows.

---

<div class="post-metadata">

**Author:** ![Tycho](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tycho/32/16864_2.png) [@Tycho](https://community.homey.app/u/Tycho)\
**Post date:** [July 2, 2024, 2:18pm UTC](https://community.homey.app/t/app-pro-polestar/95083/44 "2024-07-02T14:18:20Z")

</div>

As of today it is possible to see and change the charge limit in the Polestar app. This means it should also be available in an API. Would it be possible to add this to the Homey app? Read-only is sufficient for my use case.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [July 2, 2024, 4:12pm UTC](https://community.homey.app/t/app-pro-polestar/95083/45 "2024-07-02T16:12:31Z")

</div>

I will look into this indeed 👍🏻

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [July 2, 2024, 8:40pm UTC](https://community.homey.app/t/app-pro-polestar/95083/46 "2024-07-02T20:40:37Z")

</div>

Looks like its not in the API ☹

---

<div class="post-metadata">

**Author:** ![Mainnsto](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Mainnsto](https://community.homey.app/u/Mainnsto)\
**Post date:** [July 8, 2024, 11:19am UTC](https://community.homey.app/t/app-pro-polestar/95083/47 "2024-07-08T11:19:00Z")

</div>

Hi. Are you tapping into the same API as tibber (if you are familiar with it)?

Hopefully they will update their API soon so both your app and Tibber will atleast be able to read the SOC limit.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [July 8, 2024, 3:12pm UTC](https://community.homey.app/t/app-pro-polestar/95083/48 "2024-07-08T15:12:57Z")

</div>

I use the one behind the [my.polestar.com](http://my.polestar.com) site. I think Tibber does also. The app uses mqtt messages. So there are differences there.

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [August 9, 2024, 7:33am UTC](https://community.homey.app/t/app-pro-polestar/95083/49 "2024-08-09T07:33:38Z")

</div>

Polestar 3 has begun delivery, and I guess Polestar 4 is right around the corner, will there be an update to the app to support these models? I’m getting a 3 soon and would love for this to work.

The @Coderax github project that the app store links to seems to be stagnant, but I understand you took over the app @Kaoh. Has the project been moved somewhere else, or does further development depend on @Coderax accepting pull requests?

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [August 9, 2024, 9:38am UTC](https://community.homey.app/t/app-pro-polestar/95083/50 "2024-08-09T09:38:50Z")

</div>

Its in a new repository indeed now.  
I am very interested in a p3 or p4 tester. I expect them to just work.

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [August 9, 2024, 7:37pm UTC](https://community.homey.app/t/app-pro-polestar/95083/51 "2024-08-09T19:37:20Z")

</div>

Ok, I suppose it would be good to update the details in the app overview, as the links are mostly outdated now. 🙂 Source code, contact, web page, etc.

I’ll be happy to help test when I get the P3. Should be within a month or so I think.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [August 9, 2024, 7:49pm UTC](https://community.homey.app/t/app-pro-polestar/95083/52 "2024-08-09T19:49:15Z")

</div>

New version is already in review with those changes indeed 😊.  
Also gave it the new car class for the my polestar device.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [September 1, 2024, 12:21pm UTC](https://community.homey.app/t/app-pro-polestar/95083/53 "2024-09-01T12:21:57Z")

</div>

Added release to test with changes to the triggers, seemed like they where not triggering anymore. To solve it I needed to remapp some events that might result in loss of your triggers in the workflows you have, sorry for that.

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [October 13, 2024, 7:37am UTC](https://community.homey.app/t/app-pro-polestar/95083/54 "2024-10-13T07:37:05Z")

</div>

I finally received my P3, and I can confirm that it just works. 🙂 However, I think it would be nice with some more cards, as there are only “When” cards now (more of them than the app store indicates though). Having “And” cards for whether it is charging and whether it is connected to a charger, would be nice, as it would allow for producing nightly reminders if you forgot to plug in the charger.

I suppose it would also be useful for people creating their own “smart charging” schedules to have “Then” cards that can turn the charging on and off, if they can’t do this on the charger itself.

The Polestar phone app also shows the car’s position (as an address), and allows controlling the locking, climate, climate schedule, and charge limit. Although I don’t have any concrete plans to automate any of this, there is certainly some potential, and it would be nice to have the possibilty.

For instance, if there also was a “When” card for “trip ended” or “car locked”, and one could get the car position and control the climate schedule, it could be possible to recreate the Tesla feature of positionally based climate schedules.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [October 13, 2024, 9:50am UTC](https://community.homey.app/t/app-pro-polestar/95083/55 "2024-10-13T09:50:29Z")

</div>

Those when cards can be done using the tags, all these statuses are available through them.  
The phone polestar app does not use apis for most of the capabilities. They use secured mqtt messages. The api is used by the website on the my polestar pages. So i am limited to info exposed there.  
Start charging is not a capability the car exposes nor the location. Just like changing the charge limit or managing the climate.

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [October 17, 2024, 6:22am UTC](https://community.homey.app/t/app-pro-polestar/95083/56 "2024-10-17T06:22:43Z")

</div>

> [@Kaoh](#):
>
> Those when cards can be done using the tags, all these statuses are available through them.

Oh ok, that’s good to know. I think it would be more convenient with And-cards than tags though, maybe something to consider. 🙂

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [October 30, 2024, 8:44am UTC](https://community.homey.app/t/app-pro-polestar/95083/57 "2024-10-30T08:44:29Z")

</div>

Are issues disabled in the github repo? There is a typo in a translation in app.json.

```auto
    "measure_vehicleConnected": {
      "type": "boolean",
      "title": {
        "en": "Chargeport connected",
        "no": "Ladepoort tilkoblet",
        "nl": "Laadpoort verbonden"

```

The Norwegian one is supposed to say “Ladeport tilkoblet”. With one “o” in “Ladeport”.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [October 30, 2024, 5:38pm UTC](https://community.homey.app/t/app-pro-polestar/95083/58 "2024-10-30T17:38:49Z")

</div>

Thanks, ill change it 👍🏻

---

<div class="post-metadata">

**Author:** ![Tycho](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tycho/32/16864_2.png) [@Tycho](https://community.homey.app/u/Tycho)\
**Post date:** [November 7, 2024, 8:53am UTC](https://community.homey.app/t/app-pro-polestar/95083/59 "2024-11-07T08:53:56Z")

</div>

The Polestar app on Homey has worked great for the past months. Unfortunately, since yesterday morning the Homey app cannot authenticate with Polestar anymore. I am getting this error in the debug log:

```auto
Could not decrypt using salt, network connection changed?
{
 "error": "error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length",
 "stacktrace": "Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length\n at Decipheriv.final (node:internal/crypto/cipher:193:29)\n at Object.module.exports.decrypt (/lib/homeycrypt.js:52:31)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async PolestarVehicle.onInit (/drivers/vehicle/device.js:14:35)\n at async PolestarVehicle._onInit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:1:1682)"
}

```

and this one

```auto
Could not login. Please check your credentials or try again later
{
 "error": "Cannot read properties of null (reading 'access_token')",
 "stacktrace": "TypeError: Cannot read properties of null (reading 'access_token')\n at Polestar.#getApiToken (/node_modules/@andysmithfal/polestar.js/polestar.js:195:36)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Polestar.login (/node_modules/@andysmithfal/polestar.js/polestar.js:31:26)\n at async PolestarVehicle.onInit (/drivers/vehicle/device.js:21:17)\n at async PolestarVehicle._onInit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:1:1682)"
}

```

I have already tried:

- Re-entering my password
- Restarting the app
- Restarting Homey
- Changing my password for my Polestar account to something new and adding the new password into the Homey app.
- Repairing the device (Polestar 2), but that results in an infinite loop of login screens

It seems that the authentication keeps failing and that, as a result, the access token is empty.

I am using version 2.3.3 of the Polestar app on Homey. The official Polestar app on my phone still works and I can also sign in to the Polestar website.

Are more people experiencing this?

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [November 7, 2024, 3:10pm UTC](https://community.homey.app/t/app-pro-polestar/95083/60 "2024-11-07T15:10:39Z")

</div>

Same issue myself, probably 2.2 related.  
As soon as i can i will look into it, seems to be related to my password encryption system

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [November 7, 2024, 7:21pm UTC](https://community.homey.app/t/app-pro-polestar/95083/61 "2024-11-07T19:21:50Z")

</div>

Unfortunatly it is a Polestar API change that broke the integration. There are more plugins suffering from it. I see that tthere is a lead being tested to resolve it. Keep you posted.

---

<div class="post-metadata">

**Author:** ![GPaz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gpaz/32/3631_2.png) [@GPaz](https://community.homey.app/u/GPaz)\
**Post date:** [November 7, 2024, 8:23pm UTC](https://community.homey.app/t/app-pro-polestar/95083/62 "2024-11-07T20:23:02Z")

</div>

Thanks @Kaoh! My homey messages went off yesterday because Polestar state was not up to date.

[Previous page](https://community.homey.app/t/app-pro-polestar/95083.md?page=2)

[Next page](https://community.homey.app/t/app-pro-polestar/95083.md?page=4)
