AlexGustafsson / homebridge-wol

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

Mac Key Verification failed #118

Closed sanskardhanda closed 4 years ago

sanskardhanda commented 4 years ago

I'm not able to do anything in the HomeKit app

Configuration

My configuration looks like this: "accessories": [ { "name": "MacBook Air", "ip": "Sanskars-MacBook-Air.local", "pingInterval": 45, "pingsToChange": 5, "pingTimeout": 1, "pingCommand": "ssh Sanskars-MacBook-Air.local 'if [[ $(pmset -g powerstate IODisplayWrangler | tail -1 | cut -c29) -lt 4 ]]; then; exit 1; else; echo 1; fi;'", "pingCommandTimeout": 0, "mac": "", "startCommandTimeout": 0, "wakeGraceTime": 5, "wakeCommand": "ssh Sanskars-MacBook-Air.local caffeinate -u -t 300", "wakeCommandTimeout": 0, "shutdownCommand": "ssh Sanskars-MacBook-Air.local sudo shutdown -h now", "shutdownGraceTime": 15, "shutdownCommandTimeout": 0, "log": true, "logPinger": false, "debugLog": false, "returnEarly": false, "accessory": "NetworkDevice"

-----------------------LOG------------------- Loading logs using native method... File: /Users/sanskardhanda/.homebridge/homebridge.log

B] 192.168.1.2 Power on: true [9/7/2020, 11:18:50 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:18:54 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:19:31 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:19:35 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:20:11 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:20:14 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:21:29 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:21:32 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:22:59 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:23:02 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:24:14 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:24:17 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:25:40 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:25:43 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:27:01 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:27:05 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:43:08 AM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 11:43:22 AM] [HomebridgeADB] 192.168.1.2 Switched from home app - other [9/7/2020, 11:43:25 AM] [HomebridgeADB] 192.168.1.2 Sleeping [9/7/2020, 11:43:30 AM] [HomebridgeADB] 192.168.1.2 Switched from device - home [9/7/2020, 12:22:09 PM] [HomebridgeADB] 192.168.1.2 Power on: false [9/7/2020, 12:22:16 PM] [HomebridgeADB] 192.168.1.2 Awake [9/7/2020, 12:22:18 PM] [HomebridgeADB] 192.168.1.2 Switched from home app - com.airtel.tv [9/7/2020, 12:22:33 PM] [HomebridgeADB] 192.168.1.2 Switched from device - home [9/7/2020, 12:43:02 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 12:43:05 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 12:43:09 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 12:43:09 PM] [HomebridgeADB] 192.168.1.2 Sleeping [9/7/2020, 12:43:09 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 12:43:11 PM] [HomebridgeADB] 192.168.1.2 Power on: false [9/7/2020, 12:53:04 PM] [HomebridgeADB] 192.168.1.2 Power on: false [9/7/2020, 12:53:06 PM] [HomebridgeADB] 192.168.1.2 Power on: false [9/7/2020, 12:53:06 PM] [HomebridgeADB] 192.168.1.2 Awake [9/7/2020, 1:00:34 PM] [HomebridgeADB] 192.168.1.2 Sleeping [9/7/2020, 1:32:46 PM] [HomebridgeADB] 192.168.1.2 Awake [9/7/2020, 1:32:47 PM] [HomebridgeADB] 192.168.1.2 Switched from home app - com.airtel.tv [9/7/2020, 1:32:56 PM] [HomebridgeADB] 192.168.1.2 Switched from device - home [9/7/2020, 1:36:12 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:36:15 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:37:42 PM] [Config] Changes to config.json saved. [9/7/2020, 1:37:44 PM] [Config] Homebridge restart request received [9/7/2020, 1:37:44 PM] [Config] UI / Bridge settings have not changed; only restarting Homebridge process [9/7/2020, 1:37:44 PM] [HB Supervisor] Sending SIGTERM to Homebridge [9/7/2020, 1:37:44 PM] Got SIGTERM, shutting down Homebridge... [9/7/2020, 1:37:49 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [9/7/2020, 1:37:54 PM] [HB Supervisor] Restarting Homebridge... [9/7/2020, 1:37:54 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [9/7/2020, 1:37:54 PM] [HB Supervisor] Started Homebridge v1.1.3 with PID: 12617 [9/7/2020, 1:37:55 PM] Loaded config.json with 0 accessories and 3 platforms. [9/7/2020, 1:37:55 PM] --- [9/7/2020, 1:37:56 PM] Loaded plugin: homebridge-adb@1.0.2 [9/7/2020, 1:37:56 PM] Registering platform 'homebridge-adb.HomebridgeADB' [9/7/2020, 1:37:56 PM] --- [9/7/2020, 1:37:56 PM] Loaded plugin: homebridge-config-ui-x@4.27.1 [9/7/2020, 1:37:56 PM] Registering platform 'homebridge-config-ui-x.config' [9/7/2020, 1:37:56 PM] --- [9/7/2020, 1:37:57 PM] Loaded plugin: homebridge-display@2.0.2 [9/7/2020, 1:37:57 PM] Registering platform 'homebridge-display.homebridge-display' [9/7/2020, 1:37:57 PM] --- [9/7/2020, 1:37:57 PM] Loading 3 platforms... [9/7/2020, 1:37:57 PM] [Config] Initializing config platform... [9/7/2020, 1:37:57 PM] [Config] Running in Service Mode [9/7/2020, 1:37:57 PM] [HomebridgeADB] Initializing HomebridgeADB platform... [9/7/2020, 1:37:57 PM] [homebridge-display] Initializing homebridge-display platform... [9/7/2020, 1:37:57 PM] [homebridge-display] Starting Homebridge-Display server on port 6969 Setup Payload: X-HM://0024TOOQ93DFI Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 818-87-281 │     
└────────────┘     

[9/7/2020, 1:37:57 PM] Homebridge is running on port 51431. [9/7/2020, 1:37:57 PM] [HomebridgeADB] 192.168.1.2 - Connected [9/7/2020, 1:37:57 PM] [HomebridgeADB] 192.168.1.2 - Connection attempt 5 [9/7/2020, 1:37:57 PM] XStream Box is running on port 62401. [9/7/2020, 1:37:57 PM] Please add [XStream Box] manually in Home app. Setup Code: 818-87-281 [9/7/2020, 1:38:05 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:38:08 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:38:11 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:38:14 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:38:15 PM] [Config] [admin] Accessory layout changes saved. [9/7/2020, 1:38:18 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:38:20 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:39:29 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:40:16 PM] [Config] Changes to config.json saved. [9/7/2020, 1:40:16 PM] [Config] Running Command: npm uninstall homebridge-display [9/7/2020, 1:42:17 PM] [HomebridgeADB] 192.168.1.2 Awake [9/7/2020, 1:42:17 PM] [HomebridgeADB] 192.168.1.2 Switched from home app - com.spotify.tv.android [9/7/2020, 1:42:22 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:42:25 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:42:30 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:42:53 PM] [HomebridgeADB] 192.168.1.2 Sleeping [9/7/2020, 1:42:57 PM] [HomebridgeADB] 192.168.1.2 Switched from device - home [9/7/2020, 1:43:02 PM] [HomebridgeADB] 192.168.1.2 Switched from home app - com.spotify.tv.android [9/7/2020, 1:43:03 PM] [HomebridgeADB] 192.168.1.2 Awake [9/7/2020, 1:44:37 PM] [HomebridgeADB] 192.168.1.2 Switched from device - home [9/7/2020, 1:45:00 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:45:00 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:45:52 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:45:55 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:47:05 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:47:08 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:48:02 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:48:05 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:50:16 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:50:19 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:51:08 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:51:11 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 1:51:14 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:02:59 PM] [Config] Changes to config.json saved. [9/7/2020, 2:03:24 PM] [Config] Changes to config.json saved. [9/7/2020, 2:03:26 PM] [Config] Homebridge restart request received [9/7/2020, 2:03:26 PM] [Config] UI / Bridge settings have not changed; only restarting Homebridge process [9/7/2020, 2:03:26 PM] [HB Supervisor] Sending SIGTERM to Homebridge [9/7/2020, 2:03:26 PM] Got SIGTERM, shutting down Homebridge... [9/7/2020, 2:03:31 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [9/7/2020, 2:03:36 PM] [HB Supervisor] Restarting Homebridge... [9/7/2020, 2:03:36 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [9/7/2020, 2:03:36 PM] [HB Supervisor] Started Homebridge v1.1.3 with PID: 13660 [9/7/2020, 2:03:37 PM] Loaded config.json with 1 accessories and 2 platforms. [9/7/2020, 2:03:37 PM] --- [9/7/2020, 2:03:37 PM] Loaded plugin: homebridge-adb@1.0.2 [9/7/2020, 2:03:37 PM] Registering platform 'homebridge-adb.HomebridgeADB' [9/7/2020, 2:03:37 PM] --- [9/7/2020, 2:03:38 PM] Loaded plugin: homebridge-config-ui-x@4.27.1 [9/7/2020, 2:03:38 PM] Registering platform 'homebridge-config-ui-x.config' [9/7/2020, 2:03:38 PM] --- [9/7/2020, 2:03:38 PM] Loaded plugin: homebridge-wol@4.3.0 [9/7/2020, 2:03:38 PM] Registering accessory 'homebridge-wol.NetworkDevice' [9/7/2020, 2:03:38 PM] --- [9/7/2020, 2:03:38 PM] Loading 2 platforms... [9/7/2020, 2:03:38 PM] [Config] Initializing config platform... [9/7/2020, 2:03:38 PM] [Config] Running in Service Mode [9/7/2020, 2:03:38 PM] [HomebridgeADB] Initializing HomebridgeADB platform... [9/7/2020, 2:03:38 PM] Loading 1 accessories... [9/7/2020, 2:03:38 PM] [MacBook Air] Initializing NetworkDevice accessory... Setup Payload: X-HM://0024TOOQ93DFI Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 818-87-281 │     
└────────────┘     

[9/7/2020, 2:03:38 PM] Homebridge is running on port 51431. [9/7/2020, 2:03:38 PM] [HomebridgeADB] 192.168.1.2 - Connected [9/7/2020, 2:03:38 PM] [HomebridgeADB] 192.168.1.2 - Connection attempt 5 [9/7/2020, 2:03:38 PM] XStream Box is running on port 50841. [9/7/2020, 2:03:38 PM] Please add [XStream Box] manually in Home app. Setup Code: 818-87-281 [9/7/2020, 2:03:46 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:03:49 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:04:23 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:04:24 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:04:37 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:37 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:37 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:04:37 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:04:37 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:42 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:04:42 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:04:43 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:04:51 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:51 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:51 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:04:51 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:04:52 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:04:57 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:04:57 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:04:57 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:04:58 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:05:01 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:05:34 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:05:37 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:05:58 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:05:58 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:05:58 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:05:58 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:05:58 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:05:58 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:06:03 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:06:03 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:06:03 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:06:35 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:06:38 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:38 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:38 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:06:38 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:06:38 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:39 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:06:44 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:06:44 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:06:44 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:06:53 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:53 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:53 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:06:53 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:06:53 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:06:58 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:06:58 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:06:58 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:07:08 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:10:42 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:14:56 PM] [Config] Changes to config.json saved. [9/7/2020, 2:15:06 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:15:08 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:08 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:08 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:15:08 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:15:08 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:13 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:15:13 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:15:13 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:15:14 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:15:15 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:15 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:15 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:15:15 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:15:16 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:21 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:15:21 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:15:21 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:15:25 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:15:28 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:15:35 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:35 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:35 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:15:35 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:15:35 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:15:40 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:15:40 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 ssh: connect to host sanskars-macbook-air.local port 22: Connection refused

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'ssh: connect to host sanskars-macbook-air.local port 22: Connection refused\r\n' } [9/7/2020, 2:15:40 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:15:54 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:18:49 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:18:52 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:18:52 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:18:52 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:18:52 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:18:52 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:18:57 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:18:58 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:18:58 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:18:58 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:18:58 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:18:58 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:18:58 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:18:58 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:19:03 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:19:03 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:19:03 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:21:07 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:21:07 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:21:07 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:21:07 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:21:07 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:21:12 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:21:12 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:21:12 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:21:18 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:21:22 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:22:41 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:22:44 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:23:28 PM] [Config] Changes to config.json saved. [9/7/2020, 2:23:31 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:23:34 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:23:35 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:23:35 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:23:35 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:23:35 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:23:35 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:23:37 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:23:40 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:23:40 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:23:40 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:23:42 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:23:43 PM] [Config] [admin] Accessory layout changes saved. [9/7/2020, 2:25:46 PM] [Config] Changes to config.json saved. [9/7/2020, 2:30:06 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:06 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:06 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:30:06 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:30:07 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:12 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:30:12 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:30:12 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:30:12 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:12 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:12 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:30:12 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:30:13 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:30:18 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:30:18 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:30:18 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:42:48 PM] [Config] Changes to config.json saved. [9/7/2020, 2:42:51 PM] [Config] Homebridge restart request received [9/7/2020, 2:42:51 PM] [Config] UI / Bridge settings have not changed; only restarting Homebridge process [9/7/2020, 2:42:51 PM] [HB Supervisor] Sending SIGTERM to Homebridge [9/7/2020, 2:42:51 PM] Got SIGTERM, shutting down Homebridge... [9/7/2020, 2:42:56 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [9/7/2020, 2:43:01 PM] [HB Supervisor] Restarting Homebridge... [9/7/2020, 2:43:01 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [9/7/2020, 2:43:01 PM] [HB Supervisor] Started Homebridge v1.1.3 with PID: 17878 [9/7/2020, 2:43:02 PM] Loaded config.json with 1 accessories and 2 platforms. [9/7/2020, 2:43:02 PM] --- [9/7/2020, 2:43:02 PM] Loaded plugin: homebridge-adb@1.0.2 [9/7/2020, 2:43:02 PM] Registering platform 'homebridge-adb.HomebridgeADB' [9/7/2020, 2:43:02 PM] --- [9/7/2020, 2:43:03 PM] Loaded plugin: homebridge-config-ui-x@4.27.1 [9/7/2020, 2:43:03 PM] Registering platform 'homebridge-config-ui-x.config' [9/7/2020, 2:43:03 PM] --- [9/7/2020, 2:43:03 PM] Loaded plugin: homebridge-wol@4.3.0 [9/7/2020, 2:43:03 PM] Registering accessory 'homebridge-wol.NetworkDevice' [9/7/2020, 2:43:03 PM] --- [9/7/2020, 2:43:03 PM] Loading 2 platforms... [9/7/2020, 2:43:03 PM] [Config] Initializing config platform... [9/7/2020, 2:43:03 PM] [Config] Running in Service Mode [9/7/2020, 2:43:03 PM] [HomebridgeADB] Initializing HomebridgeADB platform... [9/7/2020, 2:43:03 PM] Loading 1 accessories... [9/7/2020, 2:43:03 PM] [MacBook Air] Initializing NetworkDevice accessory... Setup Payload: X-HM://0024TOOQ93DFI Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 818-87-281 │     
└────────────┘     

[9/7/2020, 2:43:03 PM] Homebridge is running on port 51431. [9/7/2020, 2:43:03 PM] [HomebridgeADB] 192.168.1.2 - Connected [9/7/2020, 2:43:03 PM] [HomebridgeADB] 192.168.1.2 - Connection attempt 5 [9/7/2020, 2:43:03 PM] XStream Box is running on port 56332. [9/7/2020, 2:43:03 PM] Please add [XStream Box] manually in Home app. Setup Code: 818-87-281 [9/7/2020, 2:43:11 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:43:14 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:43:16 PM] [Config] [homebridge] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help. [9/7/2020, 2:43:21 PM] [Config] [homebridge-adb] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" - see https://git.io/JJSz6 for help. [9/7/2020, 2:44:57 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:44:58 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:44:58 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:44:58 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 2:44:58 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 2:44:58 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 2:45:00 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:45:01 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:45:02 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:45:02 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:45:02 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:45:03 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 2:45:04 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 2:45:04 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline" [9/7/2020, 2:45:05 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:46:41 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:46:43 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:46:46 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:51:22 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:51:25 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:51:54 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:51:57 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:54:07 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:54:10 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:54:38 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:54:41 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:55:10 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:55:13 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:55:40 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:55:44 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:59:38 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 2:59:41 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 3:02:01 PM] [Config] Homebridge restart request received [9/7/2020, 3:02:01 PM] [Config] No restart command defined, killing process... [9/7/2020, 3:02:01 PM] [HB Supervisor] Stopping services... [9/7/2020, 3:02:01 PM] Got SIGTERM, shutting down Homebridge... [9/7/2020, 3:02:06 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [9/7/2020, 3:02:09 PM] [HB Supervisor] Homebridge Storage Path: /Users/sanskardhanda/.homebridge [9/7/2020, 3:02:09 PM] [HB Supervisor] Homebridge Config Path: /Users/sanskardhanda/.homebridge/config.json [9/7/2020, 3:02:09 PM] [HB Supervisor] Logging to /Users/sanskardhanda/.homebridge/homebridge.log [9/7/2020, 3:02:09 PM] [HB Supervisor] OS: Darwin 19.6.0 x64 [9/7/2020, 3:02:09 PM] [HB Supervisor] Node.js v14.9.0 /usr/local/bin/node [9/7/2020, 3:02:09 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [9/7/2020, 3:02:09 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [9/7/2020, 3:02:09 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -D [9/7/2020, 3:02:09 PM] [HB Supervisor] Started Homebridge v1.1.3 with PID: 18733 [9/7/2020, 3:02:10 PM] Loaded config.json with 1 accessories and 2 platforms. [9/7/2020, 3:02:10 PM] --- [9/7/2020, 3:02:11 PM] Loaded plugin: homebridge-adb@1.0.2 [9/7/2020, 3:02:11 PM] Registering platform 'homebridge-adb.HomebridgeADB' [9/7/2020, 3:02:11 PM] --- [9/7/2020, 3:02:11 PM] Loaded plugin: homebridge-config-ui-x@4.27.1 [9/7/2020, 3:02:11 PM] Registering platform 'homebridge-config-ui-x.config' [9/7/2020, 3:02:11 PM] --- [9/7/2020, 3:02:11 PM] Loaded plugin: homebridge-wol@4.3.0 [9/7/2020, 3:02:11 PM] Registering accessory 'homebridge-wol.NetworkDevice' [9/7/2020, 3:02:11 PM] --- [9/7/2020, 3:02:11 PM] Loading 2 platforms... [9/7/2020, 3:02:11 PM] [Config] Initializing config platform... [9/7/2020, 3:02:11 PM] [Config] Running in Service Mode [9/7/2020, 3:02:11 PM] [HomebridgeADB] Initializing HomebridgeADB platform... [9/7/2020, 3:02:11 PM] Loading 1 accessories... [9/7/2020, 3:02:11 PM] [MacBook Air] Initializing NetworkDevice accessory... Setup Payload: X-HM://0024TOOQ93DFI Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 818-87-281 │     
└────────────┘     

[9/7/2020, 3:02:11 PM] Homebridge is running on port 51431. [9/7/2020, 3:02:11 PM] [HomebridgeADB] 192.168.1.2 - Connected [9/7/2020, 3:02:11 PM] [HomebridgeADB] 192.168.1.2 - Connection attempt 5 [9/7/2020, 3:02:11 PM] XStream Box is running on port 62030. [9/7/2020, 3:02:11 PM] Please add [XStream Box] manually in Home app. Setup Code: 818-87-281 [9/7/2020, 3:02:13 PM] [Config] Homebridge Config UI X v4.27.1 is listening on :: port 8581 [9/7/2020, 3:02:18 PM] [HomebridgeADB] 192.168.1.2 Triggered GET Mute [9/7/2020, 3:02:18 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 3:02:21 PM] [HomebridgeADB] 192.168.1.2 Triggered GET Mute [9/7/2020, 3:02:22 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 3:03:37 PM] [HomebridgeADB] 192.168.1.2 Power on: true [9/7/2020, 3:03:39 PM] [MacBook Air] NetworkDevice awake cycle started for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 3:03:39 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 3:03:39 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Offline" to "Waking Up" [9/7/2020, 3:03:39 PM] [MacBook Air] Attempting to start "MacBook Air" (Sanskars-MacBook-Air.local) by sending a WoL packet [9/7/2020, 3:03:39 PM] [MacBook Air] Waiting for wake grace time (5000ms) for "MacBook Air" (Sanskars-MacBook-Air.local) [9/7/2020, 3:03:44 PM] [MacBook Air] Attempting to wake up "MacBook Air" (Sanskars-MacBook-Air.local) using "ssh" [9/7/2020, 3:03:44 PM] [MacBook Air] An error occured while trying to wake "MacBook Air" (Sanskars-MacBook-Air.local): Error: Command failed: ssh Sanskars-MacBook-Air.local caffeinate -u -t 300 Host key verification failed.

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {

killed: false, code: 255, signal: null, cmd: 'ssh Sanskars-MacBook-Air.local caffeinate -u -t 300', stdout: '', stderr: 'Host key verification failed.\r\n' } [9/7/2020, 3:03:44 PM] [MacBook Air] NetworkDevice "MacBook Air" (Sanskars-MacBook-Air.local) went from status "Waking Up" to "Offline"

AlexGustafsson commented 4 years ago

The user running homebridge must be able to connect to the MacBook. Try to run the SSH command outside of homebridge. If you have never connected to the MacBook before, you'll have to connect manually at least once in order to get the interactive prompt where you choose to trust the computer's public key.

sanskardhanda commented 4 years ago

How do I trust homebridge in ssh Homebridge is on MacBook which is to be connected

AlexGustafsson commented 4 years ago

Please refer to https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys.

sanskardhanda commented 4 years ago

Thanks

AlexGustafsson commented 4 years ago

@sanskardhanda Were you able to solve the issue?

AlexGustafsson commented 4 years ago

I’ll go ahead and close this issue as it’s likely solved. Please feel free to reopen if you think that’s not the case.