Wattmeter data from sqlite

Yes, I know this workaround, but this does not work properly.

By not working properly do you mean that it does not correctly give you 4 weeks summary or that a 4 week summary is not good enough for your requirements?

Months are January, February.... 4 week summary is not a solution for this