ckuburlis / homebridge-tado

16 stars 15 forks source link

get HomeID #28

Closed StefanMeGit closed 7 years ago

StefanMeGit commented 7 years ago

Cant get the HomeID by the old API... is there any other chance?

I can login on https://my.tado.com but with https://my.tado.com/mobile/1.4/getCurrentState?username=MYEMAIL@gmail.com&password=MYPASSWORD

{"errors":[{"code":"unauthorized","title":"Bad credentials"}]}

morilm commented 7 years ago

StefanMeGit.. I was able to get it following the instructions on this page

http://blog.scphillips.com/posts/2017/01/the-tado-api-v2/

Maybe there is an easy way using the old API without the token but I was not able to find it

nitaybz commented 7 years ago

Go to tado web page and login, than you can use the inspect option in chrome browser, go to the network tab and check one of the 'state' calls, inside that call you would definitely see the homeID, see the covered red part: image

StefanMeGit commented 7 years ago

Works pefectly fine! Thanks!!