-
First off thank you for all of the work you've done with Teslamate and Tesla Auth. Amazing! I would like to compile your Tesla Auth code myself and then run it but alas I'm not knowledgeable enough to know how to carry out this task. I can use Mac, Windows, or RPi so whichever one of these platform is easiest will work. Would you be so kind as to let me know what I would need to do to compile your code and create the executable myself? Is it as simple as just downloading the three .rs files (auth, htime, and main) into a directory and then running rustc main.rs within that directory? Thank you for your time and help. UPDATE: I did some digging and learned some more about Rust (never worked with or heard of it before). I decided to install Rust on the same RPi that Teslamate is installed on. Following the instructions here in the Rust docs (https://doc.rust-lang.org/book/ch01-01-installation.html) I installed Rust and then Git, and then cloned this repo and ran cargo build. Let's see if it works. UPDATE 2: Got the follower errors and build failed: Not sure how to proceed from here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Seems like I'm missing some dependencies but as I was trying to figure that out I realized that the Teslamate RPi install has no Desktop or GUI so running tesla_auth will not work (correct me if I'm wrong). Therefore, I decided to build/compile tesla_auth on my Macbook and there it seems to work fine. For completeness sake the following are the steps I took to get it working on my Macbook:
|
Beta Was this translation helpful? Give feedback.
-
Glad you figured it out! Building on macOS is probably the easiest. On Linux WebKitGTK is needed, e.g. for Debian based distributions the following packages have to be installed:: |
Beta Was this translation helpful? Give feedback.
Seems like I'm missing some dependencies but as I was trying to figure that out I realized that the Teslamate RPi install has no Desktop or GUI so running tesla_auth will not work (correct me if I'm wrong).
Therefore, I decided to build/compile tesla_auth on my Macbook and there it seems to work fine.
For completeness sake the following are the steps I took to get it working on my Macbook:
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
git clone https://github.com/adriankumpf/tesla_auth.git
cd tesla_auth
cargo build
cd target