Looks like they are working on a v2 of the my-star API.
Website is queries https://pc-api.polestar.com/eu-north-1/mystar-v2 and not /my-star anymore to get battery and odometer data, the old endpoint returns a Graphql error at the moment.
Will observe this behaviour.
Easy fix for now is to replace /my-star with /mystar-v2
Looks like they are working on a v2 of the my-star API.
Website is queries
https://pc-api.polestar.com/eu-north-1/mystar-v2
and not/my-star
anymore to get battery and odometer data, the old endpoint returns a Graphql error at the moment.Will observe this behaviour.
Easy fix for now is to replace
/my-star
with/mystar-v2
https://github.com/niklasvieth/polestar-ios-lockscreen-widget/blob/e27547256baccaa6bd8b244b03c47ea0f735c9f1/polestar-lockscreen-widget.js#L169