Cannot shut Mac mini down
Installed and correctly launched the Homebridge-WOL plugin on my Windows Homebridge server in command prompt, with following instructions:

 "accessory": "NetworkDevice",
     "name": "MacMini",
     "mac": "1234",
     "ip": "192.168.0.189",
     "pingInterval": 45,
"wakeGraceTime": 5,
"wakeCommand": "ssh stefano@192.168.0.189 caffeinate -u -t 300",
"shutdownGraceTime": 60,
"shutdownCommand": "ssh stefano@192.168.0.189 pmset sleepnow"

when I try to shut it down VIA LAN, I receive:

[2020-3-15 23:17:12] [MacMini] NetworkDevice shutdown cycle started for "MacMini" (192.168.0.189)
[2020-3-15 23:17:12] [MacMini] NetworkDevice "MacMini" (192.168.0.189) went from status "Online" to "Shutting Down"
[2020-3-15 23:17:12] [MacMini] Attempting to shut down "MacMini" (192.168.0.189) using "ssh"
Password:



**HERE I insert the password manually (is there a way to store it in the config.json?)**

The Mac shuts down perfectly, however it wakes by itself after some seconds. Terminal shows:

[2020-3-15 23:17:20] [MacMini] Waiting for shutdown grace time (60000ms) for "MacMini" (192.168.0.189)
[2020-3-15 23:18:20] [MacMini] NetworkDevice "MacMini" (192.168.0.189) went from status "Shutting Down" to "Online"

**How to stop the auto turn-on?**
**How to specify in the config.json the password ?**






Thanks!!!