#Tesla fleet - I am lost with awe EC2!

11 messages · Page 1 of 1 (latest)

thin briar
#

Hello, please can someone help me with getting Tesla fleet up and running?

I have an Amazon aws account and have created an ec2 instance but what now? Does it need Apache or something installed? How do I get the URL for this instance to give to Tesla?

I haven't been able to find a decent write up online and am going crazy with vague guides.

Thank you

#

Or is there a better route than Aws? Not wedded to a domain but want free if I can as it's only to poll the car for data

gentle fiber
#

Cloudflare Pages is popular and free. I dont have a guide.

#

If your finding it difficult I highly recommend you try out Teslemetry instead, its not free but the data can be almost realtime.

thin briar
#

Thank you, I do have cloudflare as well so might give that look. I don't want to pay being honest as I don't know how much HA I am going to use -just starting out

timber cliff
#

If you only want to read data from the car, and not control it back, then you could use the custom integration from the HACS store. i think it is from user AlanTSE and is called Tesla custom integration:

You additionaly need a mobile phone application that connects to your account and generates a token.

I have used this for some time now, recently lost the posibility to send commands to the car, but have been reciving data from car -> hass the whole time.

Might be a decent solution untill the Tesla fleet integration is more stable and have adjusted for the changes on the API end.

https://github.com/alandtse/tesla

GitHub

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login. - alandtse/tesla

thin briar
timber cliff
#

Ig you check the Github for the teslafleet there are a bunch of people who have been able to hack it into a working mode, by switching certificates and so on. For me that is stilla bit to hackish, ill just wait untill it is more of a straight forward solution to connect and authenticate with oAuth

thin briar
#

After much back and forth I am VERY proud of myself - IT works! It's certainly not an easy process, if I remember how I did it I might try and write up as most guides seem to be getting on or missing odd bits here and there.

timber cliff
#

Now 6 days in, is it still working @thin briar ?

thin briar
#

It is, or rather was but until yesterday but I am swapping HA off a PI to a NUC as the PI just couldnt crack it. I will have to setup again I think as first setup probably wasn't the cleanest with SSL etc a bit of a mess.