And i want to to like this Switch Network_OliverGaming_Wake/Sleep "Oliver Gaming Wake" <network> (Status, Network) { ON:wol="192.168.192.255#48:5b:39:0a:43:07",OFF:wol="192.168.192.255#07:43:0a:38:5b:48" }
simply omit ON: and OFF: If the computer is sleeping, it will wake up, if the computer is awake, it will go to sleep.
Maybe you should add a second item with Network health of the computer and a Rule, which postUpdates the Wake/Sleep-Switch to the correct position, in case of wake-up/set-to-sleep the computer straight through the Power-button…
Sorry for the bump!!! I’m also interested in this solution, (thanks to following the link provided), i don’t think the solution proposed will work as the sleep on lan solution uses an inverted max address as the sleep magic packet. so indeed two seperate commands would be needed…