homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 241 forks source link

Not working in homebridge docker #455

Closed evlsmurf closed 2 years ago

evlsmurf commented 2 years ago

Current Situation

Trying to use this in a docker based homebridge

Heres log if whats happening

[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] Awake cycle started
[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] Attempting to wake up device
[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] Device went from status "Offline" to "WakingUp"
[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] Attempting to start the device using command "9"
[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] HWOL-4001 An error occurred while trying to start the device. This is most likely not an issue with homebridge-wol itself. For more information see https://github.com/AlexGustafsson/homebridge-wol/wiki/Frequently-Asked-Questions#hwol-4001
[6/19/2022, 10:50:39 PM] [AMDGaming] [NetworkDevice] Waiting for wake grace time (45000ms)
[6/19/2022, 10:51:25 PM] [AMDGaming] [NetworkDevice] Device went from status "WakingUp" to "Offline"
[6/19/2022, 10:52:04 PM] [Homebridge UI] Changes to config.json saved.
[6/19/2022, 10:56:16 PM] [AMDGaming] [Pinger] Stopping pinger
[6/19/2022, 10:56:16 PM] [AMDGaming] [NetworkDevice] Attempting to start device by sending a WoL packet
[6/19/2022, 10:56:16 PM] [AMDGaming] [NetworkDevice] Attempting to start the device using command "9"
[6/19/2022, 10:56:16 PM] [AMDGaming] [NetworkDevice] HWOL-4001 An error occurred while trying to start the device. This is most likely not an issue with homebridge-wol itself. For more information see https://github.com/AlexGustafsson/homebridge-wol/wiki/Frequently-Asked-Questions#hwol-4001
[6/19/2022, 10:56:16 PM] [AMDGaming] [NetworkDevice] Error: Command failed: 9
/bin/sh: 9: not found

[6/19/2022, 10:56:16 PM] [AMDGaming] [NetworkDevice] Waiting for wake grace time (45000ms)
[6/19/2022, 10:56:16 PM] [AMDGaming] [Pinger] Result of pinging: offline

Docker Config

Just normal install of docker/homebridge
{
    "name": "AMDGaming",
    "manufacturer": "homebridge-wol",
    "model": "NetworkDevice",
    "host": "192.168.10.11",
    "pingInterval": 2,
    "pingsToChange": 5,
    "pingTimeout": 1,
    "pingCommandTimeout": 0,
    "mac": "d4:5D:64:A7:35:C7",
    "broadcastAddress": "192.168.10.11",
    "startCommand": "9",
    "startCommandTimeout": 0,
    "wakeGraceTime": 45,
    "wakeCommandTimeout": 0,
    "shutdownGraceTime": 15,
    "shutdownCommandTimeout": 0,
    "logLevel": "Debug",
    "returnEarly": false,
    "accessory": "NetworkDevice"
}

Logs

No response

Host Operating System

Raspberry Pi OS - Latest

Host Architecture

armv7l

oznu commented 2 years ago

Hi @evlsmurf - this is probably one for the homebridge-wol project.