Skip to content

Strosel/carnet_http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Carnet-http

Control and automate your Volkswagen through http

Installing

Requirements

  • An Amazon AWS account

Create a new lambda function with the microservice blueprint.
Upload lambda_function.py and the  modules folder as a .zip file to the new lambda function with lambda_function.main as the handler and a timeout of 1min 30s or more.
Add your username and password to lambda_function.py in the VWCarnet constructor.
Go back to the aws console, open API Gateway and create a new API. Give it a name and click "create API".
Click "Actions" and "Create Method" select the "GET" trigger.
In the setup give it "Lambda Function", "Use Lambda Proxy integration", select your region and function and save.
Go back to the Lambda function and give it the "API Gateway" trigger, select the API you just created. Make it "Open".
You should now have a card with information about the trigger, including a link to trigger it.
Save and you're done!

Usage

Using the Invoke URL from the lambda function trigger the function takes two GET variables task and action.
action can be either start or stop while task can be charging, heating & windowheating.
Using IFTTT and webhooks you can then start any of these tasks using things such as the weather, calendar events or homescreen widgets.

Do you own an Echo?

Look no further than here or the echo version.

Huge Thank you to

@robinostlund: https://github.com/robinostlund/volkswagen-carnet

About

Control and automate your volkswagen with http

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages