Tesla hardware module
Moderator: leecollings
- 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
API doesn't work now, I have message:
Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
-
- 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
The module is integrated into Domoticz. So if you have the latest domoticz version, you have the latest Tesla module.PVuser wrote: ↑Friday 29 January 2021 18:20 Can you help me how to update an oder version of this module? I can't find the original installation instruction and no instruction to update an existing one?
Also I have an feature request: Perhaps you can implement an counter for the car status (awake or not) to see, how long and at which time the car sleeps.
Thanks
- 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
Logging work on MyTeslaCore app, change my IP and same problem, I'm blacklisted ?
Code: Select all
2021-01-30 08:28:04.179 Error: CheckAuthToken(b55ed9084278e9fe8e8fc9794351ca7e_OWVkYjdlZDYtZGM0MS00NzY5LTk5...................) : session id not found
2021-01-30 08:28:06.415 Error: TeslaApi: Received token is zero length.
2021-01-30 08:28:08.305 Error: TeslaApi: Received token is zero length.
2021-01-30 08:28:10.149 Error: TeslaApi: Received token is zero length.
2021-01-30 08:28:12.081 Error: TeslaApi: Received token is zero length.
2021-01-30 08:28:12.081 Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
-
- 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
Restarting Domoticz has no effect?dyter wrote: ↑Saturday 30 January 2021 8:32Logging work on MyTeslaCore app, change my IP and same problem, I'm blacklisted ?
Code: Select all
2021-01-30 08:28:04.179 Error: CheckAuthToken(b55ed9084278e9fe8e8fc9794351ca7e_OWVkYjdlZDYtZGM0MS00NzY5LTk5...................) : session id not found 2021-01-30 08:28:06.415 Error: TeslaApi: Received token is zero length. 2021-01-30 08:28:08.305 Error: TeslaApi: Received token is zero length. 2021-01-30 08:28:10.149 Error: TeslaApi: Received token is zero length. 2021-01-30 08:28:12.081 Error: TeslaApi: Received token is zero length. 2021-01-30 08:28:12.081 Error: Tesla: Aborting due to too many failed authentication attempts (and prevent getting blocked)!
- 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
no effect, but I can't change my IP, I think I blacklisted because too many login with my lua script
Postman return no page exist
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
Re: Tesla hardware module
Same problem here....
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
-
- 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
I found the issue. Tesla has (in the past few days) deprecated the main authentication API endpoint that is used in the tesla module in favor of auth.tesla.com. This means that the tesla authorisation in Domoticz no longer works once a new authorisation is required.
I will try to figure out how to adapt to the new authorisation method (but this is not my expertise so it may take a while....). Until then, the Tesla module will no longer work.
I will try to figure out how to adapt to the new authorisation method (but this is not my expertise so it may take a while....). Until then, the Tesla module will no longer work.
- 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
Good news !
The plugin is inside the "domoticz" executable or elsewhere in a file ?
it would be better to have it as before in external python for test
The plugin is inside the "domoticz" executable or elsewhere in a file ?
it would be better to have it as before in external python for test
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
-
- 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
It’s not so good news, the Tesla API community is still figuring out how to connect using the new authorization. It’s quite complex. Like I said, it may take a while.dyter wrote:Good news !
The plugin is inside the "domoticz" executable or elsewhere in a file ?
it would be better to have it as before in external python for test
The Tesla has never been a python plugin, I have created it from scratch in c++ as native module in domoticz. However I know someone else wrote an initial python module before I started but this has never been integrated and he stopped developing it.
- 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
Perhaps an alternative with mqtt docker ?
I found this bridge but need a powerwall: https://github.com/terafin/mqtt-tesla-bridge
I found this bridge but need a powerwall: https://github.com/terafin/mqtt-tesla-bridge
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
-
- Posts: 347
- Joined: Friday 03 April 2015 17:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tesla hardware module
Same connection problems on my side.
2021-02-02 09:21:08.596 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:10.701 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:12.767 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:15.284 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:17.402 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:19.508 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:21.610 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:23.777 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:25.846 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:27.897 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:29.983 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:32.119 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:34.269 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:36.372 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:08.596 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:10.701 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:12.767 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:15.284 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:17.402 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:19.508 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:21.610 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:23.777 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:25.846 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:27.897 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:29.983 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:32.119 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:34.269 Error: TeslaApi: Received token is zero length.
2021-02-02 09:21:36.372 Error: TeslaApi: Received token is zero length.
- 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
OAuth method changed: https://www.teslaapi.io/authentication/oauth
I don't know how make token key manualy in domoticz for work
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
in the interim, could you add a box to manually input an API key? that could be a quick fix while you work out the login stuff..? or, if there are files somewhere i could manually edit to skip login and just use a key, i could do that too. i just dont know where it is since its not a separate pluginMrHobbes74 wrote: ↑Sunday 31 January 2021 11:55 It’s not so good news, the Tesla API community is still figuring out how to connect using the new authorization. It’s quite complex. Like I said, it may take a while.
The Tesla has never been a python plugin, I have created it from scratch in c++ as native module in domoticz. However I know someone else wrote an initial python module before I started but this has never been integrated and he stopped developing it.
-
- Posts: 1
- Joined: Thursday 04 February 2021 11:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tesla hardware module
Besides Domoticz I'm also using Jedlix to connect to my Tesla. The same issue with connecting last weekend, but they've release a new version of their app which solved the issue and includes 2FA.
Perhaps they can share some insights?
Perhaps they can share some insights?
-
- 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
There are already several solutions online, I have found them. However there is no c++ version and making it is very complex in our Domoticz environment.Guido wrote:Besides Domoticz I'm also using Jedlix to connect to my Tesla. The same issue with connecting last weekend, but they've release a new version of their app which solved the issue and includes 2FA.
Perhaps they can share some insights?
I’m thinking of other ways, I have found a python script that can generate the right tokens for the Tesla module.
But as you know, lockdown, kids and hence limited free time, it will take a while . Unless there is another developer who wish to dive into it...
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
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.
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.
-
- 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
It’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
- 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
Good job !MrHobbes74 wrote: ↑Thursday 04 February 2021 23:51 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.
I have a Jahadl compiled and there are no new version for my synology, I copy the new hardware folder and I show the new tesla plugin but not work again, I show Error: TeslaApi: Received token is zero length. Is there another folder to copy ?
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
Who is online
Users browsing this forum: No registered users and 1 guest