Closed alexespencer closed 3 years ago
Sadly, I think that all the endpoints seem to be different for UK/Europe? /portal is invalid on the international.*.com URL. I'll do my best to find the right ones...!
So..worse news - there is no API. It looks like HTML passing would be the way to go?
This library doesn't really support TCC instances that don't use /portal. I think it may only apply to the US version.
I'm definitely open to the possibility of a PR to add support, but it currently definitely won't work.
On Sun, Oct 17, 2021 at 6:55 AM Alex @.***> wrote:
So..worse news - there is no API. It looks like HTML passing would be the way to go?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csm10495/pyhtcc/issues/4#issuecomment-945128876, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL3YTU5PXP4RC36IQDXXRDUHLIUBANCNFSM5GE2HBYQ .
I think it'll be a lot of work - looking at the calls the site makes, all the returns from things like /Locations /Zones etc are full HTML pages, not JSON packets... I've dropped support at Honeywell an email...here's hoping. If there is an API, I'd be happy to submit a PR
Some uses mights need URLs that look like this: https://international.mytotalconnectcomfort.com/Account/Login?task=logout
Note "international" in the URL. We might want to have the code accept a customer path, or a switch for these users?