Wrapped TeslaPy python module into a GCP Cloud Function that allow you to
- Lock/Unlock
- Set temp
Currently, this service is using GCP as compute, but the core logic can live anywhere.
- Set up GCP project, and IAM service accounts
- Tesla Credential: Find out how to generate cache.json Tesla credential file here
- Set up Jobs in GCP Scheduler
- Secret Manager: You can choose to store your cache.json file in GCP Secret manager or store it locally. You can use secret_manager.py script to assist with this.
- Cloud Build: can use cloudbuild.yaml to build out the Cloud Function.