A while ago I was reading through articles, posts, etc about people monitoring their power consumption at home. Whether that be for specific rooms, devices, appliances, or the whole house. I set out to find a solution that was relatively turnkey. There are tons of options for both actual monitoring and then collecting the data and displaying trends, totals, etc.
I wound up getting a whole-home monitoring kit from Emporia Energy: https://shop.emporiaenergy.com/products/gen-2-emporia-vue-with-16-sensors-bundle It uses clamps that are installed in your breaker panel to monitor individual circuits. This is handy for getting overall usage if you're not super concerned with individual components/appliances. If you want to get more granular, they also have smart plugs that you can add that integrate into their monitoring.
Installation was pretty easy. Disclaimer: you should hire an authorized electrician to do this work, ideally. However if you're a bit DIY-oriented it's pretty easy to figure out how to do it safely. I got the kit with 2 sensors for the mains and then 16 individual circuit monitors. Once everything is installed connect the monitor to wifi and to your Emporia account.
After that's all set, check out the vuegraf project on Github: https://github.com/jertel/vuegraf This is a basic Docker container that will use Emporia's API to get your statistics and then send them to your InfluxDB instance. There's a dashboard provided there, but you can obviously do whatever you want with the data. I created a super simple panel to embed in my existing dashboard: