Tesla hardware module
Moderator: leecollings
Re: Tesla hardware module
Yes, I have.....
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
Ok. Well I guess you need to play with the parameters. Otherwise I wouldn’t know it. I’ll try tonight to setup MFA to check.chrispazz wrote:Yes, I have.....
Sent from my iPhone using Tapatalk
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
Did you try to provide a backup passcode instead of the passcode? That will avoid the devices section.MrHobbes74 wrote:Ok. Well I guess you need to play with the parameters. Otherwise I wouldn’t know it. I’ll try tonight to setup MFA to check.chrispazz wrote:Yes, I have.....
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: Tesla hardware module
Tried:
TypeError: <lambda>() takes 1 positional argument but 2 were given
TypeError: <lambda>() takes 1 positional argument but 2 were given
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
Weird. I’ll have a look tonight. Maybe I’ll copy and adapt it to my own scriptchrispazz wrote:Tried:
TypeError: <lambda>() takes 1 positional argument but 2 were given
Sent from my iPhone using Tapatalk
- dyter
- Posts: 40
- Joined: Thursday 08 February 2018 15:48
- Target OS: NAS (Synology & others)
- Domoticz version: 8841
- Location: Lyon
- Contact:
Re: Tesla hardware module
If you have Teslamate, you can extract the token API with command:
docker exec -it teslamate_database_1 psql -U teslamate -d teslamate -c "select access from tokens;"
(teslamate_database_1 is the name of docker machine)
And on android, you can use MyTeslaCore to get a new API
docker exec -it teslamate_database_1 psql -U teslamate -d teslamate -c "select access from tokens;"
(teslamate_database_1 is the name of docker machine)
And on android, you can use MyTeslaCore to get a new API
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
Re: Tesla hardware module
YOU ARE MY HERO!
It works!
It works!
-
- Posts: 1
- Joined: Saturday 27 February 2021 19:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tesla hardware module
Good morning all,
I now own a Tesla Model 3 LR 2021, but I cannot use Tesla hardware because I have an error log:
2021-02-27 19: 09: 35.685 Error: TeslaApi: Received token is zero length.
2021-02-27 19: 09: 35.686 Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
I enter my email address from my tesla account, with the password. (I do not use two-factor authentication) then my VIN. yet my password is correct. I also use teslamate which works. Thank you for your help
Domoticz 2020.2 (build 12743) on Raspberry Raspbian GNU/Linux 10 (buster)
I now own a Tesla Model 3 LR 2021, but I cannot use Tesla hardware because I have an error log:
2021-02-27 19: 09: 35.685 Error: TeslaApi: Received token is zero length.
2021-02-27 19: 09: 35.686 Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
I enter my email address from my tesla account, with the password. (I do not use two-factor authentication) then my VIN. yet my password is correct. I also use teslamate which works. Thank you for your help
Domoticz 2020.2 (build 12743) on Raspberry Raspbian GNU/Linux 10 (buster)
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
Hi,dranreb38 wrote:Good morning all,
I now own a Tesla Model 3 LR 2021, but I cannot use Tesla hardware because I have an error log:
2021-02-27 19: 09: 35.685 Error: TeslaApi: Received token is zero length.
2021-02-27 19: 09: 35.686 Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
I enter my email address from my tesla account, with the password. (I do not use two-factor authentication) then my VIN. yet my password is correct. I also use teslamate which works. Thank you for your help
Domoticz 2020.2 (build 12743) on Raspberry Raspbian GNU/Linux 10 (buster)
Tesla changed the authorization procedure.
You need to update to the latest beta version, there you can add a self generated token. See also earlier in this forum.
Sent from my iPhone using Tapatalk
-
- Posts: 32
- Joined: Wednesday 11 November 2020 11:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Sint-Gillis-Waas, Belgium
- Contact:
Re: Tesla hardware module
@MrHobbes74
In the car you can adjust the charge rate. Any chance of making that possible in Domoticz?
In the car you can adjust the charge rate. Any chance of making that possible in Domoticz?
-
- Posts: 42
- Joined: Friday 28 April 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: USA
- Contact:
Re: Tesla hardware module
Hey @MrHobbes74, while you work on getting the new API integrated, would it be difficult to change the "state" of the sensor to something like "token expired" when a manually entered token needs to be refreshed?
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
Good point! I’m not working on getting the API integrated at the moment due to lack of time. But this I can do, I think it’s a good idea. Keep you posted!
-
- Posts: 2
- Joined: Monday 21 December 2020 14:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tesla hardware module
How do I install the new hardware module ... sorry I'm quite a newbie on this. I have the toke n zero length issue as we!l.... But i can't find the how to update the hardware module anywhere ....MrHobbes74 wrote: ↑Friday 05 February 2021 8:57It’s integrated! If you download the latest beta, you can fill in a manual API key (access token).MrHobbes74 wrote:All, I have added the option to specify a API key (a.k.a. access token) in the tesla configuration.
This allows you to use another app to generate the API key / access token
(e.g. via https://registration.teslatasks.com/generateTokens, or download a python script like https://github.com/enode-engineering/te ... n/tesla.py which worked for me)
A token usually works for about a month.
That will give me some time to consider a solution, and meanwhile the tesla module can be used again.
The pull request into domoticz is active, hopefully integration is tomorrow.
Sent from my iPhone using Tapatalk
Thnx in advance mrHobbes...
-
- Posts: 42
- Joined: Friday 28 April 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: USA
- Contact:
Re: Tesla hardware module
you have to update to the latest domoticz beta
-
- Posts: 33
- Joined: Monday 30 March 2020 19:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: DE
- Contact:
Re: Tesla hardware module
Using https://abetterrouteplanner.com, the login is always available. Also they have some additional Values. I really don't know how they do it, but perhaps they are open for information. SmartHome is a really other section
-
- Posts: 2
- Joined: Monday 21 December 2020 14:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 1
- Joined: Saturday 24 April 2021 15:08
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Tesla hardware module
Hi all,dyter wrote: ↑Friday 12 February 2021 19:18 If you have Teslamate, you can extract the token API with command:
docker exec -it teslamate_database_1 psql -U teslamate -d teslamate -c "select access from tokens;"
(teslamate_database_1 is the name of docker machine)
And on android, you can use MyTeslaCore to get a new API
im new here and running EVVehicle for my Tesla S and installed Teslamate to extract a token to use EVVehicle.
Can anyone tell me step-by-step how to extract my token from Teslamate? Tnx all!
- dyter
- Posts: 40
- Joined: Thursday 08 February 2018 15:48
- Target OS: NAS (Synology & others)
- Domoticz version: 8841
- Location: Lyon
- Contact:
Re: Tesla hardware module
This is the only one step !
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
-
- Posts: 42
- Joined: Friday 28 April 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: USA
- Contact:
Re: Tesla hardware module
@MrHobbes74 would you be able to provide a quick example on how to force an Active update via URL? was thinking it would be nice to force an update when i got home from my phone via Tasker/cURL/similar, but not sure where to start. checked wiki but didnt see any example commands yet. thanks!
-
- Posts: 32
- Joined: Wednesday 11 November 2020 11:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Sint-Gillis-Waas, Belgium
- Contact:
Re: Tesla hardware module
Is there someone still involved in maintenance for this plugin?
I am noticing some strange behaviour lately: although everything seems normal, I get these weird messages in the log:
2022-01-24 16:24:01.013 Status: Tesla: Executing command: Get Location state
2022-01-24 16:24:02.866 Status: Tesla: Executing command: Get Charge state
2022-01-24 16:24:04.706 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:05.206 Error: Tesla: Timeout requesting Start charging. Will retry.
2022-01-24 16:24:10.509 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:10.961 Error: Tesla: Timeout requesting Start charging. Will retry.
2022-01-24 16:24:16.326 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:16.871 Error: Tesla: Timeout requesting Start charging. Will retry.
and:
Status: Tesla: Executing command: Start charging
Error: Tesla: Multiple tries requesting Start charging. Assuming car asleep.
Thanks in advance for any help.
JP
I am noticing some strange behaviour lately: although everything seems normal, I get these weird messages in the log:
2022-01-24 16:24:01.013 Status: Tesla: Executing command: Get Location state
2022-01-24 16:24:02.866 Status: Tesla: Executing command: Get Charge state
2022-01-24 16:24:04.706 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:05.206 Error: Tesla: Timeout requesting Start charging. Will retry.
2022-01-24 16:24:10.509 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:10.961 Error: Tesla: Timeout requesting Start charging. Will retry.
2022-01-24 16:24:16.326 Status: Tesla: Executing command: Start charging
2022-01-24 16:24:16.871 Error: Tesla: Timeout requesting Start charging. Will retry.
and:
Status: Tesla: Executing command: Start charging
Error: Tesla: Multiple tries requesting Start charging. Assuming car asleep.
Thanks in advance for any help.
JP
Who is online
Users browsing this forum: No registered users and 0 guests