This isn’t practical or anything, but pretty funny and I guess on topic?
Actually, I think I’m going to a simpler version of this using my wahoo kickr! Shut down internet via script when 1 hour average power goes below 40W as measured by the kickr