Hello,
i tried to switch by QNAP NAS on and off via openhab therfore I included one switch
Switch PC "NASr" { wol="192.168.178.255#00-08-9B-E3-2B-4A", exec=">[OFF:ssh -p PORT USER@IP halt]" }
Switching on is fine but off not…
I created one key under root user
ssh-keygen -t rsa -b 4096
and copied this to my NAS
ssh-copy-id -p PORT -i ~/.ssh/id_rsa.pub USER@IP
offline via the console everything is fine but not with the switch…any help???