Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MeisterTR committed Jun 6, 2019
1 parent cef9b97 commit 27b1bd9
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 9 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ The adapter can control the mower and you can change config params like mowtimes

## Settings
- to connect to the mower type in email and password from your worx account in the Config.
- Delay for Edgecut : If the edgecut starts in a curve or bend, the lawnmower may lose the wire and stop with a fault, or the blades may not rotate. For this purpose, the starting point at which the blades start to rotate can be set.

## Changelog
### 0.3.0 (06.06.2019)
* (MeisterTR) add delay for edgecut in config

### 0.2.0 (01.06.2019)
* (MeisterTR) add border
* (MeisterTR) fix small errors
Expand Down
6 changes: 5 additions & 1 deletion admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,13 @@
<label for="mail" class="translate">e-mail adress</label>
</div>
<div class="col s6 input-field">
<input type="text" class="value" id="password" />
<input type="password" class="value" id="password" />
<label for="password" class="translate">Type your pw</label>
</div>
<div class="col s6 input-field">
<input type="number" class="value" id="edgeCutDelay" />
<label for="edgeCutDelay" class="translate">Delay for Edgecut</label>
</div>
</div>

</div>
Expand Down
14 changes: 13 additions & 1 deletion admin/words.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ systemDictionary = {
'es': 'Descripción de option3',
'pl': 'opis opcji3',
'zh-cn': 'option3描述'
}
},
"Delay for Edgecut": {
"en": "Delay for Edgecut in ms",
"ru": "Задержка для Edgecut in ms",
"de": "Verzögerung für Edgecut in ms",
"pt": "Atraso para Edgecut in ms",
"nl": "Vertraging voor Edgecut in ms",
"fr": "Retard pour Edgecut in ms",
"it": "Ritardo per Edgecut in ms",
"es": "Retraso para Edgecut in ms",
"pl": "Opóźnienie Edgecuta in ms",
"zh-cn": "Edgecut的延迟 in ms"
}

};
12 changes: 8 additions & 4 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"common": {
"name": "worx",
"version": "0.2.0",
"version": "0.3.0",
"news": {
"0.3.0": {
"en": "add delay in config for edgecut",
"de": "Einstellbare Verzögerung für edgecut"
},
"0.2.0": {
"en": "add border cut, cleanup fixed errors",
"de": "border Cut hinzugefügt, code bereinigt, fkleine fehler behoben"
Expand Down Expand Up @@ -85,9 +89,9 @@
]
},
"native": {
"mail": "default",
"password": "1",
"mower": 0
"mail": "",
"password": "",
"edgeCutDelay": 5000
},
"objects": [],
"instanceObjects": [
Expand Down
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class Worx extends utils.Adapter {
// this.config:
this.log.info('config e-mail: ' + this.config.mail);
this.log.info('config password: ' + this.config.password);
this.log.info('config mower: ' + this.config.mower);

this.setStateAsync('info.connection', {
val: false,
Expand Down Expand Up @@ -286,7 +285,7 @@ class Worx extends utils.Adapter {
setTimeout(function(){
that.log.debug('Edcut send cmd:2');
mower.sendMessage('{"cmd":2}');
}, 10000);
}, that.config.edgeCutDelay);

} else if (state === 34 && mower.edgeCut) {
that.log.debug('Edcut send cmd:3');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.worx",
"version": "0.2.0",
"version": "0.3.0",
"description": "control via cloud and mqtt",
"author": {
"name": "MeisterTR",
Expand Down

0 comments on commit 27b1bd9

Please sign in to comment.