Wrapped TeslaPy python module intop a GCP Cloud Function that returns GPS Cordinates of Tesla vechile. 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
- 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.