Need to setup a Wifi switch energy meter
I have a small home in a location that only allows 2.8Kva load. I can do any modifications inside the home but I cannot do any modifications outside the home. So the problem is like I want to build a system that gives me a warning as I approach 2.8 let's say I want an alarm at 2.7 and cut off internally at 2.75 so that I don't have to contact the building admin every time the main breaker trips. Because it happens sometimes and it's really inconvenient.
Is there any way to use a wifi controlled switch energy meter that reports the consumption in real time and trips when the preset values are matched?
Also followup question, idk if it's possible or not, can I use an inverter with a couple of batteries that can handle any load beyond the limit? I want to limit the power I take from the grid to 2.8 and when I'm using let's say 3.5 so the rest 0.8 will be coming from the batteries and when I'm using let's say 1.5Kva then the batteries will charge. Is this something that's possible?