Can't add Homebridge to Home app
See original GitHub issueLike the tittle says I can’t add homebridge to my Home app, I have already tried reinstalling every plugin and even homebridge itself but I can’t make it work. Also tried removing persist and accessories folders, and changing the username, pin and port number.
The plugins I have installed are:
- homebridge-config-ui-x
- homebridge-sonoff-tasmota-http
This is my current config.json file:
{
"bridge": {
"name": "Homebridge",
"username": "F4:8E:38:F4:62:0D",
"port": 51826,
"pin": "001-01-001"
},
"description": "test3",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"sudo": false
}
],
"accessories": [
{
"accessory": "SonoffTasmotaHTTP",
"name": "Sonoff1",
"hostname": "192.168.1.5"
}
]
}
I’m running homebridge on Windows 10 fully updated, and I’ve tried connecting through an iPhone 8 with iOS 12 beta 5 and through an iPhone 7 plus with iOS 11.4.1 .
This is an screenshot from the PowerShell
And this one is from my phone, I’m sorry it’s in spanish, it says something like it couldn’t find the accessory and that I should make sure it is connected to my network. Both my pc and my phone are connected to the same network.
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (1 by maintainers)
Top GitHub Comments
Finally I managed to make it work by following this issue’s solution #1957. I added the line
"mdns": {"interface": "192.168.1.14"},
“192.168.1.14” is my laptop’s local ip address. This forces the multicast lib to bind to an specify interface.Thank you all for your help, I wish this may help you.
This is a bit silly, but after trying almost everything else (restarting the Mac running Homebridge, resetting Homebridge, regenerating username/PIN etc), what fixed it was… restarting my phone 🤦♂️
I think that after the restart, I opened Home.app, hit the “+”, Add Accessory, “I Don’t Have a Code or Cannot Scan”, and then it showed me a list of accessories including Homebridge. I could just add it through there. But I’m pretty sure I tried that flow before and the restart is what fixed it.