h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

BASE_URL no longer correct #134

Closed Zburatorul closed 11 months ago

Zburatorul commented 11 months ago

I was unable to run python3 example.py --username (...) --password (..) successfully and the error indicated it couldn't resolve that URL. I found an IP that my AC was talking to, reverse resolved it to ac7c4049b165d5aa1.awsglobalaccelerator.com. And while it is listening on 443, it breaks the connection too early. I tried disabling SSL verification.

How else could we discover the right URL and connect to it correctly?

h4de5 commented 11 months ago

the example.py is a really old, initial POC - it has moved one from there to use the separated python package: https://github.com/KaSroka/Toshiba-AC-control

you can see current urls and examples there: https://github.com/KaSroka/Toshiba-AC-control/blob/main/toshiba_ac/utils/http_api.py

Zburatorul commented 11 months ago

Thank you for the clarification.