If I'm understanding the problem here, I've completely solved this recently. I don't have a givenergy system yet but I wanted to know my real usage and solar export in real time and in one place, and with the history.
So this is solvable, it's 100% accurate, and it will survive brief disconnections. And it doesn't rely on "the cloud" which can be turned off at any time. It's perfect.
But... it'll cost you.
Requirements:
Around £80
Home Assistant installed on either a raspberry pi computer or spare PC, virtual machine, whatever. Sounds like OP already has this, but if you're not OP and want to do this, be aware that you should probably be "technically inclined" to use this. Home Assistant is brilliant, but it's a bit of a pig to setup sometimes, and this is process will be no exception, so keep that in mind.
Step 1:
Install this app, take the time to get it set up and give it time to sort itself and start showing your data: https://www.glowmarkt.com/#/faqs/apps/how-do-i-find-bright I'm not sure if a human has to request things at their end, so keep that in mind given our proximity to Christmas.
Once numbers start appearing (if the costs are wrong it's due to your smart meter having the wrong prices, see the FAQ in the app) you're good to go for step 2. I recommend you get this working before step 2 as that's when you're spending money and they will require the username you setup in this app when you order to set up the IHD.
Step 2:
Buy this: https://shop.glowmarkt.com/products/display-and-cad-combined-for-smart-meter-customers - ensure you fill out the form correctly with your username (setup in step 1 when you set up the app).
Once this arrives it should "just work" but you will have to set it up to work on your home wifi.
You now have two IHDs telling you the same thing.
Step 3:
This is where it gets a bit complicated.
Watch this video: https://www.youtube.com/watch?v=7tnKTNZd9Dc
This guy will teach you how to set up your new IHD to talk to Home Assistant. Follow this guide. Again, this is a bit of a pig to set up. I had to uninstall and reinstall the MQTT broker addon before it worked for some reason and I had to manually edit a configuration file and insert the serial number to get things working.
I found that I got a few days of history imported automatically. Unfortunately you don't get much but the IHD will reimport any missing data for when it's turned off or can't get data for a while for whatever reason. You're probably okay for a day of two of outage but after that I've found my smart meter deletes the data so keep that in mind.
Step 4:
Set up the energy dashboard in Home Assistant. It will ask you for various sensors and they should all be present if step 3 was followed correctly and everything is working.
These are my settings: https://i.imgur.com/WBBNcsU.png
Only the Electric and Gas sections will be applicable here. The Solar is from a separate integration for my Solis setup.
You'll then get proper import and export values. If you add in your solar (like I have) then you'll also be able to see the self consumption of solar generated. You can also add your givenergy battery here to complete the picture.
This is 100% accurate as it reads from your meter and it's what you get billed so it should be as precise as it gets. No clamps, no guesswork, just real numbers from your meter which is what you're paying for. Anything battery/solar related will have to come from elsewhere, of course, but this solves the "this is what I'm paying/getting paid" problem, which is nice.
This is what my energy dashboard looked like in Home Assistant for yesterday: https://i.imgur.com/adbw0va.png
Home Assistant does an excellent job of displaying this data and allowing me to "geek out" should I want to. An involved process to set up, but very much worth it in my opinion.