Skip to content

Conversation

@justjam2013
Copy link
Contributor

♻️ Current situation

Currently, if a plugin throws an error when initializing, it takes down the entire Homebridge and forces it into a restart loop.

💡 Proposed solution

If a plugin throws an error when initializing, log an error, mark the plugin as disabled, and update the Homebridge config.

⚙️ Release Notes

The user will have to manually re-enable the plugin when they believe that the issue has been resolved, for example an invalid plugin config.

➕ Additional Information

N/A

Testing

N/A

Reviewer Nudging

N/A

@coveralls
Copy link

Pull Request Test Coverage Report for Build 13950433333

Details

  • 2 of 19 (10.53%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall first build on disable-failed-plugin at 28.34%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/server.ts 2 19 10.53%
Totals Coverage Status
Change from base Build 13258186304: 28.3%
Covered Lines: 433
Relevant Lines: 1389

💛 - Coveralls

@justjam2013 justjam2013 deleted the disable-failed-plugin branch November 13, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants