wimaha / TeslaBleHttpProxy

TeslaBleHttpProxy is a program written in Go that receives HTTP requests and forwards them via Bluetooth to a Tesla vehicle. The program can, for example, be easily used together with evcc.
Apache License 2.0
11 stars 0 forks source link

Expand the documentation #8

Open Likemike24 opened 2 weeks ago

Likemike24 commented 2 weeks ago

Could you please expand the documentation for dummies? I´m not really firm with GO and Docker, so it would be nice to get the instructions to install and set the required components for using BLE-Proxy on a Raspberry Pi.

wimaha commented 1 week ago

I will update the documentation this week so that a detailed guide on how to handle these values will be available.

dglaude commented 1 week ago

I will update the documentation this week so that a detailed guide on how to handle these values will be available.

Thank you very much in advance, any improvement is appreciated.

I am circulating the various issues/discussions and the various solutions.

There are so many possibilities and steps, such as install evcc, teslamate, this ble proxy, and what else. Also you have to understand docker, maybe install golang and compile your first program. And when you have all the software pieces, you have to configure evcc the proper way. This is fun but really a lot (depending on your starting point).

Right now, I have strong hope in the following command to build locally the container on my machine (but I am not even sure that is the right way): docker build -t wimaha/tesla-ble-http-proxy https://github.com/wimaha/TeslaBleHttpProxy.git

svwhisper commented 1 week ago

The additional doco would be very helpful. I finally got mine working with Node Red, though I gave up on docker. Now I feel somewhat insulated from what Tesla does with their new charging-for-the-api regime.

Thanks for your effort on this little project.

wimaha commented 5 days ago

I have added some more instructions here: https://github.com/wimaha/TeslaBleHttpProxy/blob/main/docs/installation.md

alexonbandit commented 4 days ago

Hi @wimaha, when following the installation procedure I am getting issues at the built process. In STEP2 after I did the clone github I receive the following error:

alex@raspberrypizero:~/vehicle-command $ go get ./... warning: GOPATH set to GOROOT (/home/alex/.local/share/go) has no effect go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 ... ...

alex@raspberrypizero:~/vehicle-command $ go build ./... warning: GOPATH set to GOROOT (/home/alex/.local/share/go) has no effect runtime/cgo gcc: error: unrecognized command-line option '-marm'

Do you know what went wrong? Many thanks in advance!

Likemike24 commented 4 days ago

Hi @wimaha, when following the installation procedure I am getting issues at the built process. In STEP2 after I did the clone github I receive the following error:

alex@raspberrypizero:~/vehicle-command $ go get ./... warning: GOPATH set to GOROOT (/home/alex/.local/share/go) has no effect go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 ... ...

alex@raspberrypizero:~/vehicle-command $ go build ./... warning: GOPATH set to GOROOT (/home/alex/.local/share/go) has no effect runtime/cgo gcc: error: unrecognized command-line option '-marm'

Do you know what went wrong? Many thanks in advance!

You have to use the 32 bit version of the OS and the correct version of Go.

alexonbandit commented 4 days ago

Many thanks! True I installed the 64 bit version! I will give it a try on the weekend.

wimaha commented 4 days ago

I've changed the description to the 64 bit version.