tesla-hermes-signaling

command module
v0.0.0-...-475aa62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Tesla Hermes Signaling Protocol

Tesla uses a backend messaging service called Hermes. Both the Vehicle and the Tesla App are connected to Hermes via a WebSocket to exchange messages.

This is a reverse engineered implementation of the Tesla Hermes Signaling Protocol as used in the Tesla App, which was possible by intercepting and decrypting network traffic and decompiling the Android apk.

Current scope is to be able to send commands to the vehicle, as the RESTful APIs are getting disabled soon. Other parts of the Hermes Protocol have yet to be discovered.

main.go is just a demonstration and not intended as a versatile user-friendly cli. Feel free to re-use the hermes package in your own project.

Usage

Generate a private key with tesla-keygen and save a valid owner api access_token to a file.

go run ./ -key <filename> -vin <your vin> --ownerApiToken <filename>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL