<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digits Domotica Blog &#187; Gateway</title>
	<atom:link href="http://blog.hekkers.net/tag/gateway/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hekkers.net</link>
	<description>My Weblog about Domotica and more</description>
	<lastBuildDate>Wed, 01 Feb 2012 19:32:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Monitoring the Remeha Calenta</title>
		<link>http://blog.hekkers.net/2010/10/03/monitoring-the-remeha-calenta/</link>
		<comments>http://blog.hekkers.net/2010/10/03/monitoring-the-remeha-calenta/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 20:19:43 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[HVAC]]></category>
		<category><![CDATA[Remeha]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=1394</guid>
		<description><![CDATA[Last week I attached some 1-Wire temperature sensors to the floor heating tubes to monitor flow- and return temperatures. While I was doing that, I looked at my Remeha Calenta again and thought what a pity it was that I failed to monitor the Calenta with the Remeha Gateway. I&#8217;ve known for a long time [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I attached some 1-Wire temperature sensors to the floor heating tubes to monitor flow- and return temperatures. While I was doing that, I looked at my Remeha Calenta again and thought what a pity it was that I failed to monitor the Calenta with the <a href="http://blog.hekkers.net/2009/11/21/remeha-problem-not-important-enough/" target="_self">Remeha Gateway</a>. I&#8217;ve known for a long time that there&#8217;s a 2nd solution to this: Remeha Recom. A &#8220;special cable&#8221; and the Recom software make it possible to monitor your Remeha Avanta, Quinta, Calenta (and more). However the price for this cable is rather high; you won&#8217;t be able to get it below 130 Euros with as only result a Recom window on your screen where you can see all kinds of things being monitored&#8230; all you can do is make a screen-dump or log the values to a file&#8230; <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>And if I would buy that &#8220;wonder cable&#8221;, would I be able to understand the protocol? I didn&#8217;t want to risk the chance of buying that expensive cable and not coming any further than using Recom, so i stopped thinking about it. Untill last week.</p>
<p>I started roaming the Internet for more information; I read about &#8220;it&#8221; being a null modem cable; I looked at the PCB and saw the RJ-11 connector for the Remeha cable was labeled RS-232; I took a long cable with a RJ-11 plug and stuck it into the connector and started measuring with a voltmeter; I saw the outer 2 were 5V and the other GND; that leaves the inner 2 for the serial part. I started thinking about what this super duper Remeha cable could hide inside to make serial communication work? There has to be <em>something</em> special to it&#8230; converting TTL to RS-232 perhaps? Why not give it a try&#8230;</p>
<p>I have a MAX3232CPE laying around for some time; so I planted it on a breadboard, added some 0.1 μF capacitors and built this schema I found (click it):</p>
<p><a href="http://blog.hekkers.net/wp-content/uploads/2010/10/db25sch.png"><img class="alignnone size-full wp-image-1399" title="RS232/TTL" src="http://blog.hekkers.net/wp-content/uploads/2010/10/db25sch.png" alt="" width="253" height="230" /></a></p>
<p>Here&#8217;s the result:</p>
<div id="attachment_1400" class="wp-caption alignnone" style="width: 410px"><a href="http://blog.hekkers.net/wp-content/uploads/2010/10/DSC_4407_resize.jpg"><img class="size-full wp-image-1400" title="TTL &lt;--&gt; RS232" src="http://blog.hekkers.net/wp-content/uploads/2010/10/DSC_4407_resize.jpg" alt="TTL &lt;--&gt; RS232" width="400" height="266" /></a><p class="wp-caption-text">TTL &lt;--&gt; RS232</p></div>
<p>Guess what&#8230; it works!! My Remeha Calenta was recognized immediately and I watched the data arriving in Recom:</p>
<div id="attachment_1396" class="wp-caption alignnone" style="width: 490px"><a href="http://blog.hekkers.net/wp-content/uploads/2010/10/Capture3-10-2010-15.28.23.png"><img class="size-full wp-image-1396 " title="Remeha Recom v4.1.1" src="http://blog.hekkers.net/wp-content/uploads/2010/10/Capture3-10-2010-15.28.23.png" alt="" width="480" height="360" /></a><p class="wp-caption-text">Remeha Recom v4.1.1</p></div>
<p>With no more than 8 Euros I created my own interface cable; too ridiculous&#8230; <em>Special cable?  My A!@&amp;%#%^!!!</em></p>
<p>OK, but this was just the beginning. With a serial port sniffer i saw the Calenta being queried and I started recognizing the flow temperature, return temperature etc. in the responses that came back from the Calenta. These packets look like this:</p>
<pre>02 01 FE 06 48 02 01 <span style="color: #ff0000;">F0 14</span> AA 14 00 80 00 80 86 F3 00 80 B7 10 

00 80 40 1F 70 17 00 80 00 00 00 00 00 BC 02 00 00 00 00 64 00 

00 00 00 C2 0B 10 00 FF FF 00 00 00 00 FF FF 17 00 BC 02 00 00 

00 00 00 00 00 00 00 00 00 C5 9B 03</pre>
<p>After an hour or so, i knew where to find some temperature values and stuff like that. The<span style="color: #000000;"> F0 14 m</span>arked in <span style="color: #ff0000;">red</span> for example, means 53.60 degrees Celsius. That was easy&#8230; not good enough for a quiz <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  But I also saw on the amount of values Recom could produce from the incoming bytes, some things had to be stored in bits; the on/off, yes/no, open/closed values appeared not to be stored in a byte, but &#8216;hidden&#8217; somewhere in a bit maybe? Hmm, how do I know exactly when the Gas valve opens or closes, so how I can locate the bit for that? If it <em>is</em> stored in a bit? This could become a bit more challenging and time consuming than I would like.</p>
<p>Aha! There&#8217;s a config directory belonging to the Recom software package, containing XML files; one of them was named exactly like the model that Recom detected. Let&#8217;s have a look inside that file&#8230; Bingo! These XML files contain very detailed information; they tell me that I can find that Gas valve value in bit 0 of byte 38&#8230; Yeeha!</p>
<p>Now it&#8217;s just a matter of finding out some more about the leading and trailing bytes and I can start creating my own Remeha Calenta interface to my Domotica system.</p>
<p>Finally I&#8217;ll know what the Gas is being used for: DHW or heating. And when the water pressure drops below a value I find alarming, I can be warned before it&#8217;s too late. And I can see how much power is actually being produced; and &#8230;</p>
<p><strong>Update: RJ-11 is incorrect; it&#8217;s a <a href="http://en.wikipedia.org/wiki/4P4C#4P4C" target="_blank">4P4C</a> connector!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2010/10/03/monitoring-the-remeha-calenta/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Remeha: &#8220;problem not important enough&#8221;</title>
		<link>http://blog.hekkers.net/2009/11/21/remeha-problem-not-important-enough/</link>
		<comments>http://blog.hekkers.net/2009/11/21/remeha-problem-not-important-enough/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 05:00:52 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[HVAC]]></category>
		<category><![CDATA[Remeha]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=387</guid>
		<description><![CDATA[Today, after 5 weeks of waiting, i was called by a Remeha employee about my problems with the combination of Remeha equipment in my house: Remeha Calenta, Gateway and Celcia 20. I told him the whole story from the beginning; the phone calls i made with Remeha in April this year to be sure that [...]]]></description>
			<content:encoded><![CDATA[<p>Today, after 5 weeks of waiting, i was called by a Remeha employee about my problems with the combination of Remeha equipment in my house: Remeha Calenta, Gateway and Celcia 20.</p>
<p>I told him the whole story from the beginning; the phone calls i made with Remeha in April this year to be sure that what i wanted would work, the problems i encountered, the emails to Remeha sales support about the problems, more phonecalls and not getting any answer from Remeha for more than 5 weeks now.</p>
<p>The bottom line is that Remeha is to busy with new developments to pay any attention to what problems i might be experiencing with this very rare combination of their hardware. Simply a matter of costs.  Investing time/money into this matter costs more then and the relevance of the problem is very low for Remeha.</p>
<p>So basically the answer i got today was: &#8220;we&#8217;re sorry&#8221;. Ok. Bad answer for me; i&#8217;m not happy with it. But in a way, i can understand it. But this was the first time i was talking to a Remeha person who had the guts to say it out loud&#8230; it hurt (a bit), but this is 10 times better than getting no answer at all. That&#8217;s really irritating and disrespectful; ever heard of after-sales? The Remeha employee apologized for that.</p>
<p>And before i metioned anything about it, I was told i could return the Gateway and defective Celcia without any problem and i would get my money back. Case closed&#8230; regarding doing it the Remeha-way i mean : I&#8217;m already one step further in accomplishing what i want another way&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/11/21/remeha-problem-not-important-enough/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Response from Remeha</title>
		<link>http://blog.hekkers.net/2009/09/28/response-from-remeha/</link>
		<comments>http://blog.hekkers.net/2009/09/28/response-from-remeha/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 21:13:28 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[HVAC]]></category>
		<category><![CDATA[Remeha]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=352</guid>
		<description><![CDATA[And it looks promising Apparently my list of problems i encountered and that was sent to Remeha by email some time ago has been found again. Remeha&#8217;s development department conclusion was that the Gateway must be broken. The Gateway will be replaced in the next couple of days and i hope i&#8217;ll get better results [...]]]></description>
			<content:encoded><![CDATA[<p>And it looks promising <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Apparently my  list of problems i encountered and that was sent to Remeha by email some time ago has been found again. Remeha&#8217;s development department conclusion was that the Gateway must be broken. The Gateway will be replaced in the next couple of days and i hope i&#8217;ll get better results then!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/09/28/response-from-remeha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still integrating Remeha Calenta into my Domotica system</title>
		<link>http://blog.hekkers.net/2009/07/30/integrating-remeha-calenta-into-my-domotica-system/</link>
		<comments>http://blog.hekkers.net/2009/07/30/integrating-remeha-calenta-into-my-domotica-system/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 00:34:10 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[HVAC]]></category>
		<category><![CDATA[Remeha]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=324</guid>
		<description><![CDATA[It has been a while ago since i worked on this project. After the new central heating had been installed in the first week of april, i spent time to get the combination of Remeha Calenta, Remeha Gateway and Remeha Celcia 20 to work. I failed&#8230; Somewhere there is an unstable factor in this combination that [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_326" class="wp-caption alignleft" style="width: 251px"><img class="size-full wp-image-326 " title="Remeha Calenta installed" src="http://blog.hekkers.net/wp-content/uploads/2009/07/dsc_8250_resize.jpg" alt="Remeha Calenta" width="241" height="362" /><p class="wp-caption-text">Remeha Calenta</p></div>
<p>It has been a while ago since i worked on this project. After the new central heating had been installed in the first week of april, i spent time to get the combination of Remeha Calenta, Remeha Gateway and Remeha Celcia 20 to work. I failed&#8230;</p>
<p>Somewhere there is an unstable factor in this combination that makes these 3 devices not work together as they should, and as was stated that they <strong>could</strong> by a Remeha technician. So i put this project on hold for a while. But now that holidays have started, and the days will get shorter in a matter of weeks, i would like to have this project finished by the time  we need the central heating again&#8230;</p>
<p>Last week i talked to the  person who installed the Calenta and he asked me to write down all my problems in an email that he would forward to Remeha Technical Services department, to see if it was possible to have a Remeha technician coming over to my house to investigate the problems i am having.</p>
<p>After integrating lights, appliances, garage doors, alarm systems, TV, Home theatre, music, the largest piece of equipment that is not yet integrated is the central heating. That has to change&#8230; one way or the other! <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>All kinds of things are made possible these days in this area, just look at the Danfoss Z-Wave controlled radiator thermostats for example. It&#8217;s a sign you can&#8217;t ignore. So i hope Remeha has a clue of what is going on in terms of Domotica &amp; HVAC; and i hope they inderstand that the systems they produce can no longer be isolated from the rest; it&#8217;s time to connect!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/07/30/integrating-remeha-calenta-into-my-domotica-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remeha Calenta or Avanta?</title>
		<link>http://blog.hekkers.net/2009/03/10/remeha-calenta-or-avanta/</link>
		<comments>http://blog.hekkers.net/2009/03/10/remeha-calenta-or-avanta/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 02:21:04 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[HVAC]]></category>
		<category><![CDATA[Remeha]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=107</guid>
		<description><![CDATA[Next wednesday i have a Remeha representative coming over to my house to see what&#8217;s the best heating system for our house. Remeha has got a new model since recently, the Remeha Calenta. Probably with a much higher price than the Avanta, my choice so far. Another very important issue is that the Calenta needs [...]]]></description>
			<content:encoded><![CDATA[<p>Next wednesday i have a Remeha representative coming over to my house to see what&#8217;s the best heating system for our house. Remeha has got a new model since recently, the Remeha Calenta. Probably with a much higher price than the Avanta, my choice so far. Another very important issue is that the Calenta needs to have the ability to be operated with the Remeha Gateway just like the Avanta. The recommended thermostat for the Calenta does like very nice, BTW. And maybe i&#8217;ll add a solar water heater to the system, who knows. Alot of questions, hopefully to be answered next Wednesday.</p>
<div id="attachment_120" class="wp-caption alignleft" style="width: 238px"><img class="size-full wp-image-120" title="Remeha iSense" src="http://blog.hekkers.net/wp-content/uploads/2009/03/isense2.png" alt="Remeha iSense" width="228" height="203" /><p class="wp-caption-text">Remeha iSense</p></div>
<div id="attachment_113" class="wp-caption alignleft" style="width: 160px"><img class="size-full wp-image-113" title="Remeha solar water heater" src="http://blog.hekkers.net/wp-content/uploads/2009/03/zonneboiler1.png" alt="Remeha solar water heater" width="150" height="193" /><p class="wp-caption-text">Remeha solar water heater</p></div>
<div id="attachment_117" class="wp-caption alignleft" style="width: 160px"><img class="size-full wp-image-117" title="Remeha Avanta" src="http://blog.hekkers.net/wp-content/uploads/2009/03/avanta2.png" alt="Remeha Avanta" width="150" height="210" /><p class="wp-caption-text">Remeha Avanta</p></div>
<div id="attachment_118" class="wp-caption alignleft" style="width: 160px"><img class="size-full wp-image-118" title="Remeha Calenta" src="http://blog.hekkers.net/wp-content/uploads/2009/03/calenta2.png" alt="Remeha Calenta" width="150" height="204" /><p class="wp-caption-text">Remeha Calenta</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/03/10/remeha-calenta-or-avanta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

