New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Never finds "Homebridge" accessory on iOS #163
Comments
I am having the same problem. I just went to settings, privacy, and reset my HomeKit, and I was able to find the homebridge again using a different app...but same problem...errors out. |
@masonjames @velocityware can you grab the log from iOS device? (You can get log from iOS device using Xcode or Apple Configurator) |
tail -f /var/log/homebridge.* ==> /var/log/homebridge.log <== ==> /var/log/homebridge.err <== |
@velocityware I mean the log from iOS side, when you pair your accessory. |
I did the same steps as last night (stop process, delete everthing in the persist directory, start the process), and this time, everything worked as normal! Last night, nothing helped. Perhaps there is some communications callback, under the hood of homekit, to apple which was causing the problem. I am going to test some other apps other than mytouchhome, later today. If it fails, I will send over both logs. |
I did the same as @velocityware. The folks at MyTouchHome recommended I resetting the homekit configuration. So I did that, deleted the persist directory (made a backup of it), and restarted. This time I got success as well! The individual wemo & hue lights all showed up correctly. Turning them on and off with Siri has worked incredibly well. I've got an iPad mini running iOS 9.1. This is the device everything worked on. I have an iPhone running 8.4.1. The accessories still don't show on this device. I'll do some more testing and report back. There's no difference between the new persists directory and the old one, so I'm not sure what difference that made other than forcing the individual accessory discovery. I'm familiar with console and have both xcode and apple configurator, but am not familiar with pulling logs from either. I'll look into that and see if I can find anything useful there. This is pretty stinkin' awesome! |
@masonjames This is a HomeKit issue. Please make sure you enabled iCloud Drive and iCloud Keychain on your iOS device. If this issue still persist, please try to reset HomeKit (under Privacy > HomeKit) |
run with full logs to the screen, in case more issues arise... |
Had the same problem. One thing I noticed that even if you reset the Homekit data in iOS [reset HomeKit (under Privacy > HomeKit)], it actually retains the data somehow and doesn't actually reset anything, so it remembers the devices you added. To add the homebridge, you have to change the "username" in config.json
|
BTW, I have since been able to get this app working consistently with homebridge. For whatever reason, Siri seems to respond immediately/appropriately as long as i have the iOS app actually running. Quick/dirty video: https://www.youtube.com/watch?v=gmGpVxwGo-s Marking this as closed. Thanks everyone who helped :) |
@masonjames I have the same situation you had in the beginning: homebridge is running, everything seems fine, Eve finds the Homebridge, but no accessories and there is no way I can enter the pin. I have changed usernames, bridge names, cleared persist folder and homekit settings.. the lot. I am running the homebridge on a synology, debian chroot install. Does anyone have a hint as to how to get to the accessories and entering of the pin? Thanks, Tigo |
@Tigo72 did you also get the "insufficient permission" error? |
@KhaosT thanks for your reply. My iphone runs ios 9.2.1 but on my iPad with an older ios version it doesn't work either. |
@Tigo72 What do you mean by "The Homebridge is recognized in the apps, but I cannot enter a pin and no accessory is found by the apps"? Do you mean that you can see homebridge in the HomeKit app but when tapping the app, it doesn't ask you to pair? |
@KhaosT Yes, that is exactly what I mean :-) |
@KhaosT I found a solution: had to change the port. Thanks for thinking along though! I appreciate it. Best, Tigo |
Hi, I changed to 51827 - make sure your ports are forwarded (all) within the It did the trick for me. All Bets, 2016-02-23 10:43 GMT+01:00 Surroot notifications@github.com:
|
Installation seemed to go very well.
Running the app shows a warning:
*** WARNING *** Please fix your application to use the native API of Avahi!
But continues to load the app. It finds all my Next, Hue Light Bulbs, and WeMO Switches (awesome!)
It finishes with
EventedHTTPServer Server listening on port 51826 +0ms
The first time I started the iOS app, I went to 'Accessory' and one named "Homebridge" was already available. I selected it. Was asked for the code (from the config.json file). I added it, but then got an error on the iOS app.
The homebridge app seemed to be pairing devices just fine. It made it through a series of 'pairings' before also erroring out.
Restarting everything and now no homebridge accessory is never found by iOS. I've tried rebooting, restarting, both the raspberry pi and the iOS device with no luck. Any ideas? Since I'm not getting error messages now I'm not sure what to look for.
Any help is much appreciated. Thanks!
The text was updated successfully, but these errors were encountered: