Heatmiser software scripts

Developed by Alex Thoukydides as a hobby activity, this software allows homeowners to objectively monitor how their heating system behaves and the effect of changing environmental conditions.

The software is designed to communicate with Heatmiser's range of Wi-Fi thermostats and is released for free under the GPL open source licence so that others can use and modify it as they wish.

This project comprises Perl scripts to log data from Heatmiser's range of Wi-Fi thermostats to a MySQL database, and an HTML/JavaScript web interface for rendering charts of temperature, heating and hot water activity. The external temperature from the Met Office's DataPoint data feed can also be logged to the database and overlaid on the charts, avoiding the need to install an external temperature sensor for this purpose.

Monitor the effect of changing environmental conditions

The out-of-the-box functionality allows homeowners to objectively monitor how their heating system behaves and the effect of changing environmental conditions. This can highlight problems with the central heating, such as insufficient insulation or thermostatic valves that are poorly adjusted. It also assists with properly configuring the heating system, including choosing the appropriate period to switch it off when not required over the summer. This helps to improve comfort and reduce energy consumption.

Full source code is provided under the GPL open source license and the database schema is fully documented. Users are encouraged to customise and extend the functionality to meet their own requirements. For example, analysis of the historical performance could enable predictions about the heating system's behaviour, which when combined with DataPoint forecast data would enable more effective and efficient control that avoids using the central heating when the house is expected to warm up sufficiently on its own. One user has also proposed using tracking of his mobile phone's location to automatically turn on the heating when he leaves the office, so that the house is warm by the time he arrives home.

User testimonials

The Heatmiser Wi-Fi scripts are a great companion for the Heatmiser thermostats - I now know exactly when the boiler has kicked in and why, and with the external temperature support the relationship between the inside temperature and outside temperature is easy to see. (Joseph Heenan)

For anyone interested, Heatmiser Wi-Fi is an awesome piece of homebrew code which helps log everything and makes it easy to optimise your settings. Plus it just looks damn cool. (Rich Pyke)

My earlier post on the Heatmiser PRT-TS Wi-Fi thermostat proved very popular and is the most commented article on this blog. When commenter Rich mentioned the heatmiser-wifi project, a set of Perl scripts that can be installed on a PC or Raspberry Pi to provide a full-featured web interface for the Heatmiser, I just had to give it a go. Happily the project's web interface instructions seem to work fine on the Pi without any changes. I have also set up logging and charting of external temperature (via the Met Office API). (Chris Barnes)

The protocol used by the iPhone app is documented, and essentially the same as the serial protocol that the company's equipment uses, and there are third party tools that work with it. For example, if you head over toHeatmiser Wi-Fi Project website you'll find some scripts that will log your temperature in a MySQL database, and plot graphs on a web page, which I've set up too, and work fine with the RF stat. Home hackers will be pleased to note that the protocol for controlling the thermostat is fully documented, and there are already open source projects that work with it  - setting up a perl script to log data and graph it was straightforward, and so too should be other ways of controlling the system. (Nigel Whitfield)

Just setup my @Raspberry_Pi to monitor my @HeatmiserUK thermostat. Thanks to @thouky for his heatmiser tools! (James Mulcahy)

The software has been developed as a hobby activity and is released for free under the GPL open source licence so that others can use and modify it as they wish.

More information and full documentation can be found on the developers website.

Links

Showcase application submission criteria

Showcase submission form