marcoraddatz / homebridge-docker

Dockerized Homebridge. No plugins pre-defined, hassle-free setup. Read instructions!
Apache License 2.0
127 stars 47 forks source link

Stuck at "Add Accessory" in Home App #72

Closed maelstromchanneled closed 4 years ago

maelstromchanneled commented 4 years ago

Hi, I installed homebridge on my QNAP a few days ago and have been spending many hours trying to get it to work. I've added a plug-in and verified that it is loading and communicating with my device (MyQ garage door sensors), and the accessory even shows up in Home App under manual add. But, I cannot get the Home App to connect to the homebridge. Could someone please help me?

Below are the details:

!/bin/bash

npm update -g n npm install -g homebridge-chamberlain npm install -g homebridge-myq2

{ "bridge": { "name": "mybridgename", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "123-45-678" }, "description": "This file configures support for Nest, TP-Link Devices and HarmonyHub Remote.", "platforms": [ { "platform": "MyQ2", "email": "mymyqemailaddress", "password": "mymyqpassword" } ], "accessories": [ ] }

[2020-4-22 08:14:23] Homebridge is running on port 51826.
[2020-4-22 08:14:25] [MyQ2] Initializing platform accessory 'Main Garage Door (ID: snip)'...
[2020-4-22 08:14:25] [MyQ2] Initializing platform accessory 'Side Garage Door (ID: snip)'...

marcoraddatz commented 4 years ago

Hey @blaflen,

Sorry to say, but I cannot help with this. It seems to be either a misconfiguration in the config files or an error in the MyQ2 plugin. Homebridge itself seems to be running without any issues:

[2020-4-22 08:14:23] Homebridge is running on port 51826.

Good luck with it, Marco

maelstromchanneled commented 4 years ago

Thanks @marcoraddatz - is there some limited build that is guaranteed to work that I can use to debug this? The issue is that I can't connect with the Home app

maelstromchanneled commented 4 years ago

@marcoraddatz - after several days of trial and error, I decided to go with the qnap console instructions. Five minutes later, everything is up and running and connected in the Home app. Previously, I was following the QNAP GUI instructions, and the main difference is the network configuration. The GUI instructions say to put the container in bridge mode, and that doesn't work for me. The console instructions start the container in host mode, and that is the only difference between the working and not working attempts.

marcoraddatz commented 4 years ago

Good to hear and thanks for sharing!

It's related to #73. I'll modify the wiki soon.