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.

Trouble connecting homebridge to the home app

See original GitHub issue

Following scenario: Have been running homebridge for a while now with everything working like a charm. Then recently (2-3 days ago) all my accessories just turned unresponsive with the red “No response” message from below every accessory. After that I deleted the homebridge bridge in the home app and tried reconnecting since then without any success so far. Also no _hap._tcp entry in the Bonjour Browser.

Setup:

  • Win10 Pro running as a server with homebridge installed(homebridge can boot without any error messages)
  • AppleTV, iPad and iPhone as clients trying to connect to the server

VERSIONS:

  • Homebridge: currently 1.0.3 / also tried 0.4.53, 1.0.0, 1.0.1 and 1.0.2
  • node: v12.16.2
  • npm: 6.13.7

Config:

{
    "mdns": {
        "interface": "192.168.0.XX"
    },
    "bridge": {
        "name": "Homebridge-of-SM",
        "username": "43:21:22:XX:XX:XX",
        "port": 51821,
        "pin": "483-XX-XXX"
    },
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "indigo",
            "tempUnits": "c",
            "proxyHost": "XXX/XXX",
            "platform": "config"
        }
    ],
    "accessories": [
        {
            "accessory": "MagicHome",
            "name": "LED Strip",
            "ip": "192.168.0.XXX",
            "setup": "RGBW",
            "purewhite": false
        },
        {
            "accessory": "Sony-Television",
            "name": "Sony Television",
            "ipaddress": "192.168.0.XXX",
            "presharedkey": "CENSORED",
            "port": "80"
        }
    ]
}

Log when starting up and connecting with the device (note: nothing special, no sign of error in the logs):

`[2020-4-28 23:06:21] [HB Supervisor] Homebridge Path: C:\Users\SilvanM\AppData\Roaming\npm\node_modules\homebridge\bin\homebridge [2020-4-28 23:06:21] [HB Supervisor] UI Path: C:\Users\SilvanM\AppData\Roaming\npm\node_modules\homebridge-config-ui-x\dist\bin\standalone.js [2020-4-28 23:06:21] [HB Supervisor] Starting Homebridge with extra flags: -I [2020-4-28 23:06:21] [HB Supervisor] Started Homebridge with PID: 18564 [2020-4-28 23:06:21] Loaded config.json with 2 accessories and 1 platforms. [2020-4-28 23:06:21] — [2020-4-28 23:06:21] Loaded plugin: homebridge-config-ui-x [2020-4-28 23:06:21] Registering platform ‘homebridge-config-ui-x.config’ [2020-4-28 23:06:21] — [2020-4-28 23:06:21] Loaded plugin: homebridge-delay-switch [2020-4-28 23:06:21] Registering accessory ‘homebridge-delay-switch.DelaySwitch’ [2020-4-28 23:06:21] — [2020-4-28 23:06:21] Loaded plugin: homebridge-magichome homebridge API version: 2.4 [2020-4-28 23:06:21] Registering accessory ‘homebridge-magichome.MagicHome’ [2020-4-28 23:06:21] — [2020-4-28 23:06:22] Loaded plugin: homebridge-sony-television [2020-4-28 23:06:22] Registering accessory ‘homebridge-sony-television.Sony-Television’ [2020-4-28 23:06:22] — [2020-4-28 23:06:22] Loaded plugin: homebridge-statefuldummy [2020-4-28 23:06:22] Registering accessory ‘homebridge-statefuldummy.StatefulDummySwitch’ [2020-4-28 23:06:22] — [2020-4-28 23:06:22] Loading 1 platforms… [2020-4-28 23:06:22] [Config] Initializing config platform… [2020-4-28 23:06:22] [Config] Running in Service Mode [2020-4-28 23:06:22] Loading 2 accessories… [2020-4-28 23:06:22] [LED Strip] Initializing MagicHome accessory… [2020-4-28 23:06:22] [Sony Television] Initializing Sony-Television accessory… Setup Payload: X-HM://00249Q1JUNBKI Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 483-58-XXX │     
└────────────┘     

[2020-4-28 23:06:22] Homebridge is running on port 51821. [2020-4-28 23:06:22] [LED Strip] DEVICE COLOR: 255,100,50 [2020-4-28 23:06:22] [Config] Homebridge Config UI X v4.16.0 is listening on :: port 8581`

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:40 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
armandoi75commented, Apr 29, 2020

Hi, I have an update, looking on internet I see this: https://www.reddit.com/r/homebridge/comments/dvy4gt/no_response_until_i_tap_on_the_tile/ Checking on my installation, the problem looks the same. If I tap one accessory, even if written “not responding” it start to work. Hope this can help in troubleshooting (in the link there is a video with the problem)

I edit my same post because I found the solution. I was inspired by this: https://github.com/aarons22/homebridge-bond/issues/50 removing the first accessory in the config.json everything started to work again. So I suppose the problem is the plugin I removed “accessory”: “Script2”. Hope can be usefull for some of you 😉

1reaction
TheUglyKoreancommented, May 8, 2020

I figured it out. My VPN is running as a service and has been perfect for years. Suddenly the “allow LAN traffic” functionality has stopped working. It was blocking all my LAN in/out. What a waste.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Home app not connecting to Homebridge - Reddit
Another suggestion is to reset homebridge, from the UI go to Settings > homebridge settings and reset homebridge accessory. This I believe gives ......
Read more >
How to connect Homebridge to my iPhone - Dev Genius
Tap the home icon in the upper left corner of Apple's Home app and scroll down the bridges and hubs section to verify...
Read more >
Set Up and Manage Homebridge Right from Your iPhone or ...
Tap the home icon in the upper left corner of Apple's Home app, and scroll down the hubs & bridges to verify the...
Read more >
Set up HomePod mini or HomePod as a home hub
Apple TV* automatically becomes a home hub when you add it to HomeKit. Open Settings on Apple TV. Select Users and Accounts. Make...
Read more >
Unable to add accessories to HomeKit — new problem with ...
But it does still require adding the accessory I set up as a new item in the Home app (oddly, using the main...
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