iOS shortcuts implementation #277
Unanswered
dazole
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have recently written certain parts of this project using iOS shortcuts for my Mini Cooper. The parts I have working are:
Lock
Unlock
Vent (climate controls).
Unfortunately, Shortcuts aren't something that can be managed via git so I don't really have code to review in the normal sense. However, if it's not a violation or anything, I have the details below. If it is, feel free to delete or let me know and I'll delete.
Yes, it's Mini oriented, but it should be compatible with late-model BMW's, as well since it's based off this project which is for all BMW's.
I believe the only dependency is a working Connected subscription, an iPhone, the Shortcuts app, and apple iCloud Drive.
How to use
Open the “Connected_setup” shortcut (do not run it)
Click on the 3 dots next to the shortcut name
Select "Customize Shortcut". Fill in the appropriate bits
Once thats done, run the "Connected_setup" shortcut. It should create a file called "bmw_connected.json" on your iCloud Drive.
Done worry if you mess up the setup, you can just run it again. Also, please note, the shortcuts are kinda geared toward a Mini JCW GP (its what I have). You can modify them for your car (M2, M3, Beemer, whatever) but thats on you to do. Also, you can't use a key phrase of "car" for some reason, probably because of Apple's "Car Key" thing they have going on.
Also, I haven't been able to test this if you have a security question for Connected services, or for anything outside the USA. So...feedback is more than welcome!
Setup : Script to do the initial setup
Mini_file : Read the json file
Auth : Get the auth token
Status : Check the locked/unlocked status
Lock : Lock the car
Unlock : Unlock the car
Vent : Vent the car
Edit: Updated the "Setup" shortcut to work correctly.
Beta Was this translation helpful? Give feedback.
All reactions