Comments (3)
- - 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.
fixed
from verified.
Thanks 😄
from verified.
Related Issues (20)
- homebridge-eggtimer-plugin HOT 9
- homebridge-tp-link-access-control HOT 18
- homebridge-shelly-2pm-plus HOT 8
- homebridge-http-leak-sensor HOT 8
- homebridge-alexa-smarthome HOT 12
- homebridge-purpleair HOT 8
- homebridge-airport-express-connected HOT 6
- homebridge-sharkiq HOT 8
- homebridge-davisfixed HOT 9
- homebridge-multiswitcheroo HOT 18
- homebridge-http-json-thermometer HOT 8
- homebridge-purpleair HOT 8
- homebridge-switchbot-sensor-ble HOT 22
- homebridge-davis HOT 11
- homebridge-rademacher-homepilot HOT 16
- homebridge-actron-neo HOT 7
- homebridge-mqttsmokesensor HOT 5
- homebridge-mqttsmokesensor HOT 7
- homebridge-actron-neo HOT 6
- homebridge-gree-ac HOT 35
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verified.