[OpenTRV-dev] Java logger/concentrator setup

Damon Hart-Davis damon at opentrv.uk
Thu Jan 14 16:56:07 GMT 2016


FYI, see:

http://www.earth.org.uk/OpenTRV/scripts/20160114JavaServerSetup.txt



HOW-TO:

* install a couple of libraries first (see the README.txt in the javasrc folder)

* compile the jar file by running ant in the top folder: it will create the .jar in the out_D folder

* copy the .jar to the Pi somewhere

* copy the script suh as localOpenTRVMonitor.sh in this directory and change the location of the .jar file to where you put the .jar in your install

* create a config.json that is passed as an argument to the .jar (examples are in javasrc/uk/org/opentrv/test/statsHandling/)



More information about the OpenTRV-dev mailing list