Not shutting down
Hi,
The wake on lan works, but the shutting down does not.
Config:
"shutdownCommand": "sudo net rpc shutdown --ipaddress 192.168.1.11 --user user%password"

When I check the logs:
Command failed
homebridge_1  | We trust you have received the usual lecture from the local System
homebridge_1  | Administrator. It usually boils down to these three things:
homebridge_1  |
homebridge_1  |     #1) Respect the privacy of others.
homebridge_1  |     #2) Think before you type.
homebridge_1  |     #3) With great power comes great responsibility.
homebridge_1  |
homebridge_1  | sudo: no tty present and no askpass program specified

How do I fix this? When I enter the command in putty ( as user pi) it does work, so I assume it's something with priviliges/not entering password.
I also noticed WOL didn't work after I remote shutdown: coincidence?