Good morning everyone. I have created this item definition in wol.items inside items folder to be able to turn on and off a server “on demand”. This is the statement…
Switch WOL_Network_Sora “Server Sora” (status,network) { wol=“192.168.1.255#XX:XX:XX:XX:XX:XX”, exec=">[OFF:net rpc shutdown -I 192.168.1.2 -U PowerMAN%%bloblobloblo -f]" }
…and this is in my sitemap.
Default item=WOL_Network_Sora icon=“qualityofservice”
It’s almost a copy-paste from the wol example available on the openhab wol binding page.
The wake on lan part of the switch works as intended.
The shutdown command works perfectly if I type it in using an SSH session into openhabian, but seems to have no effect in the item description. Any clue?
Thanks for your kind help!
Have a nice day!
Cesare Giuliani