Honeywell Smart Wi-Fi Thermostat Compatibility

version that support Celsius and Fahrenheit … need to go into the edit/device and choose which you have it set too. and then refresh on the tile

@ethomasii I managed to read through the entire thread and was able to connect both of my RTH9580S thanks to your code. I wanted to thank you personally for your hard work and contributions. Smartthings is far from perfect, but the online community makes up for all the deficiencies.

Thanks a lot… I don’t participate in many discussions other than to throw out code I have that works for me, so I apologize if there was anything I could have answered sooner but missed.

Thermostat code keeps on chugging along for me.

Followed @Lgkahn code but it doesn’t seem to be working. No activity, functions or stats. Added right device ID, user and password. Am I missing something?

I also haven’t been able to connect my RTH9580 using @Lgkahn Device Type.
I’m getting: groovyx.net.http.HttpResponseException: Unauthorized @ line 625
when it polls https://www.mytotalconnectcomfort.com/portal/Device/CheckDataSession/XXXXXXX?_=1449792327211
I double checked user/password/device id.

plus it looks like the login is successful:
f9696643-a189-47bd-b2bc-310f044ad47a 7:05:27 PM: debug Request was successful, 302
f9696643-a189-47bd-b2bc-310f044ad47a 7:05:26 PM: debug Executing ‘login’

I’ll post if I get it working.

Update I triple checked username/password and got it working! Chrome password manager failed me.

That eror is Honeywell blocking u

Lgkahn’s code is working fine for my wifi thermostat

1 Like

if this happens it you get an unauthorized response. it is pretty easy to see

new version of device type by me:

because sometimes the refresh does not work or errors out due to you being on the Honeywell blacklist (you get unauthorized response). or other errors I have seen lately.

I have added a tile for last update time, that gets set when the getstatus command is successful.

note: there is a new input tile tzoffset to set your timezone offset. defaults to -5, you must set yourself to get accurate last update times.

here is the code

1 Like

I have tried using code from several places in this thread without success. I know I have the right username/password etc…

I go to My Device Types > add the code > save and publish to me and get this error:
groovyx.net.http.HttpResponseException: Unauthorized @ line 630

I’ve gotta be doing something wrong somewhere. I just got the hub 2.0 for Christmas and am trying to get my Honeywell RTH8500WF connected. Thanks!

check the url when you actually view the thermostat in the web site… it is common to get the wroing id… there is one id for your whole session and one for each thermostat. you need the thermostat one from this page…

https://mytotalconnectcomfort.com/portal/Device/Control/12345?page=1
the 12345 would be your device id… check that you are not getting unauthorized in the website also.
if you try to refresh or hit it too many times you can get this unauthorized error… let it quite down for an hour if this is the case.

Getting the same “Unauthorized @ line 630” error. Copied the cookie from my browser and used in instead of ‘data.cookiess’ on line 627 and it started working. Obviously, this is troubleshooting info and not a solution.

Dbl checked that device id and I’m pretty darn sure it’s right. I did hit it a lot yesterday and just tried again and same error. Do i put the uname, password device id in the script? I did add the values on the Device tab which seem to be connected with my phone. The presence detection has stopped working since I started trying to connect my thermostat. Thanks.

Interesting. I have a connection now. Not working 100% but a start. I think it may have been the fact that I was logged into the total comfort site. It connected after I logged out.

How do I make this so it is a smart app instead of a device connection so others in my family can use. I can’t paste the code into smart apps because of errors. I may be missing it in the documentation somewhere or misunderstanding.

Its not a smart app… it is a device type. Tiu can share your account under my account

Thought that might be the case. Thanks.

I can load it into my devices and it shows well on my tablets app. I load in my credentials in “Edit Device”, but when I hit “Done”, the device doesn’t do anything or show anything.

I have two of these thermostats, one labled as Upstairs the other Downstairs. There is no changes when I change the “Device ID”.

@Lgkahn Thanks for your work. I updated my device type (saved and published to me) to the one you posted two days ago, and so far, no joy. I verified login, pw, and device ID by logging into the Honeywell site - no problem there.

All I get on the Device page is the “AUTO” button is green; all else greyed out. Any ideas on debugging?

You need to edit the device as well ast the device type in the ide.

Edit what? I don’t understand.
I’m in the same boat as cal7.and Daniel1. I’m using the device id from the web address used to show my thermostat:

https://www.mytotalconnectcomfort.com/portal/Device/Control/xxxxxx?page=1

Where else can I look for the id if this is not right? And what changes am I supposed to make to the device and the device type?