ST says it changes temperature but it never does

@chevyman142000

Good find. I’m also able to query mine using http://172.16.105.11/tstat I get the following:
{“temp”:79.50,“tmode”:0,“fmode”:0,“override”:0,“hold”:0,“tstate”:0,“fstate”:0,“time”:{“day”:1,“hour”:22,“minute”:8},“t_type_post”:0}

This should be enough to populate the variables for the existing settings. It should be pretty easy to program the commands to send the temperature changes using http post commands.

Without even reading the docs and just seeing what’s you’ve posted, I bet you guys could start a handler to parse all this stuff into tiles.

Hmm…that’s a little out of what I know to do…I think. Any documentation on how to do that? Also, if we did that, would SmartThings be able to control and set the thermostat to different settings on Mode changes?

I have the same question as @chevyman142000 I believe we can create a tile but I would like to be able to change to a certain temperature with mode changes. Manually tapping a tile is not going to do what I need.

@urman are you able to post code example of another thermostat that uses the same type of commands and how to setup a device? Depending on how complex this is I may be able to do it.

There is an Office Hours meeting today. I’m going to try and jump on there to talk to @urman about this and see what he thinks. If you can join Jeremy, here are the details: http://build.smartthings.com/blog/developer-office-hours-wednesday-feb-19th/

Jeremy- Doug Burman shared this: http://pastebin.com/YQAALR72 Hoping we can use this to start talking with the thermostat. Any thoughts? I’m not much of a coder, so I’m not sure where to start with it.

This honestly doesn’t make much sense to me. If there is a tutorial on adding a thermostat or something a little more intuitive I’m sure I could figure it out.

I’m wondering if someone like @imbrian, @twack, or @chrisb would be able to help us out?

Just glancing over the documentation, it seems pretty straight forward. I don’t see anything regarding authentication (which tends to be the difficult part of most of these systems). Does it accept commands without authentication at all? Are you able to issue commands via curl, etc?

It returns values in JSON (yay!) and looks to work over standard HTTP - so this shouldn’t be too terribly different from most of the things I’m tinkering with right now. The one big stumbling point currently will be hardening it. Even if it does have decent username and password support, you probably don’t want to poke a hole in your firewall and expose it to the outside world. I’m going to be doing some dabbling as time allows once we have better documentation for local IP control, which could hopefully be leveraged for something like this.

It’s been a while since I messed with it, but I don’t recall there being any security/login. I’m still a fairly novice python programmer and it was pretty easy to write a python script on my Raspberry Pi to log data from the thermostat to a csv file

Yeah, I don’t think there is any authentication. Let me know if you need anything else!

@florianz Just wondering if you might have any thoughts on getting something written to connect to this wifi thermostat? All of the documentation is in previous posts. Sorry for reaching out to so many people, just trying to get this to work and be reliable!

Jeff

@chevyman142000: I just skimmed over the documentation, and like people have said, it looks pretty straight forward to interface with. The only problem I see is that you will need to connect to the thermostat through your LAN. SmartThings doesn’t official support that, yet. I believe the new “Labs” firmware has this feature, but it’s completely undocumented, and there is a good chance that the API may change. I’d wait until speaking to LAN devices is officially supported and documented. Getting this to work should be pretty quick, then.

Thanks for the reply! I was wondering if this code from Burman would work? http://pastebin.com/YQAALR72 I’ll just keep waiting though.

Is anyone available to post a tutorial on how to add a device like this? If so I will take a crack at this. I have programmed smart apps in the past and after viewing a few examples it is easy to catch on. I’m not sure if the devices are as simple but I cannot find any documentation or “beginner’s guide” to this process.