pypolestar / polestar_api

Polestar API - Home Assistant Component
MIT License
137 stars 25 forks source link

Not possible to have two Polestars configured at the same time? #150

Closed palengh closed 6 days ago

palengh commented 3 months ago

Could be an issue, or by design.

Just wanted you guys to know I have two Polestars defined in my HA installation. My new Polestar 4 seems to update, while my Polestar 2 became unavailable. Good thing the PS4 is still in transit, stored on the quay in Zeebrugge, Belgium. Nice to see it's "alive", but what happened to the data from my PS2?

image
palengh commented 3 months ago

same as #128

puttemanp commented 1 month ago

Same issue. Have a P3 in transit, P2 I'm driving. P3 showed up in the integration and at the same time P2 became unavailable. I suspect this issue exists with all owners with more than one Polestar.

leeyuentuen commented 1 month ago

If I could have the credentials of the person who got multiple polestars on the account, I could debug the issue and create something. Normally I have only access to the information, but I can't control/unlock the car.

But I understand that it is not easy to share this credential to someone on the internet that you don't know them. So the issue can't be fixed (for me) without this information

puttemanp commented 1 month ago

I can give you my login/pw combination privately, but you'll have to be quick as my P2 will be removed on Sept. 24 as I'll take delivery of my P3 (and that will give you the occasion to check your integration for compatibility with P3).

leeyuentuen commented 1 month ago

I can give you my login/pw combination privately, but you'll have to be quick as my P2 will be removed on Sept. 24 as I'll take delivery of my P3 (and that will give you the occasion to check your integration for compatibility with P3).

send me an email with the credential to: leeyuentuen[at]gmail.com

Thanks. maybe I can take a look in the next few days (but not guarantee)

puttemanp commented 1 month ago

Done :)

Sent from my iPhone

On 19 Sep 2024, at 10:11, Tuen Lee @.***> wrote:

leeyuentuen[at]gmail.com

leeyuentuen commented 1 month ago

I've temporarily done a dirty way to get both of the cars.

We need to refactor them better. but see what the feedback is on the beta version:

https://github.com/leeyuentuen/polestar_api/releases/tag/1.7.0

puttemanp commented 1 month ago

Maybe a dirty way, but it works... Both cars detected after installation of 1.7.0 (don't forget to restart HA as I first did) and all entities present!

leeyuentuen commented 1 month ago

@puttemanp thanks again for the credential for testing. If I have more time, I can investigate them more and make them more cleaner way

remcotjeerdsma commented 1 month ago

Thank you for fixing this; also helped me! And in general, thanks for the work on this integration.