Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

QNAP TVS 1271U-RP - Unable to Add Homebridge to HomeKit #583

Open
Farmer-John-85410321 opened this issue Dec 27, 2024 · 3 comments
Open
Labels

Comments

@Farmer-John-85410321
Copy link

Describe The Bug

Instructions worked to create a working Homebridge Container, however, HomeKit is unable to find it, receiving error: Accessory Not Found.
iPhone 15 Pro; iOS Version 18.1.1

QNAP TVS-1271U-RP

Firmware: QTS 5.2.2.2950

I followed this guide to the T for the install:

https://github.com/homebridge/docker-homebridge/wiki/Homebridge-on-QNAP

HomeBridge is running and accessible and up to date. Additionally I am able to access the HomeBridge UI from other devices within the network.

The guide states to use the HOST network mode and as such uses the same internal IPv4 address as the QNAP server itself.

Within the HomeBridge Settings I have enabled Debug Logging.

I have attempted using the Avahi, Bonjour and Ciao mDNS.

Against my better judgement I have also enabled UPnP on the QNAP.

Additionally, I have enabled all the Bonjour Services on the QNAP.

When attempting to scan the QR Code to add to HomeKit, it times out with the error: "Accessory Not Found"

Anyone have any ideas or solutions?

Docker Config

docker file, auto imported from Qnap Container stations homebridge/homebridge{
Architecture:"amd64"
Author:""
Comment:"buildkit.dockerfile.v0"
Config:{
AttachStderr:false
AttachStdin:false
AttachStdout:false
Domainname:""
Entrypoint:[
"/init"
]
Env:[
"PATH=/opt/homebridge/bin:/var/lib/homebridge/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
"HOMEBRIDGE_APT_PKG_VERSION=v1.4.1"
"FFMPEG_VERSION=v2.1.7"
"S6_OVERLAY_VERSION=3.2.0.2"
"S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0"
"S6_KEEP_ENV=1"
"ENABLE_AVAHI=1"
"USER=root"
"HOMEBRIDGE_APT_PACKAGE=1"
"UIX_CUSTOM_PLUGIN_PATH=/var/lib/homebridge/node_modules"
"HOME=/home/homebridge"
"npm_config_prefix=/opt/homebridge"
]
ExposedPorts:{
8581/tcp:{}
}
Hostname:""
Image:""
Labels:{
org.opencontainers.image.authors:"homebridge"
org.opencontainers.image.description:"Official Homebridge Docker Image"
org.opencontainers.image.licenses:"GPL-3.0"
org.opencontainers.image.ref.name:"ubuntu"
org.opencontainers.image.title:"Homebridge in Docker"
org.opencontainers.image.url:"https://github.com/homebridge/docker-homebridge"
org.opencontainers.image.version:"24.04"
}
OpenStdin:false
StdinOnce:false
Tty:false
User:""
Volumes:{
/homebridge:{}
}
WorkingDir:"/homebridge"
}
ContainerConfig:{
AttachStderr:false
AttachStdin:false
AttachStdout:false
Domainname:""
Hostname:""
Image:""
OpenStdin:false
StdinOnce:false
Tty:false
User:""
WorkingDir:""
}
Created:"2024-12-19T20:44:16.789608125Z"
DockerVersion:""
GraphDriver:{
Data:{
LowerDir:"/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/2d07b765b0791e1c153ac84765c08d2bce862116929279267df86316c6f5b6a7/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/bce7c90cac9f13cf30e0c0f189aeaf810bae3e157ee26982de26cf51ca31ee3b/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/eb8403c4cdabdbc878ca33a26bb33c9de2d5fed851c860c32476219c98099c11/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/7c3ff6862ef8f173d5a8e359a88cc0342dd2259b28160ed055d5a37d1a227302/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/6abfcdefd761727b2b781f2169dc54086afa5152879eeee8e6f482993541c74c/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/389adb077c586ec5a6def51a7676dfd5a37dcf70bdd510272378468ff44258ae/diff"
MergedDir:"/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b6ce590e9ac0d8a7fb6ccf8bf9e5cb11a1df16f7fb525fe7f38cf9736eaf7615/merged"
UpperDir:"/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b6ce590e9ac0d8a7fb6ccf8bf9e5cb11a1df16f7fb525fe7f38cf9736eaf7615/diff"
WorkDir:"/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b6ce590e9ac0d8a7fb6ccf8bf9e5cb11a1df16f7fb525fe7f38cf9736eaf7615/work"
}
Name:"overlay2"
}
Id:"sha256:0996069eb2a957ac869b72f8f8095247e3a84c87d4393c72133398c88e5748b6"
Metadata:{
LastTagTime:"0001-01-01T00:00:00Z"
}
Os:"linux"
Parent:""
RepoDigests:[
"homebridge/homebridge@sha256:2a53f81a68c63a166efd4f7f18ff1c7dd8e790a5c86e4558ec70a1a7c711e629"
]
RepoTags:[
"homebridge/homebridge:latest"
]
RootFS:{
Layers:[
"sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c"
"sha256:cd70f42615063f07d24882fcd6cf30d909d73034df98065dcc7f8832ddff4a7f"
"sha256:6f7e66cbbf525ef7988ed784465c21633463b10d94278bd0d5c8c371647fc986"
"sha256:dccb01bf6e57c6a2640687c36e69a84d7151c3cf75ee376ce27e9ec1c975ecb7"
"sha256:e7ab4ebd4c4fa8742a4bbf84f2458e63d25a5d81f5afd46e77aefe82a54acc74"
"sha256:adff7bac3d7aed6d51df8b5b8d95b0f776994e9fd574e92791a4c2a4eeb7202e"
"sha256:2edcbb524d8833efe42e4036cdf8a4d0f265abe33e956daa9731faf5be30bc82"
]
Type:"layers"
}
Size:1078379051
VirtualSize:1078379051
}

Logs

No response

Host Operating System

QNAP

Host Architecture

x86_64 / amd64

@Farmer-John-85410321
Copy link
Author

Screenshot 2024-12-27 at 1 40 16 AM Screenshot 2024-12-27 at 1 40 25 AM Screenshot 2024-12-27 at 1 40 34 AM Screenshot 2024-12-27 at 1 40 41 AM

@NorthernMan54
Copy link
Contributor

On your iPhone install the Discovery app which allows you to browse mDNS records. And see if you can locate your Installation. HomeKit devices appear under the _hap domain.

If you can't see your installation, or if you can and the ip address is not your local network this is the issue.

@NorthernMan54
Copy link
Contributor

PS See this for an example of network issues - #570

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants