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 am able to successfully log in, but any other call like "somecomfort --devices" gives me a rate limited response. I can wait as long as I want - nothing changes. Below is the sample debug output:
Of note is that the HTTP error message does not mention rate limiting at all; it simply is a generic 401 (401 - Unauthorized: Access is denied due to invalid credentials.
I am also experiencing this problem. I downloaded the code Nov 19, 2020 for the first time.
I never overcame the problem trying to run Somecomfort by itself. However, I was checking it out as a baby-step towards installing the https://github.com/mjcumming/Somecomfort-Homie project to use with my OpenHAB install. I recently got that to work and it seems to be pulling the data it needs from Honeywell TCC using Somecomfort.
I am able to successfully log in, but any other call like "somecomfort --devices" gives me a rate limited response. I can wait as long as I want - nothing changes. Below is the sample debug output:
FOR LOGIN:
pi@rasp-zwave:~ $ somecomfort --login --username xxx --password yyy
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.mytotalconnectcomfort.com:443
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal HTTP/1.1" 200 4155
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 23
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal/Location/GetLocationListData?filter=&page=1 HTTP/1.1" 200 8220
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/956501 HTTP/1.1" 200 1644
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/2521619 HTTP/1.1" 200 1644
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/2115571 HTTP/1.1" 200 1650
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/2118169 HTTP/1.1" 200 1650
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/4414091 HTTP/1.1" 200 1650
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/2307771 HTTP/1.1" 200 1645
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=xxx&RememberMe=false&Password=yyy&timeOffset=480 HTTP/1.1" 200 32
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/2276899 HTTP/1.1" 200 1645
Success
FOR DEVICE CHECK:
pi@rasp-zwave:~ $ somecomfort --devices
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.mytotalconnectcomfort.com:443
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal HTTP/1.1" 200 4155
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal?RememberMe=false&timeOffset=480 HTTP/1.1" 200 4288
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?RememberMe=false&timeOffset=480 HTTP/1.1" 200 4196
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?RememberMe=false&timeOffset=480 HTTP/1.1" 200 4196
INFO:somecomfort:Session refreshed
DEBUG:urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal/Location/GetLocationListData?filter=&page=1 HTTP/1.1" 401 None
Traceback (most recent call last):
File "/home/pi/.local/bin/somecomfort", line 10, in
sys.exit(main())
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/main.py", line 201, in main
_main(session)
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/main.py", line 156, in _main
session=session)
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 385, in init
self._discover()
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 49, in wrapper
return fn(*args, **kwargs)
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 500, in _discover
raw_locations = self._get_locations()
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 463, in _get_locations
return self._post_json(url, params=params)
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 447, in _post_json
return self._request_json('post', *args, **kwargs)
File "/home/pi/.local/lib/python2.7/site-packages/somecomfort/client.py", line 436, in _request_json
raise APIRateLimited()
somecomfort.client.APIRateLimited: You are being rate-limited. Try waiting a bit.
Would be great if I could use the API - trying to get the temperature from the thermostat to lower my shades when it gets too warm.
The text was updated successfully, but these errors were encountered: