I have data point that read energy consumption (kwH) from a power meter. I would like to know how can I divide the data into off-peak hour consumption and peak-hour consumption. In addition, I would also like to calculate the total consumption for today, yesterday, current month and previous month. I am still quite new with mango. Can somebody assist me on this matter or share any link that can be helpful for solving my problem.