Giter Site home page Giter Site logo

homebridge-openwebif-tv about verified HOT 3 CLOSED

homebridge avatar homebridge commented on May 28, 2024
homebridge-openwebif-tv

from verified.

Comments (3)

oznu avatar oznu commented on May 28, 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 start unless it is configured.

If the plugin is not configured Homebridge wish crash with:

[3/29/2020, 20:48:40] TypeError: this.log is not a function
    at new openwebIfTvPlatform (/Users/john/src/homebridge/homebridge-openwebif-tv/index.js:23:9)

To fix this change:

this.log('No configuration found for homebridge-openwebif-tv');
return;

To:

log('No configuration found for homebridge-openwebif-tv');
return;

Or you can move the this.log = log; line to the top.


Everything else looks good 😄

I would recommend adding a .gitignore file to your project to exclude the node_modules folder.

from verified.

grzegorz914 avatar grzegorz914 commented on May 28, 2024

fixed

from verified.

oznu avatar oznu commented on May 28, 2024

Thanks 😄

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.