Skip to content
Lieven Hollevoet edited this page Sep 22, 2014 · 1 revision

Table of Contents

Web based control of HAI Omnistats

This page describes the work from several misterhouse users to build a web interface for their HAI thermostats (the old kind that sells for less than $100 online: RC-80, RC-90, and so forth). There is now also support for the newer Omnistat2 thermostats.

Credits:

Kent Noonan: Wrote the original code for the Omnistats. Joel Davidson: Got Kent's code working. Helped me understand it, and worked me through some of my errors. Marc MERLIN: improved on everyone else's code, rebuilt the caching infrastructure, greatly lowered the blocking sleeps in the code and made sure everything worked with one or multiple thermostats.

    • What's available**:
  1. Monitor and control the stats via a web interface
  2. Display and set user programming schedule via web interface

Screen shot:

This is what the page looks like when you first open it. If you want to change one or more values you select what you want to change and then hit the "Send to stat" button. You can change several options at one time. Note: the new interface doesn't quite look like this because it's not hardcoded to work for one or more thermostats, but you get the idea -- merlin

image:thermostat.jpg

Installation instructions:

See code/support/hai-omnistat/INSTALL in a freshly checked out misterhouse tree from subversion. Relevant files for the new HAI code are:

code/support/hai-omnistat (new) code/support/hai-omnistat/INSTALL (new) code/support/hai-omnistat/hai_web (new) code/support/hai-omnistat/hai_web/README (new) code/support/hai-omnistat/hai_web/index.html (new) code/support/hai-omnistat/hai_web/menu.html (new) code/support/hai-omnistat/hai_web/omnistat_sched_web.pl (new) code/support/hai-omnistat/hai_web/omnistat_setup_web.pl (new) code/support/hai-omnistat/omnistat.pl (new) lib/Omnistat.pm (updated)

You'll want to read code/support/hai-omnistat/INSTALL and follow the instructions.

Example uses:

Controlling your thermostat is an obvious use, but the temperature and zone on/off data also allows for nice graphs. See Temperature and HVAC activation graphing with misterhouse and cacti from Marc MERLIN.

Hardware notes:

Your setup can use two or more Omnistats. They connect to the MH server via cat5 wires (although you only really need 3 wires). The Omnistats are addressable, which means it's possible to control more than one through a single serial port (you just wire them in parallel on the same serial cable). See the hardware docs on the Omnistat page

Continued (Pete F):

Will make a nice Graphical page with interactive graphics like so... and image map the buttons as much as possible (so far) This would not be too hard to add now -- merlin

|| image:rcxx.gif align="center" caption="Omnistat HVAC Graphic" || || ||

Clone this wiki locally