This is a small tool to parse and display statistics from a youless. See: http://youless.nl/
Install the following packages:
Download json file from youless. Do this at least every 30 minutes. Overlap is no problem, YouLess will check for this.
wget "http://youless/V?f=j&h=1" -O `date +%Y-%m-%d-%H%M-1.json` wget "http://youless/V?f=j&h=2" -O `date +%Y-%m-%d-%H%M-2.json`
Import download json files:
ep import output.json
This will import the data into es.sqlite3 database.
Add average line and hour bar graph:
ep graph average bars
Print statistics ep statistics day week
To show a range? ep graph range 4/9/2012 4/10/2012
The program is licensed under the GPL-v2 license.
The source code can be found here.