Monday, May 12, 2014

Why the Venstar T5900 is the answer to DIY HA thermostat needs

So, I recently picked up a Venstar T5900.  I've been looking for a good "high-end" thermostat for awhile now, that would work with DIY Home Automation.  I think the Venstar is about the only answer out there.

There is of course the 3M one from RadioThemostat, and yes, thats a pretty good choice.  It has an open API, and a few advanced features.  But it's not very pretty.  Old style LCD.  Meh.

Nest is cute, but they will probably never make an API.  Screw them.

The Venstar is color LCD, touch screen, tons of features, scheduling, has the web-connect interface stuff, easy to install, and best of all, a documented API.  They even did a pretty good job of documenting it.  Now admittedly, the API won't let you fiddle every single bit of the t-stat, but it's good enough for most HA uses.  It lets you fiddle the set-temps, and turn the unit on/off/auto/etc as you please.  It also lets you query the onboard sensors.

So what are the quirks?

1) The SSDP discovery routine is wonky.  It doesn't work to the spec.  Normally you send an SSDP query on the multicast, and get a direct response.  The venstar replies back to the multicast.  This can be worked around by just listening for the NOTIFY messages instead.

2) If you want to shut the unit OFF, you have to turn off the schedule first.  No big deal really.

3) If you send it too many queries too quickly it ignores them.  Just slow down your sends.

Which should you pick?

The T5800 is nice, but the T5900 is the one you should buy.  $10 more, and has a humidity sensor.  Even if you don't have a humidity system to control, for $10 you get one more sensor to read.  Yay data.  You definitely want the skyport wifi bit, without that, no API access for you.  Total cost shipped was about $225.  Took about 30 minutes to install, and 20 minutes to program locally.

The API is a simple JSOM interface for grabbing data, and a simple HTTP POST interface for changing settings.  No big deal to write code for at all. They even supply sample code in a few languages.


No comments:

Post a Comment