<div dir="ltr">hi again<div><br></div><div>i'm going to fiddle with my bed-roller server box and i wanted to add data from the OpenTRV units</div><div><br></div><div><br></div><div>2 ways i can think of it</div><div><br></div><div><br></div><div>1) Each Opentrv board sends the data to emoncms... they at least work on the same freq, but they dont use the same module,... latest rfm lib that emontx boards use are updated to be able to use rfm69 but i think their boards are still shipped with rfm12 or was it  22.... </div><div><br></div><div>anyways my idea was to send commands to the valve, then to emoncms... then sleep for the 2 mins or so</div><div><br></div><div><br></div><div>2) have one emontx board grap the data it needs from one Opentrv board that again wireless gets data from the others.... i have 2 emontx boards and one opentrv at my hot water cylinder...</div><div><br></div><div>one of the emontx boards allready gets data from the heatmeter via an IR optical serial port</div><div><br></div><div>the other one only monitors my water meter so most of the time it will just sit there idle and just report 0 water usage to the emoncms system... i think this one will be mostly suited </div><div><br></div><div>right now that board only sends over 2 numbers</div><div><br></div><div>1) liters an hour</div><div>2) clicks since last reading (liters)</div><div><br></div><div>it reports to emoncms every 4 sec</div><div><br></div><div>so for each opentrv i just need to collect and add:</div><div><br></div><div>1)battery voltage</div><div>2)temp</div><div>3)light level</div><div>4)valve open %</div><div><br></div><div>i have attached 2 files... one for each of the emontx boards</div><div><br></div><div>the small file is the one for the water meter and the other is for the heatmeater, electricity pulse, and hotwater temp...</div><div><br></div><div>my idea is to add something to the watermeter skecth that can grab serial data and pick what is needed... i just dont have any clue how.. also the serial data from the opentrv must be in the same order or the emontx will start to report false data.... maybe have the opentrv buffer the data and just update the output when new values are there?</div><div><br></div><div>anyone have idea or could help out?</div><div><br></div><div>the zip file is the sketch for my opentrv that controls the hot water</div><div><br></div></div>