@paulb - I don’t have specific recommendations, but I can offer a technique. I put a small power strip inside my mirror that powers the Pi, monitor, and LED accent lights. The cord to the power strip is plugged into a smart outlet, which I can access via Alexa or the mobile app. One command shuts off the power strip and anything plugged into it.

I think I’m using a WeMo smart plug, but I have like five different brands in the house.

As others stated these Wi-Fi sockets almost use as much energy as the Pi.
Also, how would you power on the Pi after shutting down?

I don’t think this is a good idea either. This device should be powered on 24/7 so you can use it anytime you want. Powering ON/OFF can reduce the SD card life (during boot and post-boot it not only reads the SD but writes some log and other data to it), can make it much more difficult to use the MagicMirror, etc…
It is better if you control the screen remotely. Like sending a command to the Pi to ‘power off’ the HDMI port, so the screen should go to standy.

Anyway if you want a Wi-Fi plug, then I can recommend this one. It is small, has power meter, etc… However it is available for delivery in January.

However, I would love to see your ‘why’ would you want to do this. I have several RPi running in my house, each has it’s own purpose, but I wouldn’t turn off either of them… It just makes it more complicated, then what you can spare on this.

Wifi plug won’t shut down the pi correctly and could corrupt the sd card, i thought about that then went for a switch as you can shut down and boot up the correct way, especially if the pi locks up for some reason https://www.youtube.com/watch?v=4nTuzIY0i3k

No need for this. The Pi can shut down your display and power it up for you with CEC commands. (on power ON, your Pi shoudl already do this automatically, but you’ll need to install libCEC to get it to turn it off.) Maybe have a shell script that executes when the pi’s shutdown command is executed to shut down the TV before the Pi shuts down.

By having CEC installed, you can also do things like shutdown the display when you’re alseep, say between the hours of 1 AM and 5AM using a cron task, and you can hook it up with a motion sensor to turn on the screen when motion is detected.

No need for an expensive, and potentially insecure WiFi power switch to do this.