kk7ds / somecomfort

A python client and utility for interacting with Honeywell thermostats
GNU General Public License v3.0
35 stars 27 forks source link

APIError: Unexpected 500 response from API #13

Open jschwalbe opened 7 years ago

jschwalbe commented 7 years ago
$ somecomfort --username REDACTED@REDACTED.COM --password REDACTED --set_setpoint_heat=70.1
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): www.mytotalconnectcomfort.com
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal HTTP/1.1" 200 4142
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal?UserName=REDACTED%40REDACTED.COM&RememberMe=false&Password=REDACTED&timeOffset=480 HTTP/1.1" 200 23
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=REDACTED%40REDACTED.COM&RememberMe=false&Password=REDACTED&timeOffset=480 HTTP/1.1" 200 44
INFO:somecomfort:Session refreshed
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=REDACTED%40REDACTED.COM&RememberMe=false&Password=REDACTED&timeOffset=480 HTTP/1.1" 200 44
INFO:somecomfort:Session refreshed
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal/Location/GetLocationListData?page=1&filter= HTTP/1.1" 200 1301
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=REDACTED%40REDACTED.COM&RememberMe=false&Password=REDACTED&timeOffset=480 HTTP/1.1" 200 44
INFO:somecomfort:Session refreshed
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal/Device/CheckDataSession/186335 HTTP/1.1" 200 1707
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "GET /portal?UserName=REDACTED%40REDACTED.COM&RememberMe=false&Password=REDACTED&timeOffset=480 HTTP/1.1" 200 44
INFO:somecomfort:Session refreshed
DEBUG:requests.packages.urllib3.connectionpool:https://www.mytotalconnectcomfort.com:443 "POST /portal/Device/SubmitControlScreenChanges HTTP/1.1" 500 13823
ERROR:somecomfort:API returned 500 from /Device/SubmitControlScreenChanges request
APIError: Unexpected 500 response from API

I can't figure out what's going wrong. Did the API change again? Any thoughts? Using newest version.