Page 6 of 6

Re: Tado Thermostat plugin

Posted: Friday 04 April 2025 13:20
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.

Re: Tado Thermostat plugin

Posted: Friday 04 April 2025 13:33
by jannl
hm, but no. First token was at 31 march, so that is not it.

Wonder if it is possible to automate that......

Re: Tado Thermostat plugin

Posted: Friday 04 April 2025 13:39
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

Re: Tado Thermostat plugin

Posted: Saturday 05 April 2025 7:40
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)

Re: Tado Thermostat plugin

Posted: Thursday 22 May 2025 8:19
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?

Re: Tado Thermostat plugin

Posted: Thursday 22 May 2025 8:47
by ViperAppie
Got the same error since yesterday.

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

Following the post....

Re: Tado Thermostat plugin

Posted: Thursday 22 May 2025 9:48
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

Re: Tado Thermostat plugin

Posted: Thursday 22 May 2025 21:14
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 !!!

Re: Tado Thermostat plugin

Posted: Friday 13 June 2025 0:32
by Donski
gizmocuz wrote: Thursday 22 May 2025 9:48 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
I had also had the API environment errors:

Code: Select all

 Error: Tado thermostaat: Failed to retrieve API environment from https://app.tado.com/env.js
And I was running:

Version: 2025.1
Build Hash: 89d5c900d
Compile Date: 2025-05-05 09:02:49
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]

Installed the beta as suggested and everything seems to work again.

Now I’m running:

Version: 2025.1 (build 16712)
Build Hash: e3d5ebea0
Compile Date: 2025-05-27 08:21:42
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]

But since 2 days encounter some issues with the tado API again. I use the geofencing away status of tado to control a couple of lights in my home and I noticed they were acting strange, randomly switching off and within a minute or so switching back on. I checked the tado app and here I was marked as home only the status in domoticz was away, after checking the error log I saw the following error:

Code: Select all

Error: Tado thermostaat: Failed to perform GET request to Tado Api: ; Response headers: HTTP/1.1 28 Timeout was reached
I tried rebooting my Pi but the problem persists. Does anybody now what’s causing this issue and how to fix it?