Skip to content

General purpose GCP function that takes set of controls

Notifications You must be signed in to change notification settings

mababio/Tesla-Control-Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tesla-control

Summary

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.

Setup For GCP

  • 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

Optional

  • 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.

About

General purpose GCP function that takes set of controls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published