Skip to content

Commit 1ca1440

Browse files
authored
Merge pull request #20 from Grizzelbee/development
v1.1.1
2 parents dd3a10f + 7a8bb61 commit 1ca1440

File tree

5 files changed

+28
-9
lines changed

5 files changed

+28
-9
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ It is possible to control the extensions GPIO 1, GPIO 2, OUT 1 and OUT 2 of the
4646
### Work in progress
4747
* to use timePickers in admin at least admin version 6.4.3 is required - will implement as soon as admin >= 6.4.3 is in stable repo.
4848

49+
### 1.1.1 (2023-08-24)
50+
* (grizzelbee) Fix: Fixed status.stopped for push messages.
51+
4952
### 1.1.0 (2023-08-23)
5053
* (grizzelbee) Fix: [#18](https://github.com/Grizzelbee/ioBroker.robonect/issues/18) Showing values for battery with fractions (again)
5154
* (grizzelbee) New: Added START button

io-package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
22
"common": {
33
"name": "robonect",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"news": {
6+
"1.1.1": {
7+
"en": "Fix: Fixed status.stopped for push messages.",
8+
"de": "Fix: Status.stopped für Push-Nachrichten behoben.",
9+
"ru": "Исправлено: исправлен статус status.stopped для push-сообщений.",
10+
"pt": "Correção: Corrigido status.stopped para mensagens push.",
11+
"nl": "Fix: Vaste status. Gestopt voor push-berichten.",
12+
"fr": "Correctif : Correction du statut arrêté pour les messages push.",
13+
"it": "Correzione: corretto status.stopped per i messaggi push.",
14+
"es": "Solución: estado fijo. Detenido para mensajes push.",
15+
"pl": "Poprawka: Naprawiono status zatrzymany dla wiadomości push.",
16+
"uk": "Виправлення: виправлено status.stopped для push-повідомлень.",
17+
"zh-cn": "修复:修复推送消息的 status.stopped。"
18+
},
619
"1.1.0": {
720
"en": "Fix: Showing values for battery with fractions (again)*New: Added START button*New: Added STOP button*New: Added SERVICE button to reboot, shutdown or sleep Robonect module*New: Push states and interval can be set*New: Nickname of the mower can be set*New: Timers of the mower can be set ",
821
"de": "Behoben: Werte für Batterie werden (wieder) mit Brüchen angezeigt*Neu: START-Taste hinzugefügt*Neu: STOP-Taste hinzugefügt*Neu: SERVICE-Taste hinzugefügt, um das Robonect-Modul neu zu starten, herunterzufahren oder in den Ruhezustand zu versetzen*Neu: Push-Zustände und Intervall können eingestellt werden*Neu: Spitzname des Mähers kann eingestellt werden*Neu: Timer des Mähers können eingestellt werden",

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class Robonect extends utils.Adapter {
184184
});
185185
}
186186
const objects = require('./lib/objects_pushedStatus.json');
187+
params.stopped = (params.stopped === 1);
187188
adapter.updateObjects(objects, params);
188189

189190
};
@@ -269,9 +270,11 @@ class Robonect extends utils.Adapter {
269270
break;
270271
case 'start':
271272
this.sendApiCmd('start');
273+
this.pollApi('status');
272274
break;
273275
case 'stop':
274276
this.sendApiCmd('stop');
277+
this.pollApi('status');
275278
break;
276279
case 'timer':
277280
if (id.split('.').pop() === 'update_timer'){

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iobroker.robonect",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Robonect HX for lawn mower robots from Husquarna, Flymo, McCulloch and Gardena",
55
"keywords": [
66
"ioBroker",
@@ -64,7 +64,7 @@
6464
"@types/chai-as-promised": "^7.1.5",
6565
"@types/gulp": "^4.0.13",
6666
"@types/mocha": "^10.0.1",
67-
"@types/node": "^20.5.1",
67+
"@types/node": "^20.5.4",
6868
"@types/proxyquire": "^1.3.28",
6969
"@types/sinon": "^10.0.16",
7070
"@types/sinon-chai": "^3.2.9",

0 commit comments

Comments
 (0)