Giter Club home page Giter Club logo

Comments (12)

luc-ass avatar luc-ass commented on June 3, 2024 1

@donavanbecker I published a new version to npm (v0.7.1). Would you have a look at it?

from verified.

github-actions avatar github-actions commented on June 3, 2024

✅ Pre-checks completed successfully.

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024
  • - The plugin must successfully install.
  • - The plugin must implement the Homebridge Plugin Settings GUI.
  • - The plugin must not start unless it is configured.
  • - The plugin must not execute post-install scripts that modify the user's 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 its 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 its own errors.
If receive invalid login or grant, plugin stops homebridge from running.

Error during Login: invalid_grant

Screen Shot 2020-05-02 at 7 56 24 AM

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024

@luc-ass, you need to call callback([]) in these errors to prevent homebridge from blocking.
https://github.com/luc-ass/homebridge-evohome/blob/master/index.js#L176-L190

from verified.

luc-ass avatar luc-ass commented on June 3, 2024

Just so I can get this right: you did not enter any credentials and homebridge stopped because of this?

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024

@luc-ass I added incorrect credentials and it stopped Homebridge from running. The plugin must log it’s own. And must keep Homebridge running even if wrong credentials are inputted.

from verified.

luc-ass avatar luc-ass commented on June 3, 2024

Thank you so much for your input! I fixed the crashing problems if no or wrong credentials are set up.

I don’t quite understand what “must log it’s own” is supposed to mean. Could you elaborate? Am I supposed to create a separate log file?

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024

I don’t quite understand what “must log it’s own” is supposed to mean. Could you elaborate? Am I supposed to create a separate log file?

Sorry, my wording was wrong. what you changed was exactly what I was meaning. Everything looks good. I will get it on the verified list as soon as I can.

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024

/check

from verified.

github-actions avatar github-actions commented on June 3, 2024

✅ Pre-checks completed successfully.

from verified.

donavanbecker avatar donavanbecker commented on June 3, 2024

Screen Shot 2020-05-03 at 4 08 15 PM

from verified.

luc-ass avatar luc-ass commented on June 3, 2024

@donavanbecker we have run into problems because of the empty callback. This causes the accessories to be removed if the server doesn't respond (for example because of maintenance). Is there an alternative to callback([]), that prevents the plugin from blocking and marks existing accessories as "Not responding"? So far my searches didn't result in a solution...

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.