Can I get an hourly usage report over MQTT from each device?

I want to have a report about how much power each device is using per hour for usage with my local power company’s tariff, so I see what everything actually costs me. But I can’t figure out how to get a report every hour for each measured device. I want that sent over MQTT, so I can put it on my website, run by EventGhost. Can somebody please help me out? I can’t imagine that this is so uncommon that nobody does it, even if i didn’t find anything on searches.