AlexGustafsson / homebridge-wol

A Wake on Lan plugin for Homebridge
MIT License
301 stars 30 forks source link

Host Key verification failed #157

Closed asbesto01 closed 3 years ago

asbesto01 commented 3 years ago

Hello there, I am trying to configure the WOL plugin however I receive this error, I am using hoobs :(

Thanks!

6/5/2021, 18:32:26 [Mac] NetworkDevice awake cycle started for "Mac" (192.168.4.195) 6/5/2021, 18:32:26 [Mac] Attempting to wake up "Mac" (192.168.4.195) 6/5/2021, 18:32:26 [Mac] NetworkDevice "Mac" (192.168.4.195) went from status "Offline" to "Waking Up" 6/5/2021, 18:32:26 [Mac] Attempting to start "Mac" (192.168.4.195) by sending a WoL packet 6/5/2021, 18:32:27 [Mac] Waiting for wake grace time (10000ms) for "Mac" (192.168.4.195) 6/5/2021, 18:32:29 [HOOBS A0AC@On] The write handler for the characteristic 'On' on the accessory 'Mac' was slow to respond! 6/5/2021, 18:32:36 [HOOBS A0AC@On] The write handler for the characteristic 'On' on the accessory 'Mac' didn't respond at all!. Please check that you properly call the callback! 6/5/2021, 18:32:37 [Mac] Attempting to wake up "Mac" (192.168.4.195) using "ssh" 6/5/2021, 18:32:37 [Mac] An error occured while trying to wake "Mac" (192.168.4.195): Error: Command failed: ssh mac.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Socket.<anonymous> (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:673:12)

{ killed: false, code: 255, signal: null, cmd: 'ssh mac.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n'