For info on how to set up a condition that is triggered every x minutes, check Cron time conditions - Intro and how to set them up
For every minute, cron expression would be * * * * *
For every 5 minutes, it would be */5 * * * *
With regards to smart plug, I have one but unfortunately Apilio reads ‘0’ values for all parameters (current, voltage, power,etc.), so it is not a good option for you.