Energy rules, sum of group to item help

Hello Danonym1,
what are you really trying to achieve? What are the Day, Week etc. items for?
You should divide your idea into two parts I think.

  1. Items to store and display individual and aggregated consumptions for rules and your sitemap
  2. “Persisting” these items to a more powerful graphing solution. I use InfluxDB + Grafana (easy to setup). InfluxDB will store your data and Grafana will create nice graphs with all kinds of options. In the next step, you can export your graphs as images for your sitemap.