Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
2990bf2d75 | |||
|
5c52edeb3b | ||
|
56364f2ff3 | ||
|
76dad58bbe | ||
|
1e494ae683 | ||
|
f206d3ddaf | ||
|
70099e3c5a | ||
|
15f93ba1d7 | ||
|
bd6c77a4da | ||
|
81d3385c48 | ||
|
6c7d669a43 | ||
|
0376dc09d5 |
@ -127,3 +127,9 @@
|
|||||||
|
|
||||||
## 0.8.2
|
## 0.8.2
|
||||||
* Eliminate warnings on Homebridge >= 1.3.0 (77945f8 and 877c3d7 on `naofireblade/homebridge-neato`)
|
* Eliminate warnings on Homebridge >= 1.3.0 (77945f8 and 877c3d7 on `naofireblade/homebridge-neato`)
|
||||||
|
|
||||||
|
## 0.8.3
|
||||||
|
* Add French plugin language (for example, this gives you a "Aspirer la cuisine" Siri command for a zone called "La cuisine")
|
||||||
|
|
||||||
|
## 0.8.4
|
||||||
|
* Link to token getter tool in homebridge UI
|
12
README.md
12
README.md
@ -1,3 +1,7 @@
|
|||||||
|
[](https://www.npmjs.com/package/homebridge-kobold)
|
||||||
|
[](https://www.npmjs.com/package/homebridge-kobold?activeTab=versions)
|
||||||
|
|
||||||
|
|
||||||
# homebridge-kobold
|
# homebridge-kobold
|
||||||
|
|
||||||
This is a plugin for [homebridge](https://github.com/nfarina/homebridge) to control your [Vorwerk Kobold](https://kobold.vorwerk.de/saugroboter/) VR300 vacuum robot. You can download it via [npm](https://www.npmjs.com/package/homebridge-kobold).
|
This is a plugin for [homebridge](https://github.com/nfarina/homebridge) to control your [Vorwerk Kobold](https://kobold.vorwerk.de/saugroboter/) VR300 vacuum robot. You can download it via [npm](https://www.npmjs.com/package/homebridge-kobold).
|
||||||
@ -27,7 +31,7 @@ The interaction with the Server is handled by the underlying [node-kobold-contro
|
|||||||
- Automatic or periodic refresh of robot state
|
- Automatic or periodic refresh of robot state
|
||||||
- Multiple robots
|
- Multiple robots
|
||||||
|
|
||||||
- German or English Language Setting
|
- German, English or French Language Setting
|
||||||
|
|
||||||
> <b name="change-room">2</b> You can send the robot from one room to another as well. He will return to the base, wait there some seconds and then starts cleaning the next room.
|
> <b name="change-room">2</b> You can send the robot from one room to another as well. He will return to the base, wait there some seconds and then starts cleaning the next room.
|
||||||
|
|
||||||
@ -43,7 +47,7 @@ The interaction with the Server is handled by the underlying [node-kobold-contro
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Add the following information to your config file. Change the values for email and password.
|
Add the following information to your config file. Adapt the value for `token`.
|
||||||
|
|
||||||
### Simple
|
### Simple
|
||||||
|
|
||||||
@ -57,7 +61,7 @@ Add the following information to your config file. Change the values for email a
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
You can get a token using the following two curl commands:
|
You can get a token using the GUI tool [Kobold Token Getter](https://github.com/himbeles/kobold-token-get) or using the following two curl commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# This will trigger the email sending
|
# This will trigger the email sending
|
||||||
@ -95,7 +99,7 @@ curl -X "POST" "https://mykobold.eu.auth0.com/oauth/token" \
|
|||||||
|
|
||||||
From the output, you want to copy the `id_token` value.
|
From the output, you want to copy the `id_token` value.
|
||||||
|
|
||||||
The `language` can be `de` for German, or `en` for English.
|
The `language` can be `de` for German, `en` for English, or `fr` for French.
|
||||||
|
|
||||||
### Advanced
|
### Advanced
|
||||||
|
|
||||||
|
@ -64,6 +64,19 @@ function KoboldVacuumRobotAccessory(platform, robotObject)
|
|||||||
"findMe": "Finde mich",
|
"findMe": "Finde mich",
|
||||||
"cleanSpot": "Spot Reinigung",
|
"cleanSpot": "Spot Reinigung",
|
||||||
"battery": "Batterie"
|
"battery": "Batterie"
|
||||||
|
},
|
||||||
|
'fr': {
|
||||||
|
"clean": "Aspirer",
|
||||||
|
"clean the": "Aspirer",
|
||||||
|
"goToDock": "Retour à la base",
|
||||||
|
"dockState": "Sur la base",
|
||||||
|
"eco": "Eco mode",
|
||||||
|
"noGoLines": "Lignes NoGo",
|
||||||
|
"extraCare": "Extra Care",
|
||||||
|
"schedule": "Planifier",
|
||||||
|
"findMe": "Me retrouver",
|
||||||
|
"cleanSpot": "Nettoyage local",
|
||||||
|
"battery": "Batterie"
|
||||||
}
|
}
|
||||||
}[this.platform.language]
|
}[this.platform.language]
|
||||||
|
|
||||||
@ -123,6 +136,7 @@ function KoboldVacuumRobotAccessory(platform, robotObject)
|
|||||||
serviceName = this.dict["clean"] + " " + this.boundary.name;
|
serviceName = this.dict["clean"] + " " + this.boundary.name;
|
||||||
}
|
}
|
||||||
this.cleanService = new Service.Switch(serviceName, "cleanBoundary:" + this.boundary.id);
|
this.cleanService = new Service.Switch(serviceName, "cleanBoundary:" + this.boundary.id);
|
||||||
|
this.cleanService = new Service.Switch(serviceName + "1", "cleanBoundary:" + this.boundary.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.log("Added cleaning device named: " + this.name);
|
this.log("Added cleaning device named: " + this.name);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"title": "token",
|
"title": "token",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "Your Token"
|
"description": "Your Kobold Token (https://git.io/J3g1b)"
|
||||||
},
|
},
|
||||||
"language": {
|
"language": {
|
||||||
"title": "language",
|
"title": "language",
|
||||||
@ -27,6 +27,12 @@
|
|||||||
"enum": [
|
"enum": [
|
||||||
"de"
|
"de"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "French",
|
||||||
|
"enum": [
|
||||||
|
"fr"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"required": true
|
"required": true
|
||||||
|
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge-kobold",
|
"name": "homebridge-kobold",
|
||||||
"version": "0.8.2",
|
"version": "0.8.4",
|
||||||
"description": "A Vorwerk Kobold vacuum robot plugin for homebridge.",
|
"description": "A Vorwerk Kobold vacuum robot plugin for homebridge.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -16,6 +16,12 @@
|
|||||||
"name": "Luis R.",
|
"name": "Luis R.",
|
||||||
"url2": "https://github.com/himbeles"
|
"url2": "https://github.com/himbeles"
|
||||||
},
|
},
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "Alexandre L.",
|
||||||
|
"url": "https://github.com/aluini"
|
||||||
|
}
|
||||||
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/himbeles/homebridge-kobold.git"
|
"url": "git://github.com/himbeles/homebridge-kobold.git"
|
||||||
@ -23,7 +29,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "^1.4.0",
|
"colors": "^1.4.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"node-kobold-control": ">=0.4.0",
|
"node-kobold-control": ">=0.4.2",
|
||||||
"uuid": "^3.3.2"
|
"uuid": "^3.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user