So I want to do a very simple thing with PLEG to sort of figure out how it all works. I want to use WOLPlusPing to ping a server… if it doesn’t respond shut off an outlet for 2 min and turn it back on… wait another 2 min and if WOLPlusPing is not on do it again.
So just to test I set a trigger
ServerPingFail and tied it to an on off virtual switch for testing.
Set condition:
Restart ServerPingFail EQ “false”
and set Logic Actions
Restart Condition is True Immediate - 1; Delay 30 - 1
I can run the action and it does what I need… shutsoff for 30 seconds then turns on for testing purposes. The issue is I cannot get the to trigger from the conditions. I’m probably doing something stupid in syntax of the condition but I’ve tried a lot of different options and it seems like it does show a timestamp but it never actually runs the action. Any tips appreciated.