Giter Site home page Giter Site logo

Comments (4)

BewhiskeredBard avatar BewhiskeredBard commented on May 29, 2024 1

Thanks for reviewing so quickly. It's going to take a bit of refactoring to push config validation into the platform constructor so that it doesn't crash. I'll try to have a new release out in the next few days and will comment here when I do.

from verified.

oznu avatar oznu commented on May 29, 2024
  • - The plugin must successfully install.
  • - The plugin must impliment the Homebridge Plugin Settings GUI.
  • - The plugin must not start unless it is configured.
  • - The plugin must not execute postinstall scripts that modify the users system in any way.
  • - The plugin must not contain any analytics or calls that enable you to track the user.
  • - The plugin must not throw unhandled exceptions, the plugin must catch and log it's own errors.
  • - The plugin must be published to npm and the source code available on GitHub.
  • - The plugin must run on all Active LTS versions of Node.js, at the time of writing this is Node.js v10 and v12.
  • - The plugin must not require the user to run Homebridge in a TTY or with non-standard startup parameters, even for initial configuration.
  • - If the plugin needs to write files to disk (cache, keys, etc.), it must store them inside the Homebridge storage directory.

The plugin must not throw unhandled exceptions, the plugin must catch and log it's own errors.

If not all the modes are provided the following error is thrown which crashes Homebridge. The errors should be caught and logged instead of crashing Homebridge.

[3/30/2020, 20:16:01] [ScoutAlarm] Running homebridge-scout-1.0.0 on homebridge-0.4.53.
[3/30/2020, 20:16:01] Error: Configuration error: config.modes should have required property 'away'
    at HomebridgeContextFactory.create (/Users/john/src/homebridge/homebridge-scout/lib/context/homebridge.js:20:19)
[3/30/2020, 20:16:01] Got SIGTERM, shutting down Homebridge...

Everything else looks good 😄

from verified.

BewhiskeredBard avatar BewhiskeredBard commented on May 29, 2024

I just released version 1.0.1 to npm with the fix.

from verified.

oznu avatar oznu commented on May 29, 2024

Looking good.

from verified.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.