Robert, would you send me a copy of your code. I would like to test it on a YTH6320 Honeywell (I am using the IOS app). I have used Jody’s code with some success (it reports the status successfully, but I cannot turn the thermostat on/off). I can change the temperatures for heating/cooling though. Hoping for more luck with your version.
Hey,
I really appreciate everyone’s help.
I’m getting the error below:
1:01:53 AM:
error
groovyx.net.http.HttpResponseException: Unauthorized @ line 375
if I delete a few lines just to test (basically remove all of “def params” lines 375 to 389… then I get the error others saw relative to “blacklisted”.
It seems that honeywell might be back to their stance of blocking this type of connection?
I’m using jodyalbritton’s code… unmodified other than my info at the top.
This is why I moved away from the Honeywell. They do this every 2-3 months. I have not done any work to the code you are using for a few months now. They released a new terms of services that explicitly forbids this type of thing and I switched to Ecobee because of its open api.
Thank you so much for your reply.
It’s super unfortunate because I bought the honeywell last year with a glimpse from this thread that “maybe someday I could integrate with smartthings or something like it”.
I’m just starting on a home automation path and bought my ST hub just a few weeks ago.
I will join the crew of people that email honeywell and ask them about the API and openness (if only because writing an email is fast and cheap haha)… but long term I might consider making the swap to something like an ecobee.
Thanks again for all your support in the above thread, while it’s possible it may not help me use my current thermostat due to honeywell’s policies, you have clearly helped a number of people for for what it’s worth, I’d like to acknowledge that.
I’m sad reading this as I purchased my Honeywell around 6 months ago in the hopes that they would fully integrate like Wink did with them. What’s ballpark price on one of the ecobee’s?
My version from Jody has been working great for months. I poll it every 15min using pollster, if you poll too often I think Honeywell will shut you down.
Update:
Emailed Honeywell, after the first level tech support person didn’t really understand me, they came back after I re-explained and then sent me the link to apply to have API direct access. The note said “If you are selected, then that specific team will get in touch with you”. So I guess I have to either have provided a good explanation for why I want access to the API on the form or just be one of the lucky ones. I did mention that a number of enthusiasts are switching to their competitor’s thermostat due to openness so they may want to consider their strategy.
To those that say theirs is still working… thanks. I will double check my code and the app. I set my polling to 30 mins to start because of other comments made about frequency…
I’ll update later if I hear back from the API team… or if I find anything wrong with my setup (but really, if I understand things correctly, I only need to enter 3 pieces of information correctly, the rest is just copy paste the main code?).
The meaning of values for switchpos 0 through 5. In particular 4 and 5? 4 should be auto, but then what is 5?
The meaning of statuscool and statusheat 0-2? In particular 2 (since that is what my stats seem to always show). Used to be 1 was on and 0 was off. What is 2?
And is anyone aware of any documentation anywhere for this. I’m sure it’s held closely by Honeywell… sigh.
This post from Grump has good info including the answer to #2. Those statusCool/statusHeat have to do with the hold type. 2 is a permanent hold.
Another one with good info. Looks like switchpos 4 is AutoHeat and 5 is AutoCool. I’m not sure if these are specific to particular models or more generic though.
Do we even need to create a Redlink Driver for ST? All Redlink devices use the Total Connect website for remote access. Should that not mean we could connect to that site instead? I was under the impression that Redlink used a proprietary signal that ST could not broadcast.
The device types that have been written do all use the site, and that is the most generic way to handle it. I posted the driver doc because it has some useful pieces of information about how the stats work that are the closest I could find to something that would be an API spec. They confirm much of what was in the posts by @Grump. They helped me edit my devicetype to work better with my stat.
I own a HW Prestige system with the Internet Bridge that predates the WiFi versions but has the same access to the Honeywell web control interface. Any other users with the same thermostat got it working with Smartthings? Will using this code work?
@hondohudson I’d like to see if it’s going to work on the new Android app, since they were supposed to fix the android issue earlier… could you share the code again?