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.

Plugin becomes unresponsive and locks up Homebridge

See original GitHub issue

I’ve dealt with some issues where one of my plugs would turn of and become unresponsive. When this happens, naturally the plugin can’t reach the plug. Due to this it throws a TCP error (well the dependency hs100-api throws an error). The socket/TCPerror, EHOSTUNREACH seems to clog up the systems. Whenever the error is thrown, the plugin as well as all other plugins become unresponsive. It seems to hang. Whenever the connection is reestablished, it seems to connect to the plug again, logs that the plug is online and then lets other plugins I have do their thing.

So, TLDR; Whenever the TCP error EHOSTUNREACHis thrown, the plugin freezes homebridge until it can connect to the plug again.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
plasticrakecommented, Aug 17, 2017

Some more updates in 2.2.0 to properly handle IP address changes

0reactions
thusithapkcommented, Sep 8, 2017

Works well. Only thing is that when a plug recovers (online again) all devices go “No Response” for few seconds before all come back online. Would you be able to make the recovery quicker?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Homebridge runs for a few minutes then doesn't respond #849
It seems to work as soon as soon as you run the node homebridge command for a few minutes then I get the...
Read more >
Homebridge becomes unresponsive for no reason - Reddit
If they appear connected in Home app, they will typically respond, but they often indicate they cannot update. I tried have tasksched do...
Read more >
homebridge-web-lock - npm
This homebridge plugin exposes a web-based lock to Apple's HomeKit. Using HTTP requests, you can open/close the lock and update the plugin ......
Read more >
HOOBS™ (Community Support English) | Hello guys, just to ...
Anyone here having issues with Vivint and HOOBS lagging or not responding ... plugin instead: https://plugins.hoobs.org/plugin/homebridge-smartthings-ik.
Read more >
August Lock - HomeKit Problems, HomeBridge Solutions
Fortunately, HomeBridge is there to pick up the pieces. ... however... and a new HomeBridge plug-in for August Locks was listed.
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