You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very new to Python. So I may not know what I'm saying.
If I use aioeagle SAMPLE.PY and put in my CloudID, InstallCode and IP of my unit, I keep receiving a "BadAuth" from the code. I know my CloudID and InstallCode are correct. If I modify hub.py line 38 (there abouts)
I'm very new to Python. So I may not know what I'm saying.
If I use aioeagle SAMPLE.PY and put in my CloudID, InstallCode and IP of my unit, I keep receiving a "BadAuth" from the code. I know my CloudID and InstallCode are correct. If I modify hub.py line 38 (there abouts)
self.auth = BasicAuth(cloud_id, install_code)
to
self.auth = BasicAuth(cloud_id, install_code).encode()
The AUTH and the request now works, but the code fails elsewhere, complaining of a thuple error.
looking at AIOHTTP.PY code the only time that code encodes the AUTH is on initialization of the class. I'm at a loss of how to fix this.
Any pointers?
Thanks
The text was updated successfully, but these errors were encountered: