Just an heads up: This is fixed in latest 2024.7 beta see also https://github.com/domoticz/domoticz/issues/6196Recently the Tado plugin stopped working. The log shows the error: Error: tado: Failed to retrieve API environment from https://my.tado.com/webapp/env.js
After some investigation is looks like the hard-coded API-url (in hardware/tado.ccp) is not correct anymore.
When opening the url in the browser, it redirects to https://app.tado.com/env.js and serves the env.json with the required information.
Tado Thermostat plugin
Moderator: leecollings
- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 17
- Joined: Wednesday 26 February 2020 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tado Thermostat plugin
Besides Domoticz, Dashticz etc I also use IoBroker, a Germany based homeautomation system. What is called a plugin in Domoticz is called a adapter in IoBroker. The Tado adapter got a update the reason why is also important for the Tado plugin within Domoticz as the login method will be token based from March 21 2025. Which is next Friday......
See https://github.com/DrozmotiX/ioBroker.tado/issues/954
It starts with the mailtext from Tado:
We’ve noticed that you’re using the unofficial tado° REST API with the password grant flow and the clients ‘tado-web-app’ or ‘public-api-preview’.
To meet strict security standards, we haven’t used the password grant flow in any official tado° applications for a while and we’ll be removing access to it on 21 March 2025.
If you’ve written your own software, we’ve provided an alternative method of authentication, please check out this article (see link above)for details.
We’ve already informed Home Assistant and python-tado, the largest open-source software systems using this authentication method, and they’ve confirmed that they'll provide an update by the deadline. If you’re using any other open-source or commercial home automation software, we recommend reaching out to them directly.
Is anyone working on this issue already??
See https://github.com/DrozmotiX/ioBroker.tado/issues/954
It starts with the mailtext from Tado:
We’ve noticed that you’re using the unofficial tado° REST API with the password grant flow and the clients ‘tado-web-app’ or ‘public-api-preview’.
To meet strict security standards, we haven’t used the password grant flow in any official tado° applications for a while and we’ll be removing access to it on 21 March 2025.
If you’ve written your own software, we’ve provided an alternative method of authentication, please check out this article (see link above)for details.
We’ve already informed Home Assistant and python-tado, the largest open-source software systems using this authentication method, and they’ve confirmed that they'll provide an update by the deadline. If you’re using any other open-source or commercial home automation software, we recommend reaching out to them directly.
Is anyone working on this issue already??
- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
This should be fixed in latest beta... Are you using latest beta? See also the forum post just before you posted this question.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 17
- Joined: Wednesday 26 February 2020 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tado Thermostat plugin
Should be fixed or is fixed? Yes, I read that forum post, but didn't see a link between the two issues, which might be my lack of knowledge of this stuff.
No, I don't use beta versions as I'am very much interested in any latest stable version, for many years already. Thanks for all the effort.
No, I don't use beta versions as I'am very much interested in any latest stable version, for many years already. Thanks for all the effort.
- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
Frankly I also have no idea this is fixed in latest beta......
Perhaps other Tado - Domoticz users got this email too?
https://support.tado.com/en/articles/85 ... e-rest-api
Perhaps other Tado - Domoticz users got this email too?
https://support.tado.com/en/articles/85 ... e-rest-api
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Tuesday 12 December 2017 20:49
- Target OS: Linux
- Domoticz version: 2025.1
- Location: The Netherlands
- Contact:
Re: Tado Thermostat plugin
Hello!
This seems not to be fixed yet.
Sharp at 7am this morning the plugin is not working anymore and giving the following:
This seems not to be fixed yet.
Sharp at 7am this morning the plugin is not working anymore and giving the following:
2025-03-21 20:42:40.719 Error: TADO: Received token is zero length.
- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
Indeed, there is already a new GitHub issue for this.
https://github.com/domoticz/domoticz/issues/6278
But assistance from a developer with a tado and tado account will be needed...
https://github.com/domoticz/domoticz/issues/6278
But assistance from a developer with a tado and tado account will be needed...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- gizmocuz
- Posts: 2480
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Tado Thermostat plugin
New beta (final Tado changes) is ready (16598)
Quality outlives Quantity!
-
- Posts: 27
- Joined: Monday 26 July 2021 11:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Contact:
Re: Tado Thermostat plugin
Gizmocuz has worked miracles once again
I can confirm this solved the problem but i did not update to the latest ‘polished’ beta update yet.
Glad I could help by providing credentials to test! But credits are due to Gizmocuz!!!

I can confirm this solved the problem but i did not update to the latest ‘polished’ beta update yet.
Glad I could help by providing credentials to test! But credits are due to Gizmocuz!!!
DJ
-
- Posts: 5
- Joined: Wednesday 04 April 2018 17:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Noord-Brabant
- Contact:
Re: Tado Thermostat plugin
I also experience this problem. Last night at exactly 3:00 o'clock is stopped sending information.
First thing I tried was reboot my Raspberry PI and for the first time in 7 years the SD-card crashed
Luckily I made an image and this helped me bringing Domoticz back to life, but the problem with Tado stays.
I keep getting the message Tado Thermostaat: Received token is zero length
I tried upgrading to the latest Beta version but after that I couldn't give in credentials in the hardware settings of the Tado plugin.
I downgraded again to version 2024.7 but this problem stays. When I remove the Tado hardware I can't reinstall is; when I click submit nothing happens.
I put back an old database backup, Tado is in my list of hardware but does not communicate.
Does anyone have a great idea because I'm a bit out of inspiration
Thanks in advance
First thing I tried was reboot my Raspberry PI and for the first time in 7 years the SD-card crashed

Luckily I made an image and this helped me bringing Domoticz back to life, but the problem with Tado stays.
I keep getting the message Tado Thermostaat: Received token is zero length
I tried upgrading to the latest Beta version but after that I couldn't give in credentials in the hardware settings of the Tado plugin.
I downgraded again to version 2024.7 but this problem stays. When I remove the Tado hardware I can't reinstall is; when I click submit nothing happens.
I put back an old database backup, Tado is in my list of hardware but does not communicate.
Does anyone have a great idea because I'm a bit out of inspiration

Thanks in advance

- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
Tado has recently made a change in their API as indicated. You have to update Domoticz to latest beta and follow the procedure below as described in the GitHub issue by Gizmocuz.
Edit: Modified the procedure a little bit to make it more understandable.The procedure is as following:
When the hardware is started for the first time, and it does not have authenticated before, a log message is displayed with an authentication URL starting with login.tado.com.
You can see this if you go to Setup->Log
You need to visit this URL to authenticate with your Tado user account.
Domoticz will check every 10 seconds if you have completed it and continue
All should work now
... When Domoticz is started another time, it will use the Refresh Token to get a new Access Token
The Refresh Token is valid for 30 days, so you need to start Domoticz within 30 days
In case there is a problem with the refresh token (30 days, or revoked), the Login message is presented again to the end user and you need to go to this URL again
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Wednesday 04 April 2018 17:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Noord-Brabant
- Contact:
Re: Tado Thermostat plugin
Hi Walter,
I had read this post already, but it says
What URL is meant there?
I had read this post already, but it says
You need to visit this URL
What URL is meant there?
-
- Posts: 5
- Joined: Wednesday 04 April 2018 17:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Noord-Brabant
- Contact:
Re: Tado Thermostat plugin
Eureka
The URL is mentioned in your log file after the upgrade. Now it works, took me some time
But thanks foor your help


But thanks foor your help

-
- Posts: 16
- Joined: Sunday 08 January 2017 10:37
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Tado Thermostat plugin
How is the URL mentioned exactly in the log? I see a very long message containing an IP address and a cloudfront URL. What should I be using?
And what version of Domoticz is required. The latest I see is 2024.7.
And what version of Domoticz is required. The latest I see is 2024.7.
- gizmocuz
- Posts: 2480
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Tado Thermostat plugin
You have to use the latest beta version, and you will see it mentioned quite clear... quite a few log lines about thissandeman684 wrote: ↑Monday 31 March 2025 12:40 How is the URL mentioned exactly in the log? I see a very long message containing an IP address and a cloudfront URL. What should I be using?
And what version of Domoticz is required. The latest I see is 2024.7.
If you open two browser instances (side by side), on the left you 'disable' the TADO hardware, on the right you display the log
Now when you enable the TADO hardware on the left, you will see this message on the right side
Be sure to be on the latest beta first
Quality outlives Quantity!
- waltervl
- Posts: 5721
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tado Thermostat plugin
I updated their procedure description. You should see an url starting with login.tado.com when using latest beta.sandeman684 wrote: ↑Monday 31 March 2025 12:40 How is the URL mentioned exactly in the log? I see a very long message containing an IP address and a cloudfront URL. What should I be using?
And what version of Domoticz is required. The latest I see is 2024.7.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 666
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: Tado Thermostat plugin
Don't forget to set the loglevel to info/status
-
- Posts: 16
- Joined: Sunday 08 January 2017 10:37
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Tado Thermostat plugin
Thanks a lot. It cost me some effort to get my Docker container on Synology upgraded, but now it works like a charm again.
-
- Posts: 666
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: Tado Thermostat plugin
knip
Edit: obviously I asked the wrong question. I had to re-enable Tado through the URL, when is this needed? Every restart?
Edit: obviously I asked the wrong question. I had to re-enable Tado through the URL, when is this needed? Every restart?
Who is online
Users browsing this forum: No registered users and 1 guest