Fixed: use mean instead of median
Improved: query semantic
WIP: Added energy kWh (consumption and production) aggregators