[OpenTRV-interest] Today's experiment with capturing valve open percentages

Alasdair Macdonald EMAIL ADDRESS HIDDEN
Fri Dec 5 18:13:51 GMT 2014


I touched the "afternoon learn" button on my OpenTRV board #2 at
around 17:28-ish. I then held the BRB for long enough to set it to
Warm / Call for Heat Mode.

Board #1 is connected to my PC; board #2 is not.

Board #2 has the same House Code as my Conrad radiator valve (and
different to board #1).

It took a minute + before things started happening.

First I saw the valve open up to 20%
Then I saw the valve open up to 60%
Then I saw the valve open up to 99% (these changes at approximately 1
minute intervals)

My actual heating settings are such that the real boiler only came on
at about 17:45, so I guess the OpenTRV kit was gagging for heat whilst
I logged the data copied below.

Since board #1 is connected to my PC (and is pretending to be a
boiler), everything that I'm capturing comes through it.


2014-12-05_17:24:20 OpenTRV raw_output: >
2014-12-05_17:24:20 OpenTRV raw_output: Bare stats TX
2014-12-05_17:26:20 OpenTRV raw_output: !RXerr F2
2014-12-05_17:26:20 OpenTRV raw_output: 998:38:140 FHT8V TX
2014-12-05_17:26:20 OpenTRV raw_output: Bare stats TX
2014-12-05_17:28:06 OpenTRV raw_output: 1000:34:204 FHT8V TX

2014-12-05_17:32:20 OpenTRV raw_output: Bare stats TX
2014-12-05_17:33:20 OpenTRV raw_output: Bare stats TX
2014-12-05_17:35:07 OpenTRV raw_output: 1006:24:140 FHT8V TX
2014-12-05_17:35:07 OpenTRV raw_output:
1007:46:13 CfH 93 74
RCfH1
Boiler on, s left: 112

Of course all I'm getting from board #2 currently is the usual 3 stats:
2014-12-05_17:34:56 OpenTRVboard2 temperature: 16.7
2014-12-05_17:34:56 OpenTRVboard2 luminance: 38
2014-12-05_17:34:56 OpenTRVboard2 occupancy: 3
2014-12-05_17:34:56 OpenTRVboard2 T: 16.7 L: 38 O: 3

So this is what I am wondering:

What information do I have regarding the comms between board #2 and
its matching (by House Code) valve? I included a couple of TX lines at
around the time I pressed the buttons (and there's an RXerr in there,
I wonder if that is significant)? I can see the valve has opened; I
know that board #2 asked to to open, and I suppose that at about the
same time it asked board #1 to switch the boiler on (RCfH1).

So ... I should interpret THIS line in a similar way that I do the "@"
lines, albeit with the House Code coming at the end of the line,
rather than (in hex) at the beginning. I'll need to modify my code to
do this, shouldn't be too difficult.
> 1007:46:13 CfH 93 74

In fact, all 3 lines arrive in quick succession:
1007:46:13 CfH 93 74
RCfH1
Boiler on, s left: 112

But none of them actually tells me why the valve opened to 20%, then
60%, then 99%. Does board #1 send a command to "open", or does it send
a command to open "x%"? And if the latter, might I expect access to
that info via the serial connection to board #1 [in the future]? I
suppose that in the light of my next observation, it is sending a
percentage.


Interestingly (well, to me, anyway), when I noticed the fake boiler
LED on this morning (same as I mentioned to Damon in IRC last night),
I switched on my PC in order to capture readings. So, board #1 was
cold and requested heat (which wasn't supplied, because it's not
hooked in to anything real). When I closed windows and the board
warmed up naturally, it gradually closed itself (virtually). Time
stamps are from the PC by the way; I opened a web page to fhem at
12:16:04, which seems to have had the consequence of delaying
interpretation of board #1 readings by several seconds. This human
readable output is part of what fhem spews out for the =Fx%@... lines.

> grep -a open log/OpenTRV-2014-12-05.log
2014-12-05_10:55:20 OpenTRV open: 10%
2014-12-05_10:56:07 OpenTRV open: 18%
2014-12-05_10:57:07 OpenTRV open: 18%
2014-12-05_10:58:06 OpenTRV open: 18%
2014-12-05_10:59:06 OpenTRV open: 18%
2014-12-05_11:00:06 OpenTRV open: 18%
2014-12-05_11:01:06 OpenTRV open: 18%
2014-12-05_11:02:06 OpenTRV open: 18%
2014-12-05_11:03:06 OpenTRV open: 18%
2014-12-05_11:04:06 OpenTRV open: 28%
2014-12-05_11:05:06 OpenTRV open: 28%
2014-12-05_11:06:06 OpenTRV open: 28%
2014-12-05_11:07:06 OpenTRV open: 28%
2014-12-05_11:08:06 OpenTRV open: 36%
2014-12-05_11:09:06 OpenTRV open: 36%
2014-12-05_11:10:06 OpenTRV open: 36%
2014-12-05_11:11:06 OpenTRV open: 36%
2014-12-05_11:12:06 OpenTRV open: 36%
2014-12-05_11:13:06 OpenTRV open: 36%
2014-12-05_11:14:06 OpenTRV open: 36%
2014-12-05_11:15:06 OpenTRV open: 36%
2014-12-05_11:16:06 OpenTRV open: 36%
2014-12-05_11:17:06 OpenTRV open: 36%
2014-12-05_11:18:06 OpenTRV open: 36%
2014-12-05_11:19:06 OpenTRV open: 36%
2014-12-05_11:20:06 OpenTRV open: 36%
2014-12-05_11:21:06 OpenTRV open: 36%
2014-12-05_11:22:06 OpenTRV open: 36%
2014-12-05_11:23:06 OpenTRV open: 36%
2014-12-05_11:24:06 OpenTRV open: 31%
2014-12-05_11:25:06 OpenTRV open: 26%
2014-12-05_11:27:06 OpenTRV open: 26%
2014-12-05_11:28:06 OpenTRV open: 21%
2014-12-05_11:29:06 OpenTRV open: 21%
2014-12-05_11:30:06 OpenTRV open: 21%
2014-12-05_11:31:06 OpenTRV open: 21%
2014-12-05_11:32:06 OpenTRV open: 21%
2014-12-05_11:33:06 OpenTRV open: 21%
2014-12-05_11:34:06 OpenTRV open: 21%
2014-12-05_11:35:06 OpenTRV open: 21%
2014-12-05_11:36:06 OpenTRV open: 30%
2014-12-05_11:37:06 OpenTRV open: 30%
2014-12-05_11:38:06 OpenTRV open: 30%
2014-12-05_11:39:06 OpenTRV open: 30%
2014-12-05_11:40:06 OpenTRV open: 30%
2014-12-05_11:41:06 OpenTRV open: 30%
2014-12-05_11:42:06 OpenTRV open: 30%
2014-12-05_11:43:06 OpenTRV open: 30%
2014-12-05_11:44:06 OpenTRV open: 30%
2014-12-05_11:45:06 OpenTRV open: 30%
2014-12-05_11:46:06 OpenTRV open: 30%
2014-12-05_11:47:06 OpenTRV open: 30%
2014-12-05_11:48:06 OpenTRV open: 30%
2014-12-05_11:49:06 OpenTRV open: 30%
2014-12-05_11:50:06 OpenTRV open: 30%
2014-12-05_11:51:06 OpenTRV open: 30%
2014-12-05_11:52:06 OpenTRV open: 30%
2014-12-05_11:53:06 OpenTRV open: 30%
2014-12-05_11:54:06 OpenTRV open: 30%
2014-12-05_11:55:06 OpenTRV open: 30%
2014-12-05_11:56:06 OpenTRV open: 30%
2014-12-05_11:57:06 OpenTRV open: 30%
2014-12-05_11:58:06 OpenTRV open: 30%
2014-12-05_11:59:06 OpenTRV open: 30%
2014-12-05_12:00:06 OpenTRV open: 30%
2014-12-05_12:01:06 OpenTRV open: 30%
2014-12-05_12:02:06 OpenTRV open: 30%
2014-12-05_12:03:06 OpenTRV open: 30%
2014-12-05_12:04:06 OpenTRV open: 30%
2014-12-05_12:05:06 OpenTRV open: 30%
2014-12-05_12:06:06 OpenTRV open: 30%
2014-12-05_12:07:06 OpenTRV open: 30%
2014-12-05_12:08:06 OpenTRV open: 30%
2014-12-05_12:09:06 OpenTRV open: 30%
2014-12-05_12:10:06 OpenTRV open: 30%
2014-12-05_12:11:06 OpenTRV open: 30%
2014-12-05_12:12:06 OpenTRV open: 30%
2014-12-05_12:13:06 OpenTRV open: 30%
2014-12-05_12:14:06 OpenTRV open: 30%
2014-12-05_12:15:06 OpenTRV open: 30%
2014-12-05_12:16:20 OpenTRV open: 30%
2014-12-05_12:17:06 OpenTRV open: 30%
2014-12-05_12:18:06 OpenTRV open: 30%
2014-12-05_12:19:06 OpenTRV open: 30%
2014-12-05_12:20:06 OpenTRV open: 10%
2014-12-05_12:21:06 OpenTRV open: 9%
2014-12-05_12:22:06 OpenTRV open: 8%
2014-12-05_12:23:06 OpenTRV open: 7%
2014-12-05_12:24:06 OpenTRV open: 6%
2014-12-05_12:25:06 OpenTRV open: 5%
2014-12-05_12:26:06 OpenTRV open: 4%
2014-12-05_12:27:06 OpenTRV open: 0%
2014-12-05_12:28:06 OpenTRV open: 0%
2014-12-05_12:32:06 OpenTRV open: 0%

Next step will be to graph the open percentage against temperature.


More information about the OpenTRV-interest mailing list