Wattmeter data from sqlite

https://www.codeproject.com/Questions/878973/sum-of-values-between-two-dates