[OpenTRV-interest] OpenTRV-interest Digest, Vol 4, Issue 5

Damon Hart-Davis EMAIL ADDRESS HIDDEN
Thu Mar 27 21:40:37 GMT 2014


Hi,

The sections are separated by semicolons, and not all sections will appear in every status line (one that starts with ‘=‘).



On 27 Mar 2014, at 21:22, Erin Jones <EMAIL ADDRESS HIDDEN> wrote:

> So it turns out, i had a usb bub II (had to disable my electric monitor so it can't stay) so I booted one of these guys up today.  Below is my basic output.  (i used putty for the serial connection, on windows, i came up as com6.  Arduino worked too, putty is just an older friend).
> typing against the console didn't seem to give output.  
> 
> When I pushed buttons and twiddled the dial... i got output!
> =F0%@24C1;T0 12 W255 0 F255 0 W255 0 F255 0;S10 10 21 cffO

That line says amongst other things:

> F0%@24C1

In Frost mode with valve 0% open at room temperature of 24 1/16 degrees C

> T0 12 W255 0 F255 0 W255 0 F255 0;

Time is 00:12 and neither LEARN schedule is set.

> S10 10 21 cffO

The target is currently 10C, the FROST target is 10C and the WARM target is 21C,
the unit has a comfort bias, the prediction is that the room shouldn’t be heated for this hour and the next, and there is a strong indication of room occupancy.

This is NOT properly externall documented yet.

However, if you look in UI_Minimal.cpp at serialStatusReport(), much will be revealed.

Martin is working on a more human-friendly front end on this rather minimal CLI/UI!

Rgds

Damon


> 
> 
> I am guessing that is 24C but i am pretty lost after that.  Do we have a guide to what those are?  Or what I should be doing next?  I powered up another one but buttons, etc didn't seem to relay.  presumably i need to sync them somehow.  I'm all ears for suggestions.  I will dig through the code if necessary but some pointers to relevant parts would be great.
> 
> as an aside on power, I am using USB power, it is 5v rather than the 3 specified in teh other mail but the usb connector was too tempting not to try.  is there a risk of burning the board?
> 
> Do we need an FTDI cable for each device or will we just be needing one on teh controller?
> 
> Hope to see more chatter here (or should we use the sf forum?)
> 
> OpenTRV booting: board V0.2 REV2; code 2014/Mar/23 20:34:55
> DEBUG mode with serial logging
> Reset count: 16
> Free RAM: 1433
> posPOST: 1: about to test RFM23
> posPOST: 2: RFM23 OK
> Vcc: 3298mV
> Int temp: 34C / 551
> posPOST: 3: internal sensors OK, next light/temp/other
> Gathering initial inputs and computing target/demand...
> light: 524
> temp: 390
> temp pot: 339
> posPOST: 4: light/temp OK
> posPOST: 5: slow RTC clock OK
> ? at CLI prompt for help
> =F0%@24C6;T0 8 W255 0 F255 0 W255 0 F255 0;S5 5 17 effO
> =F0%@24C6;T0 8 W255 0 F255 0 W255 0 F255 0;S5 5 17 effO
> 
> 
> 
> 
> On Thu, Mar 27, 2014 at 6:10 PM, <EMAIL ADDRESS HIDDEN> wrote:
> Send OpenTRV-interest mailing list submissions to
>         EMAIL ADDRESS HIDDEN
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.opentrv.org.uk/listinfo/opentrv-interest
> or, via email, send a message with subject or body 'help' to
>         EMAIL ADDRESS HIDDEN
> 
> You can reach the person managing the list at
>         EMAIL ADDRESS HIDDEN
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of OpenTRV-interest digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Tinkering kits (Alasdair Macdonald)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 27 Mar 2014 17:04:46 +0000
> From: Alasdair Macdonald <EMAIL ADDRESS HIDDEN>
> To: "Open, non-developer list for interested parties"
>         <EMAIL ADDRESS HIDDEN>
> Subject: Re: [OpenTRV-interest] Tinkering kits
> Message-ID:
>         <EMAIL ADDRESS HIDDEN>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Mark -
> 
> My tinkering kit arrived a few hours ago.
> 
> FTDI cable has been ordered.
> 
> I have 3 questions right now. (I have some more that I'll either figure out
> in the next few days, or I'll ask at a suitable time).
> 
> 1. Please confirm the connections that should be soldered. Damon wrote
> "solder to it's normally-open contacts which are the near-centre lug and
> the one further from it, marked 'C'." I THINK that means that I solder red
> & black to the left & centre pins in the attached image (the white cable is
> marked "ANT", and is I suppose the antenna?)
> 
> 2. How should I power the two boards? Hopefully the image can help here;
> the green terminals are marked 5 / B / GND / 3.3, but I don't believe
> you've passed on any information about this issue.
> 
> 3. Do I *need* an Arduino now, or *might* I need one in the future (to
> reprogram the board?) If possible, I hope to use my Debian desktop PC to
> connect to the board(s). I've read the Ubuntu section at
> http://sourceforge.net/p/opentrv/wiki/Arduino/ and already installed
> arduino and arduino-core, but I'm still not clear if this is going to talk
> to the Arduino or to the OpenTRV controller board.
> 
> 
> Alasdair
> 
> 
> 
> On 24 March 2014 12:39, Damon Hart-Davis <EMAIL ADDRESS HIDDEN> wrote:
> 
> > I suggest that we use this list to discuss how to use the tinkering kits
> > in the first instance!
> >
> > You shouldn't need to get any electricians or plumbers etc in in the first
> > case to play with this...
> >
> > Next thing to do is get hold of an appropriate FTDI cable such as this one
> > from RS:
> >
> > 429-307 1       ?13.72  ?13.72  USB-serial TTL cable,FT232RQ,TTL-232R
> >
> > (note that it's the 3V3 / 3.3V logic-level version), set up your computers
> > USB serial to talk at 4800 board to the board, possibly using the Arduino
> > IDE "Serial Monitor", eg see here:
> >
> > http://sourceforge.net/p/opentrv/wiki/Arduino/
> >
> > "Ubuntu, Arduino IDE and installing the latest release of the controller
> > software"
> >
> > and you can interact with the CLI (command-line interface).
> >
> > You can set one board up as a hub and the other as an normal valve
> > controller and have them talk to one another.
> >
> > You can go wild and order a Conrad FTH8V wireless value to be controlled
> > by one of the boards and I can tell you how to wire the other to control
> > your boiler in another instalment!
> >
> > Rgds
> >
> > Damon
> >
> >
> >
> > On 23 Mar 2014, at 18:12, Damon Hart-Davis <EMAIL ADDRESS HIDDEN> wrote:
> >
> > > Hi,
> > >
> > > I'm just getting the tinkering kits ready to send out tomorrow.
> > >
> > >
> > > I have loaded up the latest code, beta_17, which will also be going to
> > another trial participant's home tomorrow.  You can see that code, eg to
> > check out from SourceForge and load into the Arduino IDE:
> > >
> > > svn+ssh://
> > EMAIL ADDRESS HIDDEN/p/opentrv/code-0/trunk/Arduino/snapshots/20140323-r2736-V0p2-Arduino-REV2-beta17-boiler-bypass-timing
> > >
> > > Loading the code verifies for me that the FTDI serial/USB connection is
> > working.
> > >
> > > For fiddling with the code, eg adjusting and it or just looking at its
> > output on the Arduino serial monitor you may want to look here:
> > >
> > > http://sourceforge.net/p/opentrv/wiki/Arduino/
> > >
> > > in particular at the section "Ubuntu, Arduino IDE and installing the
> > latest release of the controller software".
> > >
> > > Even if you're not using Ubuntu the main points that matter are editing
> > the boards.txt file (wherever it is in your install) and getting the
> > bootloader .hex file in place, and setting the serial monitor to 4800 baud.
> > >
> > > Even if you don't want to fiddle with the code, the last of those lets
> > you interact with the just-human-compatible CLI to change settings via an
> > FTDI USB cable, dump stats and so on.
> > >
> > > You may also want to look at the latest code under:
> > >
> > > svn+ssh://
> > EMAIL ADDRESS HIDDEN/p/opentrv/code-0/trunk/Arduino/V0p2_Main
> > >
> > >
> > > I have not soldered on the Big Red Button (that cycles between FROST,
> > WARM and BAKE modes); solder to it's normally-open contacts which are the
> > near-centre lug and the one furtehr from it, marked 'C'.
> > >
> > >
> > > Have fun!
> > >
> > > Rgds
> > >
> > > Damon
> >
> > _______________________________________________
> > OpenTRV-interest mailing list
> > EMAIL ADDRESS HIDDEN
> > http://lists.opentrv.org.uk/listinfo/opentrv-interest
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opentrv.org.uk/pipermail/opentrv-interest/attachments/20140327/0dd11b9c/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: OpenTRVcontroller-AGM.jpg
> Type: image/jpeg
> Size: 112015 bytes
> Desc: not available
> URL: <http://lists.opentrv.org.uk/pipermail/opentrv-interest/attachments/20140327/0dd11b9c/attachment.jpg>
> 
> ------------------------------
> 
> _______________________________________________
> OpenTRV-interest mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-interest
> 
> 
> End of OpenTRV-interest Digest, Vol 4, Issue 5
> **********************************************
> 
> _______________________________________________
> OpenTRV-interest mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-interest



More information about the OpenTRV-interest mailing list