I would like to add a turn_off section to the wake_on_lan switch of my diskstation and I know Synology has tighten the ssh security, so you can´t login as root directly, and the “normal” admin doesn´t have rights to do a poweroff commad.
Is it possible to do a ssh shell command to the diskstation, do a sudo to root and set the poweroff command with hassio at all?