Can't wake Windows 10
See original GitHub issueBackstory
I can shut down my win10 PC but wake doesn’t work. I can wake from my router but homebridge doesn’t do it.
Environment
- os & os version: Win 10 x64
- node version: 9.7.1
- homebridge version: 0.4.38
- homebridge-wol version: 3.2.1
Log
For logging I removed other plugins from config.
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:20",
"port": 51877,
"pin": "031-77-154"
},
"accessories": [{
"accessory": "NetworkDevice",
"name": "Vobiscum",
"mac": "<mac-address>",
"ip": "172.16.1.9",
"pingInterval": 45,
"wakeGraceTime": 90,
"shutdownGraceTime": 60,
"shutdownCommand": "SHUTDOWN /s /f /t 0 /m 172.16.1.9"
}]
}
C:\Users\pax07>homebridge
[2018-3-10 01:43:34] Loaded plugin: homebridge-config-ui-x
[2018-3-10 01:43:34] Registering platform 'homebridge-config-ui-x.config'
[2018-3-10 01:43:34] ---
[2018-3-10 01:43:35] Loaded plugin: homebridge-dacp
[2018-3-10 01:43:35] Registering platform 'homebridge-dacp.DACP'
[2018-3-10 01:43:35] ---
[2018-3-10 01:43:35] Loaded plugin: homebridge-delay-switch
[2018-3-10 01:43:35] Registering accessory 'homebridge-delay-switch.DelaySwitch'
[2018-3-10 01:43:35] ---
[2018-3-10 01:43:35] Loaded plugin: homebridge-plex
[2018-3-10 01:43:35] Registering accessory 'homebridge-plex.Plex'
[2018-3-10 01:43:35] ---
[2018-3-10 01:43:35] Loaded plugin: homebridge-samsung-remote
[2018-3-10 01:43:35] Registering accessory 'homebridge-samsung-remote.SamsungTV'
[2018-3-10 01:43:35] ---
[2018-3-10 01:43:35] Loaded plugin: homebridge-weather-station-extended
[2018-3-10 01:43:35] Registering platform 'homebridge-wunderground-extended.WeatherStation'
[2018-3-10 01:43:36] ---
[2018-3-10 01:43:36] Loaded plugin: homebridge-wol
[2018-3-10 01:43:36] Registering accessory 'homebridge-wol.NetworkDevice'
[2018-3-10 01:43:36] ---
[2018-3-10 01:43:36] Loaded config.json with 1 accessories and 0 platforms.
[2018-3-10 01:43:36] ---
[2018-3-10 01:43:36] Loading 1 accessories...
[2018-3-10 01:43:36] [Vobiscum] Initializing NetworkDevice accessory...
[2018-3-10 01:43:36] [Vobiscum] Stopping pinger
[2018-3-10 01:43:36] [Vobiscum] Starting pinger at an interval of 45000 milli seconds
Setup Payload:
X-HM://0023ITNLUFMCK
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-77-154 │
└────────────┘
EventedHTTPServer Server listening on port 51877 +0ms
[2018-3-10 01:43:36] Homebridge is running on port 51877.
EventedHTTPServer [::ffff:172.16.1.30] New connection from client +1s
EventedHTTPServer [::ffff:172.16.1.30] HTTP server listening on port 49606 +6ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /pair-verify +22ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +3ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 1/2 +5ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +26ms
EventedHTTPServer [::ffff:172.16.1.13] New connection from client +23ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP server listening on port 49608 +4ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /pair-verify +21ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +7ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 2/2 +3ms
HAPServer [CC:22:3D:E3:CE:20] Client B68F9B09-30AC-4B70-B01D-378C9CD17925 verification complete +8ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +2ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP request: /pair-verify +1ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +0ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 1/2 +3ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP Response is finished +35ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /accessories +74ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: GET /accessories +5ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +26ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP request: /pair-verify +21ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +5ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 2/2 +4ms
HAPServer [CC:22:3D:E3:CE:20] Client BE78E569-3CDA-4E67-BC98-782BCB323F0B verification complete +28ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP Response is finished +7ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP request: /accessories +111ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: GET /accessories +3ms
EventedHTTPServer [::ffff:172.16.1.13] HTTP Response is finished +2ms
EventedHTTPServer [::ffff:172.16.1.16] New connection from client +1m
EventedHTTPServer [::ffff:172.16.1.16] HTTP server listening on port 50058 +3ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP request: /pair-verify +5ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +1ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 1/2 +1ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP Response is finished +5ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP request: /pair-verify +17ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: POST /pair-verify +0ms
HAPServer [CC:22:3D:E3:CE:20] Pair verify step 2/2 +1ms
HAPServer [CC:22:3D:E3:CE:20] Client 5FB36FAD-D135-4C33-BB69-CEE446881E18 verification complete +2ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP Response is finished +10ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP request: /accessories +6ms
HAPServer [CC:22:3D:E3:CE:20] HAP Request: GET /accessories +3ms
EventedHTTPServer [::ffff:172.16.1.16] HTTP Response is finished +15ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /characteristics?id=12.10 +5s
HAPServer [CC:22:3D:E3:CE:20] HAP Request: GET /characteristics?id=12.10 +3ms
Accessory [HomeBridge] Getting value for Characteristic "On" +4ms
Accessory [HomeBridge] Got Characteristic "On" value: false +1ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +2ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /characteristics?id=12.10 +7s
HAPServer [CC:22:3D:E3:CE:20] HAP Request: GET /characteristics?id=12.10 +3ms
Accessory [HomeBridge] Getting value for Characteristic "On" +3ms
Accessory [HomeBridge] Got Characteristic "On" value: false +4ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +8ms
EventedHTTPServer [::ffff:172.16.1.30] HTTP request: /characteristics +5s
HAPServer [CC:22:3D:E3:CE:20] HAP Request: PUT /characteristics +11ms
Accessory [HomeBridge] Processing characteristic set: [{"aid":12,"iid":10,"value":true}] +4ms
Accessory [HomeBridge] Setting Characteristic "On" to value true +2ms
[2018-3-10 01:45:23] [Vobiscum] NetworkDevice awake cycle started for "Vobiscum" (172.16.1.9)
[2018-3-10 01:45:23] [Vobiscum] Stopping pinger
[2018-3-10 01:45:23] [Vobiscum] Starting pinger again in 90000 milli seconds
[2018-3-10 01:45:23] [Vobiscum] Attempting to wake up "Vobiscum" (172.16.1.9)
[2018-3-10 01:45:23] [Vobiscum] NetworkDevice "Vobiscum" (172.16.1.9) went from status "Offline" to "Waking Up"
EventedHTTPServer [::ffff:172.16.1.30] HTTP Response is finished +22ms
[2018-3-10 01:46:53] [Vobiscum] Stopping pinger
[2018-3-10 01:46:53] [Vobiscum] Starting pinger at an interval of 45000 milli seconds
[2018-3-10 01:46:54] [Vobiscum] Pinger toggled state change
[2018-3-10 01:46:54] [Vobiscum] NetworkDevice "Vobiscum" (172.16.1.9) went from status "Waking Up" to "Offline"
[2018-3-10 01:52:28] Got SIGINT, shutting down Homebridge...
Terminate batch job (Y/N)? y
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Troubleshoot problems waking computer from sleep mode
Open the Keyboard control panel item, as described in Method 1. · Click the Hardware tab, and then click Properties. · Click the...
Read more >Windows 10 / 11 doesn't wake from Sleep problem Fixed
Windows 10 / 11 doesn't wake from Sleep problem Fixed · 1. Press Windows + R key combination together from the keyboard and...
Read more >10 Best Ways to Fix Windows 10 Won't Wake up From Sleep ...
10 Best Ways to Fix Windows 10 Won't Wake up From Sleep Mode Error · 1. Mouse or Keyboard Issue · 2. Sleep...
Read more >Windows 10 Won't Wake From Sleep With Keyboard or Mouse ...
You should also check a setting in your PC's power plan that allows it to turn off USB ports. Head to Settings >...
Read more >Computer Won't Wake Up From Sleep - 13 Permanent Fixes
Check Your Peripherals · Press Windows key + X. · Choose Device Manager. · Right-click on your keyboard and choose Properties. · Click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added an option to specify broadcast address (
broadcastAddress
). The option is available in 3.2.2 now published to NPM.Thanks for helping me find and solve the issue!
Sorry for long time to reply. Comparing what my router was sending to what plugin was sending with packet sniffer address must be 172.16.1.255. Kinda logical, since that’s the broadcast address for that range.
Adding option to specify broadcast address?