Qball's Weblog


Tags General 

Energy Point

This is a small tool to parse and display statistics from a youless.
See: http://youless.nl/

Download data

Download json file from youless. Do this atleast every 30 minutes.
Overlap is no problem, EnergyPoint will check for this.

wget http://youless/a?f=j -o output.json

Import data

Import download json files:

ep import output.json

This will import the data into ep.sqlite3 database.

Show data

Show graph

ep graph

Add average line and hour bar graph:

ep graph average bars

Print statistics
ep statistics day week





Code can be found here