Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Heatmiser RS485
 Moderated by: admin Page:  First Page Previous Page  1  2  3  Next Page Last Page  
 New Topic   Reply   Printer Friendly 
 Rating:  Rating
AuthorPost
 Posted: Friday Sep 19th, 2008 08:42 am
   PM  Quote  Reply 
21st Post
mwillett
Member
 

Joined: Tuesday Sep 2nd, 2008
Location:  
Posts: 5
Status: 
Offline

  back to top

> Can I ask what RS485/RS232 converter you are using (Make and Model)
I just bought a cheap one from ebay. Its a Sintech (from China) one which is probably one of the cheapest on the market. (Search ebay for RS485.)  An RS485 has 4 connectors; just use 2 of them (called either D+/A or D-/B). The PRT-N has blue and yellow comms cables. Blue goes to B and yellow goes to A.

> I don't know much about programming but would love to know more about how you managed to get it talking using perl. Have you got anything you can send me?

Send me your email address and I'll email you the code. Its very simple. Open COM port, Send x bytes, Read y bytes back.

Mike



 Posted: Wednesday Nov 5th, 2008 09:13 am
   PM  Quote  Reply 
22nd Post
ndh
Comfort Installers
 

Joined: Sunday Apr 30th, 2006
Location: Wallington, United Kingdom
Posts: 278
Status: 
Offline

  back to top

Yes - count me in for Heatmiser integration.  I need to revisit this in more detail, but can see a lot of possibilities. 

A reminder also that the Esprit scene control switches have temp sensors. No display but could probably make use of the voice feedback if say multi-room and I dare say other possibilities. So could be used as a Stat.  (In the EIB/KNX world there is a variant with a display.)

Also the Heatmiser type colour screen has an interesting price / performance point and would make a good interface to Comfort even as a self contained unit. But since the KT01 stopped production I guess there is probably something in the pipeline anyway.

Last edited on Wednesday Nov 5th, 2008 09:14 am by ndh



 Posted: Wednesday Nov 5th, 2008 12:37 pm
   PM  Quote  Reply 
23rd Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 507
Status: 
Offline

  back to top

Corect me if I'm wrong - but we can easily send RS232 commands out to Heatmiser via the converter - but Comfort cannot read rs232 values and bring them in to use. Not without a specific UCM to map to something internally ie counters


What we need is a UCM that you can "remap" incoming responses or values into a counter - that way it could work with any system

ie Send an rs232 command to a heating system and the value that gets returned store in a specific range of counters. very simple , very powerful.



 Posted: Wednesday Nov 5th, 2008 01:20 pm
   PM  Quote  Reply 
24th Post
garym999
Member


Joined: Saturday Aug 19th, 2006
Location: Oxford, United Kingdom
Posts: 214
Status: 
Offline

  back to top

Takes me full circle. Behind the scenes I have been looking at how we might put together a Universal UCM (UUCM) both for Heatmiser and other devices...

A UCM card that could be preconfigured via a PC with a custom interpreter to allow two-way comms to different devices. Would allow you to map counters, respond to certain strings, transfer data etc.

I would also suggest that so additional work would be required within firmware and comfigurator to support Maths operators. As NDH says there is already a thermometer in the SCS's but trying to use them without being able to speak the temps or do basic maths is tricky if you need it to be interactive. The if's & nested tests within the beta comfigurator are much better though.



 Posted: Thursday Nov 6th, 2008 09:36 am
   PM  Quote  Reply 
25th Post
cgiltrow
Member
 

Joined: Monday Jun 12th, 2006
Location: Johannesburg, South Africa
Posts: 107
Status: 
Offline

  back to top

I think this is a great idea and have given it thought in the past.  I have even looked at developing an interface module to go between the UCM and whatever system you want to integrate with.  If all the interface did was map a string (or part of a string) from the external system to comfort in a look up table then I am certain that you would be able to do just about anything.  So if the external system sent BedroomLightOn and the UCM (or interface module) had a table that mapped that string to O!0101 (assuming that the bedroom light was switch by output 1) then the external system would be able to tell comfort to perform operations.



 Posted: Friday May 8th, 2009 07:12 pm
   PM  Quote  Reply 
26th Post
aladar
Member
 

Joined: Friday May 1st, 2009
Location:  
Posts: 1
Status: 
Offline

  back to top

FYI. The currently shipping PRT-N V3 has a totally new and more elaborate protocol which is different from earlier models. Their tech support department will send you a copy if you ask nicely. Their site also describes how to tell if you've got a v3 model.

The new protocol has a non-standard CRC16 checksum and there aren't any example checksums in the spec - there is source code though. The command to read back all the data from a PRT-N V3 set to address 01 is:-

01 0A 81 00 00 00 FF FF 2C 09

The unit won't reply to any message if the checksum is wrong. RS485 connections are identical to the earlier model.

Ian



 Posted: Sunday May 10th, 2009 01:25 am
   PM  Quote  Reply 
27th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Could someone ask them nicely for the new protocol?
I hope they dont keep changing it though



 Posted: Tuesday Jun 23rd, 2009 11:10 pm
   PM  Quote  Reply 
28th Post
tsoutherwood
Member
 

Joined: Saturday Feb 7th, 2009
Location:  
Posts: 2
Status: 
Offline

  back to top

I've ordered a Heatmiser PRT-ENTS to test.

I fully intend to hack around with the protocol for open source purposes. Do Heatmiser have an NDA on the protocol (in which case, it would be better to hack it rather than be tainted)?

Thanks for the tip off on the CRC - had bitter experiences on non standard CRC-16 sums!!!

Ta

Tim



 Posted: Wednesday Jun 24th, 2009 09:50 am
   PM  Quote  Reply 
29th Post
tsoutherwood
Member
 

Joined: Saturday Feb 7th, 2009
Location:  
Posts: 2
Status: 
Offline

  back to top

BTW - v3 docs are here:

Link kindly provided by Heatmiser tech support

http://www.heatmiser.co.uk/support/admin/attachments/protocolv3system.pdf

Cheers

Tim



 Posted: Sunday Jul 19th, 2009 10:42 am
   PM  Quote  Reply 
30th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

cgiltrow wrote: I think this is a great idea and have given it thought in the past.  I have even looked at developing an interface module to go between the UCM and whatever system you want to integrate with.  If all the interface did was map a string (or part of a string) from the external system to comfort in a look up table then I am certain that you would be able to do just about anything.  So if the external system sent BedroomLightOn and the UCM (or interface module) had a table that mapped that string to O!0101 (assuming that the bedroom light was switch by output 1) then the external system would be able to tell comfort to perform operations.
That would work if the strings are like in your example, eg "BedroomLightOn" etc which you could map to a string to Comfort, eg "OP0101"
However there may be variables in the message, eg House X, Room Y, Device Z, Operation Y, Scene Z so that may require many hundreds of strings to map to Comfort.
There is also a difficulty of providing values for feedback to counters from the message, so some means of handling parameters or variables is needed for a truly universal UCM Interface



 Posted: Tuesday Nov 10th, 2009 07:16 pm
   PM  Quote  Reply 
31st Post
noelpilot
Member
 

Joined: Tuesday Nov 10th, 2009
Location:  
Posts: 1
Status: 
Offline

  back to top

Hi all,
Have just come across this googling for heatmiser info.  I've got v3 of the PRT-N thermostat and am interested in what I can do with remote/internet control of it.

If I've read this post correctly it started out voting for a UCM interface to Comfort but also there's been mention of people interfacing directly with the v2 version with the rs485 converter.

I'm guessing then that this is an alternative to buying the network modules that retail for £300 ish and upwards from heatmiser.  Has anyone managed to progress with any of the v3 units? 

Not knowing anything about perl or coding in general really, can anyone explain how it could then be used?  Does the perl essentially give you control of the thermostat? i.e. i could automate it through a home automation system such as indigo on the mac, homevision, homeseer etc?

Thanks and apologies for all the questions.

Noel



 Posted: Friday Nov 20th, 2009 11:47 pm
   PM  Quote  Reply 
32nd Post
swanseamosque
Member
 

Joined: Friday Nov 20th, 2009
Location:  
Posts: 1
Status: 
Offline

  back to top

Wow - this is exactly what I wanted e.g. an API for heatmiser.

I want to install a huge system linked to a sql database so it switches the heating on from that instead of relying on its limited 4 event timer.

Someone appears to have succeeded in linux server controlling their heatmiser installation here:

http://groups.yahoo.com/group/ukha_d/message/147813
http://groups.yahoo.com/group/ukha_d/message/147722

Someone else managed to develop a basic guide (attached).

Anyone got good progress (with supporting sourcecode)?

Attachment: Heatmiser Protocol.zip (Downloaded 54 times)

Last edited on Saturday Nov 21st, 2009 12:45 am by swanseamosque



 Posted: Tuesday Mar 16th, 2010 07:12 pm
   PM  Quote  Reply 
33rd Post
stevejoyner
Member
 

Joined: Tuesday Mar 16th, 2010
Location:  
Posts: 2
Status: 
Offline

  back to top

Hi Ian,

Do you have any more example checksums for the V3 heatmiser protocols you could post?

I have implemented the example code in the spec in VB and it looked like it was working in that it gives me the correct checksum for a 'read all' command as per your previous example.  Now I come to try and write data back to the stats, they are not responding so i'm wondering if my checksum code is working

Cheers

Steve



 Posted: Monday Aug 2nd, 2010 10:57 am
   PM  Quote  Reply 
34th Post
stevejoyner
Member
 

Joined: Tuesday Mar 16th, 2010
Location:  
Posts: 2
Status: 
Offline

  back to top

I now have this working, that is read and write communication to both V2 and V3 heatmiser stats from VB on windows and from PERL on Mac-OS and Linux.

If anyone wants any details, please get in touch.

Steve



 Posted: Monday Aug 2nd, 2010 12:54 pm
   PM  Quote  Reply 
35th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Congratulations, thats very interesting. Do you have a description on what is possible with the interface? Any screenshots?



 Posted: Friday Oct 22nd, 2010 07:58 am
   PM  Quote  Reply 
36th Post
timmywo
Member
 

Joined: Friday Oct 22nd, 2010
Location:  
Posts: 4
Status: 
Offline

  back to top

Hi stevejoyner,

I have purchased the "12v Network Touchscreen Programmable Room Thermostat - Heatmiser PRT-NTS" with the aim of accessing this from my server.

Could you please share the details on how you are currently setup?

Many thanks!
tim



 Posted: Monday Oct 25th, 2010 02:18 pm
   PM  Quote  Reply 
37th Post
timmywo
Member
 

Joined: Friday Oct 22nd, 2010
Location:  
Posts: 4
Status: 
Offline

  back to top

Hi,

I have installed my "PRT-NTS" and all looks good!

Can someone share their setup please? What software and cables are you running? Would this work for the cabling RS485->Cat5e->RS232? With this: http://www.dealextreme.com/details.dx/sku.6040

I have all the floorboards up so would like to run the cables now, if someone can share their software and setup would be very helpful

thanks



 Posted: Tuesday Oct 26th, 2010 05:57 am
   PM  Quote  Reply 
38th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

I suggest you send a PM (private message) to stevejoyner by right-clicking on his user name, as he may not be monitoring this topic



 Posted: Tuesday Oct 26th, 2010 07:46 am
   PM  Quote  Reply 
39th Post
timmywo
Member
 

Joined: Friday Oct 22nd, 2010
Location:  
Posts: 4
Status: 
Offline

  back to top

thanks admin, I was and now have done so.

Ill post details on this list when I have them, will be helpful for others



 Posted: Tuesday Mar 13th, 2012 11:30 am
   PM  Quote  Reply 
40th Post
northview
Member
 

Joined: Tuesday Mar 13th, 2012
Location:  
Posts: 3
Status: 
Offline

  back to top

I know this thread is a little old now, but was hoping someone might be able to point me in the right direction getting a Heatmiser Version 2 thermostat to communicate on its RS485 port.

I have a UDS100 that I'm using to communicate with the stat via a TCP connection.  Problem being that whilst I can see bytes being written to the thermostat, I don't get a reply from it.

I've documented my setup along with some brief code here : http://rs485.olley.com/rs485.htm

Any advice / suggestions would be greatfully received.



 Current time is 05:59 amPage:  First Page Previous Page  1  2  3  Next Page Last Page  
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems