Interested in an unofficial Apple Watch app?

electricsidecar

Well-Known Member
Joined
Oct 15, 2022
Threads
8
Messages
616
Reaction score
804
Location
USA
Website
electricsidecar.app
Vehicles
Volcano Gray Taycan 2022
Country flag
November 2023 important links
Join the beta: https://electricsidecar.app/
Subscribe to "Nuts and bolts: the making of Electric Sidecar": https://electricsidecar.substack.com/

------

I’ve found a few unofficial libraries that work decently well at hitting the My Porsche end points, which got me thinking how nice it would be to have an Apple Watch app tailored to the car :)

Rough feature ideas:

- Complications showing: battery meter, range remaining, car mileage, distance from current location, tire PSI
- Actions for: unlocking, locking, honking / flashing the lights
- Setting/changing alarms

Probably a few other features are possible depending on what’s available in the API endpoints.

Given that this wouldn’t be an official app, I’m most likely to just make it open source and/or free, with pretty significant disclaimers as to the possibility of it breaking at any point. If you’d like to hack on this with me, let’s use this thread to ideate :)
Sponsored

 
Last edited:

tigerbalm

Well-Known Member
First Name
Damien
Joined
Oct 11, 2020
Threads
77
Messages
2,777
Reaction score
6,207
Location
Ireland
Vehicles
Taycan Turbo S, Fiat 500 EV
Country flag
I’ve found a few unofficial libraries that work decently well at hitting the My Porsche end points
If one of them happens to be https://github.com/driven-app/porsche-connect – then do please let me know how you get on with it. I'm struggling to find time to improve it!

It scratched my own itch – in that I wrote myself a macOS app that I call "ChargeBar" that shows the current battery level of my car on my toolbar:

Porsche Taycan Interested in an unofficial Apple Watch app? No Quick Hel


211-D-13830:

Porsche Taycan Interested in an unofficial Apple Watch app? IMG_0534
 
OP
OP
electricsidecar

electricsidecar

Well-Known Member
Joined
Oct 15, 2022
Threads
8
Messages
616
Reaction score
804
Location
USA
Website
electricsidecar.app
Vehicles
Volcano Gray Taycan 2022
Country flag
Hey Damien! Yes! https://github.com/driven-app/porsche-connect was the first one I found — I wasn't able to get it authenticating unfortunately and was just leaving some comments in https://github.com/driven-app/porsche-connect/issues/50 :)

I did find https://github.com/CJNE/pyporscheconnectapi which seems more functional. I've since ported that Python library over to Swift and have a functional proof of concept, now I'm working on pulling the gnarly code apart into a semi-reasonable library. I'd like to see if I can find a good way to merge the code back to your repo!
 


tigerbalm

Well-Known Member
First Name
Damien
Joined
Oct 11, 2020
Threads
77
Messages
2,777
Reaction score
6,207
Location
Ireland
Vehicles
Taycan Turbo S, Fiat 500 EV
Country flag
I'll take a look today to see if there is anything obvious/easy causing the library to fail the Porsche auth flow.
 

B61

Well-Known Member
First Name
Bine
Joined
May 31, 2021
Threads
7
Messages
2,382
Reaction score
1,558
Location
SI
Vehicles
CT4 (9/2021)
Country flag
Once/if you’ll need additional tester, let me know.
As a retired IT professional, i have plenty of time :blush:
 


Alex74

Well-Known Member
First Name
Alex
Joined
Jun 10, 2021
Threads
11
Messages
323
Reaction score
356
Location
Belgium
Vehicles
Taycan 4 CT (MY22)
Country flag
If one of them happens to be https://github.com/driven-app/porsche-connect – then do please let me know how you get on with it. I'm struggling to find time to improve it!

It scratched my own itch – in that I wrote myself a macOS app that I call "ChargeBar" that shows the current battery level of my car on my toolbar:

No Quick Help.png


211-D-13830:

IMG_0534.jpeg
Busted: this,is taken at the E17 in Wetteren (direction bxl)Belgium. 🤫
with slow working chargers, most of the time. Other side is better.
 

tigerbalm

Well-Known Member
First Name
Damien
Joined
Oct 11, 2020
Threads
77
Messages
2,777
Reaction score
6,207
Location
Ireland
Vehicles
Taycan Turbo S, Fiat 500 EV
Country flag
OP
OP
electricsidecar

electricsidecar

Well-Known Member
Joined
Oct 15, 2022
Threads
8
Messages
616
Reaction score
804
Location
USA
Website
electricsidecar.app
Vehicles
Volcano Gray Taycan 2022
Country flag
Ah awesomeness! That seems to square up with the discrepancies I was seeing on my end as well. Starting to send some minor PRs your way! I'd like to start fleshing out a few of the endpoints.
 
OP
OP
electricsidecar

electricsidecar

Well-Known Member
Joined
Oct 15, 2022
Threads
8
Messages
616
Reaction score
804
Location
USA
Website
electricsidecar.app
Vehicles
Volcano Gray Taycan 2022
Country flag
I put https://github.com/jverkoey/ElectricSidecar/commit/ba89fe3286dbdf8bbb8ebab454edb4590de8e4dc together as an attempt to fix the auth issue and confirmed that the CLI tool is working now. I'm thinking it might be beneficial to adopt the same routing-determination mechanism that the python library uses (i.e. checking the URL prefix for which application to hit) so that the public endpoint function calls don't have to worry about which Application endpoint they're supposed to be routing through.
 
 




Top