Oh... I would love to know how to create a smart socket, indeed. Got a tutorial handy?
I have a project ongoing (a soundbar) but have some power issues, as I hear a thud-thud-thud when all is plugged it.
But a smart socket is amazingly interesting, as they are quite expensive.