A Telsa API lambda function inspired by Amit Bahree's post on using an Amazon IoT button to unlock your car.
- Install node.js.
- Run
npm install
in the project's root directory to install dependencies and create a lambda function zip which can be uploaded to AWS.
export HISTCONTROL=ignorespace
# Hide commands from your historyexport TESLA_EMAIL=<your email>
# Add a leading space to hide this commandexport TESLA_PASS=<your password>
# Add a leading space to hide this commandnode test-click.js