IOT Python script to Turn on & Off switch of WiFi smart power extension

Job ID: 31751751

Budget: ₹600 – ₹1,500 INR

I have a laptop that supports 'boot/start PC when plugged', and a dual monitor setup. I want a
simple python code (simple console-based) to give power to the smart switch, and it should also have a feature to turn it off.

please check the flow cart to get a better understanding..