ngardiner / TWCManager

Control power delivered by a Tesla Wall Charger using two wires screwed into its RS-485 terminals.
The Unlicense
132 stars 55 forks source link

Incorporation of Teslemetry Authentication into TWCManager #588

Open ChutneyMary opened 5 months ago

ChutneyMary commented 5 months ago

I've started using the attached service for Tesla data (within a Node-Red flow) - https://teslemetry.com/ The only downside is a monthly subscription cost of USD $2.75/month or USD $6.60/3 months.

It'd be great if TWCManager could make use of the Teslemetry authentication routine. Unfortunately, the purchase of a Domain and setting up TWCManager to use a direct procedure is beyond my meagre skills.

Teslemetry also offers a free Webhooks service. This could present TWCManager with a method to reduce API calls (by having a continuous one-way flow of information from vehicle to TWCManager).

danielsan1 commented 5 months ago

Thanks for the finding! It’s the same for me unfortunately - setting up the extra domain/server thing to bring TWCmanager back to normal operations is not working for me :-/ @ngardiner @MikeBishop can this provider help not-so-advanced users to finally make TWCmanager work properly again? (In an easy way)

ngardiner commented 5 months ago

This has all of the features needed to make TWCManager work (other than actually being part of the codebase today) based on what is published on their website.

It seems a bit expensive for what it is. If someone had a subscription anyway I could see it being of use but if this was just for TWCManager I would not call it good value.

That said, I don't think anything exists today which I would call good value. In theory it would be simple enough to host a web app which did the key generation and exchange with Tesla on your behalf, the problem being trusting that web app since it would have access to your private key.

Then again, for how long have we been using apps/websites which fetched Tesla Auth tokens...

MikeBishop commented 5 months ago

Trouble is, I'm fairly sure running a service that just resells access to your auth tokens is pretty blatantly against Tesla's terms of use.

Two asides: