Tado Thermostat plugin

For heating/cooling related questions in Domoticz

Moderator: leecollings

User avatar
waltervl
Posts: 5775
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Tado Thermostat plugin

Post by waltervl »

jannl wrote: Friday 04 April 2025 8:11 knip

Edit: obviously I asked the wrong question. I had to re-enable Tado through the URL, when is this needed? Every restart?
Probably when you restart Domoticz after more than 30 days as the token is valid for 30 days.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jannl
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

Post by jannl »

hm, but no. First token was at 31 march, so that is not it.

Wonder if it is possible to automate that......
User avatar
waltervl
Posts: 5775
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Tado Thermostat plugin

Post by waltervl »

... 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
It should work when token is from 31 March
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
gizmocuz
Posts: 2492
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

Post by gizmocuz »

You should not need to refresh the token yourself if you keep Domoticz running.
If you stop Domoticz, wait 31 days, and start Domoticz again, then you need to do the URL thing again.
(Domoticz will tell you this every minute in the Log)
Quality outlives Quantity!
reinestein
Posts: 16
Joined: Friday 01 April 2022 8:52
Target OS: NAS (Synology & others)
Domoticz version: 2023.1
Contact:

Re: Tado Thermostat plugin

Post by reinestein »

I get this error:
Tado: Failed to retrieve API environment from https://app.tado.com/env.js

Running domoticz 2025.1 build 16672 on docker/unraid. I run the stable version not the latest, because of my Tuya plugin not working.

Any thoughts?
ViperAppie
Posts: 1
Joined: Thursday 22 May 2025 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tado Thermostat plugin

Post by ViperAppie »

Got the same error since yesterday.

ado: Failed to retrieve API environment from https://app.tado.com/env.js

Following the post....
Last edited by ViperAppie on Thursday 22 May 2025 8:48, edited 1 time in total.
User avatar
gizmocuz
Posts: 2492
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

Post by gizmocuz »

Seems TADO removed an environment API call.

I removed this call, and hard coded the endpoint in beta 16703 (others seem to do this as well)
All seems to be working again now
Quality outlives Quantity!
sloeber70
Posts: 23
Joined: Wednesday 08 July 2020 10:59
Target OS: Linux
Domoticz version: latest
Location: Bruges
Contact:

Re: Tado Thermostat plugin

Post by sloeber70 »

Hi..

after updating to latest beta:
Version: 2025.1 (build 16703)
Build Hash: adbdd30c1
Compile Date: 2025-05-22 09:41:41
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]

works again. thx guys !!!
Kind regards,
Sloeber70

Linux 12 Bookworm standard edition
Domoticz latest beta
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest