Skip to content

Commit

Permalink
Support for Config UI and Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunoo committed Feb 20, 2021
1 parent 6a258bc commit 3e680c2
Show file tree
Hide file tree
Showing 8 changed files with 5,068 additions and 166 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
ACTIONS_STEP_DEBUG: true
steps:
- uses: actions/stale@v3.0.16
- uses: actions/stale@v3.0.17
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# homebridge-plugin-update-check

[![npm](https://img.shields.io/npm/v/homebridge-plugin-update-check) ![npm](https://img.shields.io/npm/dt/homebridge-plugin-update-check)](https://www.npmjs.com/package/homebridge-plugin-update-check)

[![npm](https://img.shields.io/npm/v/homebridge-plugin-update-check) ![npm](https://img.shields.io/npm/dt/homebridge-plugin-update-check)](https://www.npmjs.com/package/homebridge-plugin-update-check) [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)

A [Homebridge](https://github.com/nfarina/homebridge) plugin for checking for updates to Homebridge and plugins.

This will use [homebridge-config-ui-x](https://www.npmjs.com/package/homebridge-config-ui-x) when available, but will fall back to using [npm-check-updates](https://www.npmjs.com/package/npm-check-updates) if it is not.

## Installation

1. Install Homebridge using the [official instructions](https://github.com/homebridge/homebridge/wiki).
Expand All @@ -19,12 +20,12 @@ Configuration sample:
"platforms": [
{
"platform": "PluginUpdate",
"checkFrequency": 30
"forceNcu": false
}
]
```

#### Fields

* "platform": Must always be "PluginUpdate" (required)
* "checkFrequency": Number of minutes between checks for updates. (Default: `30`)
* "forceNcu": Force use of node-check-updates instead of homebridge-config-ui-x. (Default: `false`)
10 changes: 4 additions & 6 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
"default": "Plugin Update",
"description": "A unique name for the accessory. It will be used as the accessory name in HomeKit."
},
"checkFrequency": {
"title": "Check Frequency (Minutes)",
"type": "integer",
"required": false,
"placeholder": 30,
"description": "Number of minutes between checks for updates."
"forceNcu": {
"title": "Force node-check-updates",
"type": "boolean",
"description": "Force use of node-check-updates instead of homebridge-config-ui-x."
}
}
}
Expand Down
Loading

0 comments on commit 3e680c2

Please sign in to comment.