Comments (4)
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.
- - 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.
I just released version 1.0.1 to npm with the fix.
from verified.
Looking good.
from verified.
Related Issues (20)
- homebridge-ewelink HOT 2
- homebridge-ewelink HOT 1
- homebridge-ewelink HOT 1
- Plugin Icon Request HOT 1
- Verification Request: homebridge-meross HOT 13
- Plugin Icon Request: homebridge-meross HOT 7
- Plugin Icon Request: homebridge-oppo-udp HOT 1
- Plugin Icon Request: homebridge-zidoo-androidtv HOT 1
- Plugin Icon Request: homebridge-egreat-androidtv HOT 1
- Plugin Icon Request: homebridge-dune-hd HOT 2
- Verification Request: homebridge-moonraker HOT 12
- Verification Request: homebridge-alphaess HOT 32
- Verification Request: homebridge-pichler-pkom4 HOT 26
- homebridge-foxess HOT 7
- homebridge-shortcuts-buttons HOT 10
- Verification Request: @hb-haier/homebridge-plugin HOT 8
- Verification Request: homebridge-2-enet HOT 21
- Plugin Icon Request: homebridge-http-garage-doors HOT 4
- Verification Request: homebridge-hunter-hydrawise HOT 6
- Verification Request: homebridge-blueair-purifier HOT 5
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.