Skip to content

Commit

Permalink
Merge pull request #27 from iainbullock/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
iainbullock authored Mar 24, 2024
2 parents d6f1518 + 83415ed commit 66b9f8a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tesla_http_proxy/app/curl/fart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
#TESLA_AUTH_TOKEN=XXXXXX
#VIN=xxxxxxxxxxxxxxxxx

curl --cacert ../cert.pem \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TESLA_AUTH_TOKEN" \
--data '{"sound": "1"}' \
"https://$PROXY_HOST:4430/api/1/vehicles/$VIN/command/remote_boombox"
9 changes: 9 additions & 0 deletions tesla_http_proxy/app/curl/open_boot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
#TESLA_AUTH_TOKEN=XXXXXX
#VIN=xxxxxxxxxxxxxxxxx

curl --cacert ../cert.pem \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TESLA_AUTH_TOKEN" \
--data '{"which_trunk": "rear"}' \
"https://$PROXY_HOST:4430/api/1/vehicles/$VIN/command/actuate_trunk"

0 comments on commit 66b9f8a

Please sign in to comment.