question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Never finds "Homebridge" accessory on iOS

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
nzhomecommented, Sep 14, 2015
  1. on the iphone reset HomeKit (under Privacy > HomeKit)
  2. on the server, delete the /persist folder and all files inside, you will find that folder under /homebridge/.

run with full logs to the screen, in case more issues arise… DEBUG=* node app.js

3reactions
pir2commented, Sep 16, 2015

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

  1. open config.json
  2. Change the username MAC Address. I changed the last digit to something else and iOS was able to find the homebridge.
"bridge": {
"name": "GiveItANewNameJustInCase",
"username": "Change the MAC Address Here",
"port": 51826,
Read more comments on GitHub >

github_iconTop Results From Across the Web

Never finds "Homebridge" accessory on iOS · Issue #163
Restarting everything and now no homebridge accessory is never found by iOS. I've tried rebooting, restarting, both the raspberry pi and the ...
Read more >
New Homebridge accessories not showing up in HomeKit
The solution (iOS 16) is to go to '+' in the top right, then 'Add Accessory'. Then click "More options...". Your recently added...
Read more >
Unable to add accessories to HomeKit — new problem with ...
(What's really maddening is that, once I've set things up in Homebridge, the Home app sees the TV activity as a nearby accessory....
Read more >
Hello. Having a problem all of a sudden with my HOOBS ...
I cannot though, get iOS 16.2 with the new home architecture to connect to the bridges created within Hoobs. I just keep getting...
Read more >
How to connect Homebridge to my iPhone - Dev Genius
In the Home app, pick 'Add Accessory,' scan or put in the HomeKit code. Once you've added it to HomeKit, you'll find it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found