Skip to content

wake on lan not working #270

@excelsior091224

Description

@excelsior091224

Backstory

No response

Issue

I'm using homebridge installed on LXC on Proxmox, but Wake on Lan has stopped working for at least the past week. The settings of the PC I want to wake up with Wake on Lan haven't changed at all since it worked, so I think it's a problem with the plugin.

Environment

- os and os version:Debian GNU/Linux Bookworm (12)
- node version:v22.12.0
- homebridge version:v2.0.0-beta.23
- homebridge-wol version:v7.0.0-beta.0

Configuration

No response

Logs

When I follow these steps:
1. Make sure `logLevel` is set to `Debug` on all `NetworkDevice` accessories
2. Run `homebridge`
3. Let it run for a couple of minutes
4. Try to turn a device on or off using the plugin
5. Wait one minute
6. Repeat step 4

I get the following log:

[2024/12/26 21:22:52] [ただしのデスクトップPC] [NetworkDevice] Awake cycle started
[2024/12/26 21:22:52] [ただしのデスクトップPC] [NetworkDevice] Attempting to wake up device
[2024/12/26 21:22:52] [ただしのデスクトップPC] [NetworkDevice] Device went from status "Offline" to "WakingUp"
[2024/12/26 21:22:53] [ただしのデスクトップPC] [NetworkDevice] Waiting for wake grace time (45000ms)
[12/26/2024, 9:22:54 PM] [Google Smart Home] Sending State Report
[12/26/2024, 9:22:54 PM] [Google Smart Home] {
  "type": "report-state",
  "body": {
    "f206e3f34942229aeddba9f2d854bee9892104bb63237daf095f6670cb719fdc": {
      "on": true,
      "online": true
    }
  }
}
[2024/12/26 21:23:39] [ただしのデスクトップPC] [NetworkDevice] Device went from status "WakingUp" to "Offline"
[12/26/2024, 9:23:40 PM] [Google Smart Home] Sending State Report
[12/26/2024, 9:23:40 PM] [Google Smart Home] {
  "type": "report-state",
  "body": {
    "f206e3f34942229aeddba9f2d854bee9892104bb63237daf095f6670cb719fdc": {
      "on": false,
      "online": true
    }
  }
}


### Notes

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions