Skip to content

Commit

Permalink
1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoduj committed Nov 2, 2019
1 parent 57d839d commit b080aa5
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 1.0.6

- [NEW] Supports config UI X configuration interface.

## 1.0.5

- [FIX] fixed some logs
Expand Down
56 changes: 56 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"pluginAlias": "GogoGate2",
"pluginType": "platform",
"singular": false,
"headerDisplay": "This plugin is provided by [nicoduj](https://github.com/nicoduj/)",
"footerDisplay": "Support via [paypal](https://www.paypal.me/nicoduj/2.50).",
"schema": {
"type": "object",
"required": ["name","gogogateIP","username","password"],
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"gogogateIP": {
"title": "IP Address of your gogogate (must be fixed)",
"type": "string",
"format": "ipv4"
},
"username": {
"title": "Gogogate account login",
"type": "string"
},
"password": {
"title": "Gogogate account password",
"type": "string"
},
"refreshTimer": {
"title": "Refresh timer",
"type": "integer",
"default" : 0,
"minimum": 30,
"maximum": 600,
"description" : "Enable refresh of doors state every X seconds, for automation purpose if you need to activate something else based on a state change of a door by another means than homekit. Be aware it might make you gogoggate smokes since the plugin will ask its status very often :)"
},
"maxWaitTimeForOperation": {
"title": "Maximum wait time during operation",
"type": "integer",
"default": 30,
"minimum": 30,
"maximum": 90,
"description" : "Set the maximum time that we wait for door operation to complete. When elapsed, check the current State again and updates accordingly."
},
"refreshTimerDuringOperation": {
"title": "Refresh timer during operation",
"type": "integer",
"default": 10,
"minimum": 2,
"maximum": 15,
"description": "Set the refresh timer during operation in progress to detect the end of the operation."
}
}
},
"form": null,
"display": null
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-gogogate2",
"version": "1.0.5",
"version": "1.0.6",
"author": "Nicolas Dujardin",
"description": "Publish your gogogate 2 to homebridge",
"main": "index.js",
Expand All @@ -23,7 +23,7 @@
"homekit"
],
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"cheerio": "^1.0.0-rc.3",
"request": "^2.65.0"
},
"bugs": {
Expand All @@ -33,7 +33,7 @@
"devDependencies": {
"husky": "^3.0.3",
"prettier": "1.18.2",
"pretty-quick": "^1.8.0"
"pretty-quick": "^1.11.1"
},
"prettier": {
"bracketSpacing": false,
Expand Down

0 comments on commit b080aa5

Please sign in to comment.