PDA

View Full Version : Heatmiser thermostat - Anyone written interface code?



jon1977
May 26th, 2011, 04:45 PM
Hi there,
before I set to and try and sort this for myself, has anyone written any code to interface directly with this thermostat over RS485 to save me a heap of time and effort?

I have the link working fine with their demo software so I know the hardware is ok, I'm just working out where to start getting it to work with girder and netremote so I can display / control / interface with the thermostats from a central / remote location.

Link to product:
http://www.heatmiser.co.uk/domestic.htm
I specifically have the PRT-N version, but they all follow the same protocol.

The protocol is available here:
http://www.heatmiser.co.uk/support/admin/attachments/protocolv3system.pdf

With thanks
Jon

jon1977
December 16th, 2011, 11:58 AM
in case anyone is interested, I got this up and running.
The code could probably be minimised but it is fairly well commented.
It allows me to connect to one or more 12V heatmiser network thermostats and get any of the parameters (such as setpoint, actual temp etc) and also set the setpoint, or turn it on/off.
I've got a basic link to netremote to show the data.
It is possible (although i havn't finished it yet) to program the thermostats by sending a command (for instance to alter the settings between summer and winter).
I got very confused what the best way is to 'poll' something on a regular basis, and decided to use a treescript simple timer to fire a command off every second. There is probably a better way to do this, but this works.
See attached what I have to date 6347 but it needs more work.
Jon