Is there a way to change a smart plug into a reset socket. What I want is then an “on” command is sent to the switch what it actually does it turn the switch off for a split second then turns it on again??
If the switch is in the off state I would like it to just turn it on.
The situation for this is a raspberry pi plugged into the switch, I turn the raspberry pi off via the device itself which in turn dismounts the micro sd and shuts down the device correctly, the problem is to start the device again the only way is to remove the micro usb from the rear for a second and plug it in again which triggers the restart, I would like to replicate this via a smart plug and my Logitech harmony remote.
Ideally I would just get the Logitech harmony to send an off command followed by an on command but this is not possible so need to see if I can do it via the plug itself, any help is much appreciated.