Hello Mathias,
here is the link to the zipped routines:
https://mega.nz/file/tl1AlapQ#sfk2Y8Bq9BAOtOiuhbp_q0AVE-uqVNstkl-Gmbrsnqs
There are 4 routines:
TADO.m creates a single room plot, inputs must typed into the code
TADO_f.m is a Matlab function of TADO.m, inputs as passed as arguments
TADO_multi.m calls TADO_f.m several times in order to have multiple plots (for different rooms), inputs must be typed into the code.
TADO_multi_f.m the same as the latter, but the imputs are passed as arguments (is a function).
They manage the heating only, but i guess it should be easy enough the extend them to the cooling too.
In TADO_multi.m and TADO_multi_f.m, the variable "Day" equal to "0" (zero) means today, "1" means yesterday, "2" the day before yesterday, and so on.
To make them work you have to get the Client Secrect, then your homeId is derived automatically, since this takes some time (the server response time), after you got the ID, you can write that number explicitally in the "homeId" variable. (See comments into the code).
You have also to check the number of your zones (rooms), please note that Tado generates a new number each time you create a room (even if it was deleted just before) - regardless of its label. So, even if you have only 4 rooms the zones can have an odd numbering, for example: 1, 3, 4, 9 (depending on how much you have "played" with them).
For convenience, I created two standalone applications: one for TADO_multi.m with Day = 0 (today) and one for TADO_multi.m with Day = 1 (yesterday) and named them as TADO_multi_0.exe and TADO_multi_1.exe, so that I can call them directly from my windows desktop.
If you have any question, do not esitate to contact me.