Getting a Monthly Total Power Consuption for a Sonoff POW

So I’m struggling with the above. I know people have suggested using the History Stats but I can’t figure out the coding. Mostly I can’t figure out how to set the start to the beginning of the month and the end to the end of the current month.

I know how to do the calculation to add multiple sensor data together, which will be my next step to get a total for my entire home.

Any help would be appreciated, thanks.

Did you take a look at the utility meter?