marcoraddatz / homebridge-docker

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

No response in my iPhone #14

Closed leoliupei closed 7 years ago

leoliupei commented 7 years ago

I download the latest version of the image, Run with you step by step. But nothing happens on my iPhone

here goes the config.json

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:72", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.", "accessories": [ ] }

and the install.sh is empty

logs in the docker's terminal

WARNING The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
WARNING Please fix your application to use the native API of Avahi!
WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs
WARNING The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
WARNING Please fix your application to use the native API of Avahi!
WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister
[4/18/2017, 6:35:39 PM] No plugins found. See the README for information on installing plugins.
[4/18/2017, 6:35:39 PM] Loaded config.json with 0 accessories and 0 platforms.
[4/18/2017, 6:35:39 PM] ---
[4/18/2017, 6:35:39 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐                                                                                                                                                          
│ 031-45-154 │                                                                                                                                                          
└────────────┘                                                                                                                                                          

[4/18/2017, 6:35:39 PM] Homebridge is running on port 51826.

everything seems well but I can't find the bridge in my iPhone, and find it immediate by Mac homebridge server.

run docker ps default

try many times... T_T

tehoro commented 7 years ago

I've found that it sometimes helps to change the username of the bridge - i.e., try changing some of the digits in "CC:22:3D:E3:CE:72".

marcoraddatz commented 7 years ago

@tehoro is right. Homebridge is running as it should, but there might be conflicts due to multiple Homebridge instances from testing.

leoliupei commented 7 years ago

I changed the username AKA mac address to many other strings, still not work. :(

tehoro commented 7 years ago

Other things to try are deleting any previous created accessories folder and persist folder.

marcoraddatz commented 7 years ago

Also, make sure the ports are available and don't get blocked by your firewall.