<div dir="ltr">I think I have deciphered all the JSON tags, can someone confirm this list is correct?<div><br></div><div><div>@: Node ID</div><div>T|C16: room temperature in 1/16 C</div><div>B|mV: battery voltage in mV</div><div>occ|%: occupancy percentage</div><div>O: occupancy in 0-3</div><div>v|%: valve position percentage</div><div>vac|h: vacancy hours?</div><div>L: ambient light 0-255?</div><div>H|%: humidity percentage</div><div>vC|%: cumulative valve movement percentage</div><div>tT|C: nominal target temperature in C</div></div><div><br></div><div>Jeremy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 December 2015 at 12:43, Damon Hart-Davis <span dir="ltr"><<a href="mailto:dhd@exnet.com" target="_blank">dhd@exnet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Up to my eyes today (major delivery on Monday) but here are some pointers. I’ll try to do better on another round...<br>
<br>
<a href="http://www.earth.org.uk/note-on-IoT-comms-backhaul.html" rel="noreferrer" target="_blank">http://www.earth.org.uk/note-on-IoT-comms-backhaul.html</a><br>
<a href="http://www.earth.org.uk/OpenTRV-protocol-discussions-201411-2.html" rel="noreferrer" target="_blank">http://www.earth.org.uk/OpenTRV-protocol-discussions-201411-2.html</a><br>
<a href="http://www.earth.org.uk/note-on-IoT-data-sets-and-processing.html" rel="noreferrer" target="_blank">http://www.earth.org.uk/note-on-IoT-data-sets-and-processing.html</a><br>
<a href="https://github.com/DamonHD/OpenTRV/blob/master/javasrc/uk/org/opentrv/comms/util/EventDrivenV0p2CLIFollower.java" rel="noreferrer" target="_blank">https://github.com/DamonHD/OpenTRV/blob/master/javasrc/uk/org/opentrv/comms/util/EventDrivenV0p2CLIFollower.java</a><br>
<br>
Rgds<br>
<span class="HOEnZb"><font color="#888888"><br>
Damon<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On 17 Dec 2015, at 12:28, Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>> wrote:<br>
><br>
> Thanks, I think they may help, can you point out the location of the concentrator and protocol docs?<br>
><br>
> Jeremy<br>
><br>
> On 17 December 2015 at 12:17, Damon Hart-Davis <<a href="mailto:damon@opentrv.uk">damon@opentrv.uk</a>> wrote:<br>
> @ lines are incoming binary format stats messages<br>
> { lines are imcoming JSON format stats messages<br>
><br>
> = is local stats possibly with trailing JSON<br>
><br>
> At worst you can look at the Java code we have in our concentrator that will should how to mechanically parse them<br>
><br>
> We do also have defintions of the common values written up in a few places such as the protocol discussions.<br>
><br>
> Would any of those be useful?<br>
><br>
> Rgds<br>
><br>
> Damon<br>
><br>
><br>
> > On 17 Dec 2015, at 12:15, Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>> wrote:<br>
> ><br>
> > i have forgotten.... but damon knows the decode part<br>
> ><br>
> > otherwise you got it right<br>
> ><br>
> > 2015-12-17 12:58 GMT+01:00 Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>>:<br>
> > Ok, I may need some help deciphering the output ;-) My single unit only has the lines starting =F0%.... I assume that is the node directly connected to the Node-Red machine, The JSON blocks {"@": .... } I assume are coming from other nodes as I would assume are the @..... lines, but can someone explain the difference and point me at where I can get the info to decode these?<br>
> ><br>
> > Jeremy<br>
> ><br>
> > PS sorry for hijacking this thread ;-) but I hope it is useful<br>
> ><br>
> > On 17 December 2015 at 11:34, Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>> wrote:<br>
> > @151F;T19C2;L201;O1<br>
> > @950;T19C0;L185;O1<br>
> > @2101;T21CF;L235;O1<br>
> > @2800;T48C2;L1;O1<br>
> > {"@":"0950","+":6,"vac|h":13,"O":1,"B|mV":2686}<br>
> > =F0%@31C1;T3 6 W255 0 F255 0 W255 0 F255 0;S7 7 16;C1;{"@":"c2a2","L":112,"B|mV":3230,"occ|%":0,"vC|%":0}<br>
> ><br>
> > ><br>
> > {"@":"1008","+":2,"T|C16":318,"vC|%":3008,"O":1}<br>
> > {"@":"0950","+":7,"v|%":0,"tT|C":15,"vC|%":274}<br>
> ><br>
> ><br>
> > 2015-12-17 12:17 GMT+01:00 Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>>:<br>
> > Hum, I think you are getting slightly different format of messages to me :( Can you use PuTTY (or other telnet program) to connect to port 1234 on the Node-RED machine and send me the direct output? Note once connected you have to hit enter to start receiving the output.<br>
> ><br>
> > Jeremy<br>
> ><br>
> > On 17 December 2015 at 11:09, Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>> wrote:<br>
> > and the one to the far left:<br>
> ><br>
> > 17/12/2015 12.07.14dd103b81.22efc8<br>
> > msg : Object<br>
> > { "payload": "@950;T19C1;L193;O1\r\n", "_msgid": "4fdd14d4.b022ec" }<br>
> > 17/12/2015 12.07.19dd103b81.22efc8<br>
> > msg : Object<br>
> > { "payload": "@2101;T21CE;L234;O1\r\n", "_msgid": "e1d32d21.1e2cd" }<br>
> > 17/12/2015 12.07.19dd103b81.22efc8<br>
> > msg : Object<br>
> > { "payload": "{\"@\":\"151f\",\"+\":0,\"v|%\":0,\"tT|C\":15,\"vC|%\":1086}\r\n", "_msgid": "38f356d4.c70caa" }<br>
> ><br>
> > last one is 1 of 2 in the living room<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > 2015-12-17 12:06 GMT+01:00 Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>>:<br>
> > next one from the right:<br>
> ><br>
> > msg.payload : Object<br>
> > { "frost": 1, "warm": 0, "bake": 0, "valve": "0", "temp": 31, "nominalTarget": 7, "frostTarget": 7, "warmTarget": 16, "battery": 3230, "occupancy": 0 }<br>
> ><br>
> > 2015-12-17 12:05 GMT+01:00 Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>>:<br>
> > msg : Object<br>
> > { "payload": "frost:1,warm:0,bake:0,valve:0,temp:31.0625,nominalTarget:7,frostTarget:7,warmTarget:16,battery:3230,occupancy:0", "nodegroup": 26, "_msgid": "2ae206e9.d51dfa" }<br>
> ><br>
> > 2015-12-17 11:59 GMT+01:00 Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>>:<br>
> > one to far right enabled and wait for new debug data<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > OpenTRV-dev mailing list<br>
> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > OpenTRV-dev mailing list<br>
> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > OpenTRV-dev mailing list<br>
> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > OpenTRV-dev mailing list<br>
> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> ><br>
> ><br>
><br>
> _______________________________________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
><br>
> _______________________________________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
<br>
_______________________________________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
</div></div></blockquote></div><br></div>