iobroker.autodarts 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/admin/i18n/de.json +2 -8
- package/admin/i18n/en.json +1 -7
- package/admin/i18n/es.json +1 -7
- package/admin/i18n/fr.json +1 -7
- package/admin/i18n/it.json +1 -7
- package/admin/i18n/nl.json +1 -7
- package/admin/i18n/pl.json +1 -7
- package/admin/i18n/pt.json +1 -7
- package/admin/i18n/ru.json +1 -7
- package/admin/i18n/uk.json +1 -7
- package/admin/i18n/zh-cn.json +1 -7
- package/io-package.json +14 -14
- package/main.js +36 -8
- package/package.json +1 -1
package/README.md
CHANGED
package/admin/i18n/de.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Autodarts-Board online",
|
|
3
|
-
"board_online_desc": "true = Board erreichbar, false = nicht erreichbar",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Host / IP",
|
|
5
3
|
"host_port": "Autodarts (Boardmanager) Port",
|
|
6
|
-
"intro_txt": "Autodarts-Adapterkonfiguration.<br>Bitte
|
|
4
|
+
"intro_txt": "Autodarts-Adapterkonfiguration.<br>Bitte gebe IP und Port vom Boardmanager sowie den Abfrageintervall ein.",
|
|
7
5
|
"outro_txt": "Team inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Abfrageintervall (ms)"
|
|
9
|
-
"software_version": "Board-Manager-Version",
|
|
10
|
-
"software_version_desc": "Version des Boardmanager",
|
|
11
|
-
"visit_score": "Aufnahme (insgesamt 3 Darts)",
|
|
12
|
-
"visit_score_dec": "Gesamtsumme der letzten vollständigen Aufnahme"
|
|
6
|
+
"polling": "Abfrageintervall (ms)"
|
|
13
7
|
}
|
package/admin/i18n/en.json
CHANGED
|
@@ -3,11 +3,5 @@
|
|
|
3
3
|
"outro_txt": "Team inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
4
4
|
"host_ip": "Autodarts (Boardmanager) Host / IP",
|
|
5
5
|
"host_port": "Autodarts (Boardmanager) Port",
|
|
6
|
-
"polling": "Polling interval (ms)"
|
|
7
|
-
"visit_score": "Visit score (Total of 3 darts)",
|
|
8
|
-
"visit_score_dec": "Total of the last complete visit",
|
|
9
|
-
"board_online": "Autodarts Board online",
|
|
10
|
-
"board_online_desc": "true = Board reachable, false = not reachable",
|
|
11
|
-
"software_version": "Board manager version",
|
|
12
|
-
"software_version_desc": "Version of the board manager"
|
|
6
|
+
"polling": "Polling interval (ms)"
|
|
13
7
|
}
|
package/admin/i18n/es.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Tablero de dardos en línea",
|
|
3
|
-
"board_online_desc": "verdadero = Tablero accesible, falso = no accesible",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Host/IP",
|
|
5
3
|
"host_port": "Puerto Autodarts (Boardmanager)",
|
|
6
4
|
"intro_txt": "Configuración del adaptador Autodarts.<br>Ingrese el host y el puerto de Boardmanager, así como el intervalo de sondeo.",
|
|
7
5
|
"outro_txt": "Equipo inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Intervalo de sondeo (ms)"
|
|
9
|
-
"software_version": "Versión del administrador de la junta",
|
|
10
|
-
"software_version_desc": "Versión del administrador de la junta",
|
|
11
|
-
"visit_score": "Puntuación de visita (Total de 3 dardos)",
|
|
12
|
-
"visit_score_dec": "Total de la última visita completa"
|
|
6
|
+
"polling": "Intervalo de sondeo (ms)"
|
|
13
7
|
}
|
package/admin/i18n/fr.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Tableau d'Autodarts en ligne",
|
|
3
|
-
"board_online_desc": "true = Tableau accessible, false = non accessible",
|
|
4
2
|
"host_ip": "Hôte / IP Autodarts (Boardmanager)",
|
|
5
3
|
"host_port": "Port Autodarts (Boardmanager)",
|
|
6
4
|
"intro_txt": "Configuration de l'adaptateur Autodarts.<br>Veuillez saisir l'hôte et le port de Boardmanager ainsi que l'intervalle d'interrogation.",
|
|
7
5
|
"outro_txt": "Équipe inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Intervalle d'interrogation (ms)"
|
|
9
|
-
"software_version": "Version du gestionnaire de forum",
|
|
10
|
-
"software_version_desc": "Version du gestionnaire du conseil d'administration",
|
|
11
|
-
"visit_score": "Score de visite (Total de 3 fléchettes)",
|
|
12
|
-
"visit_score_dec": "Total de la dernière visite complète"
|
|
6
|
+
"polling": "Intervalle d'interrogation (ms)"
|
|
13
7
|
}
|
package/admin/i18n/it.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Gioco di freccette automatiche online",
|
|
3
|
-
"board_online_desc": "true = scheda raggiungibile, false = non raggiungibile",
|
|
4
2
|
"host_ip": "Host/IP Autodarts (Boardmanager).",
|
|
5
3
|
"host_port": "Porta Autodarts (Boardmanager).",
|
|
6
4
|
"intro_txt": "Configurazione dell'adattatore Autodarts.<br>Inserisci host e porta da Boardmanager nonché l'intervallo di polling.",
|
|
7
5
|
"outro_txt": "Team inventtwo • <a href=\"https://github.com/inventtwo\">https://github.com/inventtwo</a>",
|
|
8
|
-
"polling": "Intervallo di polling (ms)"
|
|
9
|
-
"software_version": "Versione del direttore del consiglio",
|
|
10
|
-
"software_version_desc": "Versione del consiglio di amministrazione",
|
|
11
|
-
"visit_score": "Punteggio della visita (totale di 3 freccette)",
|
|
12
|
-
"visit_score_dec": "Totale dell'ultima visita completa"
|
|
6
|
+
"polling": "Intervallo di polling (ms)"
|
|
13
7
|
}
|
package/admin/i18n/nl.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Autodartsbord online",
|
|
3
|
-
"board_online_desc": "true = Board bereikbaar, false = niet bereikbaar",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Host / IP",
|
|
5
3
|
"host_port": "Autodarts (Bestuursmanager) Port",
|
|
6
4
|
"intro_txt": "Autodarts-adapterconfiguratie.<br>Voer de host en poort van Boardmanager in, evenals het polling-interval.",
|
|
7
5
|
"outro_txt": "Team inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Polling-interval (ms)"
|
|
9
|
-
"software_version": "Bestuursmanager versie",
|
|
10
|
-
"software_version_desc": "Versie van de bestuursmanager",
|
|
11
|
-
"visit_score": "Bezoekscore (totaal 3 darts)",
|
|
12
|
-
"visit_score_dec": "Totaal van het laatste volledige bezoek"
|
|
6
|
+
"polling": "Polling-interval (ms)"
|
|
13
7
|
}
|
package/admin/i18n/pl.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Tablica Autodarts online",
|
|
3
|
-
"board_online_desc": "true = tablica osiągalna, false = nieosiągalna",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Host / IP",
|
|
5
3
|
"host_port": "Port Autodarts (Boardmanager).",
|
|
6
4
|
"intro_txt": "Konfiguracja adaptera Autodarts.<br>Wprowadź host i port z Boardmanager oraz interwał odpytywania.",
|
|
7
5
|
"outro_txt": "Zespół inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Interwał odpytywania (ms)"
|
|
9
|
-
"software_version": "Wersja menadżera zarządu",
|
|
10
|
-
"software_version_desc": "Wersja menadżera zarządu",
|
|
11
|
-
"visit_score": "Wynik wizyty (łącznie 3 rzutki)",
|
|
12
|
-
"visit_score_dec": "Suma ostatniej pełnej wizyty"
|
|
6
|
+
"polling": "Interwał odpytywania (ms)"
|
|
13
7
|
}
|
package/admin/i18n/pt.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Placa Autodarts on-line",
|
|
3
|
-
"board_online_desc": "verdadeiro = placa acessível, falso = não acessível",
|
|
4
2
|
"host_ip": "Host/IP do Autodarts (Boardmanager)",
|
|
5
3
|
"host_port": "Porto Autodarts (Boardmanager)",
|
|
6
4
|
"intro_txt": "Configuração do adaptador Autodarts.<br>Insira o host e a porta do Boardmanager, bem como o intervalo de pesquisa.",
|
|
7
5
|
"outro_txt": "Equipe inventtwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Intervalo de pesquisa (ms)"
|
|
9
|
-
"software_version": "Versão do gerente do conselho",
|
|
10
|
-
"software_version_desc": "Versão do gerenciador do conselho",
|
|
11
|
-
"visit_score": "Pontuação da visita (Total de 3 dardos)",
|
|
12
|
-
"visit_score_dec": "Total da última visita completa"
|
|
6
|
+
"polling": "Intervalo de pesquisa (ms)"
|
|
13
7
|
}
|
package/admin/i18n/ru.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Доска автодартс онлайн",
|
|
3
|
-
"board_online_desc": "true = доска доступна, false = недоступна",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Хост/IP",
|
|
5
3
|
"host_port": "Порт Autodarts (Boardmanager)",
|
|
6
4
|
"intro_txt": "Конфигурация адаптера Autodarts.<br>Укажите хост и порт из Boardmanager, а также интервал опроса.",
|
|
7
5
|
"outro_txt": "Команда inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Интервал опроса (мс)"
|
|
9
|
-
"software_version": "Версия менеджера совета",
|
|
10
|
-
"software_version_desc": "Версия менеджера форума",
|
|
11
|
-
"visit_score": "Оценка посещения (всего 3 дротика)",
|
|
12
|
-
"visit_score_dec": "Всего за последнее полное посещение"
|
|
6
|
+
"polling": "Интервал опроса (мс)"
|
|
13
7
|
}
|
package/admin/i18n/uk.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "Autodarts Board онлайн",
|
|
3
|
-
"board_online_desc": "true = дошка доступна, false = недоступна",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) Хост / IP",
|
|
5
3
|
"host_port": "Autodarts (Boardmanager) Порт",
|
|
6
4
|
"intro_txt": "Конфігурація адаптера Autodarts.<br>Введіть хост і порт із Boardmanager, а також інтервал опитування.",
|
|
7
5
|
"outro_txt": "Команда inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "Інтервал опитування (мс)"
|
|
9
|
-
"software_version": "Версія для керування платою",
|
|
10
|
-
"software_version_desc": "Версія керуючої дошки",
|
|
11
|
-
"visit_score": "Рахунок за відвідування (всього 3 дротики)",
|
|
12
|
-
"visit_score_dec": "Загальна кількість останнього повного відвідування"
|
|
6
|
+
"polling": "Інтервал опитування (мс)"
|
|
13
7
|
}
|
package/admin/i18n/zh-cn.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"board_online": "在线自动飞镖板",
|
|
3
|
-
"board_online_desc": "true = 董事会可访问,false = 不可访问",
|
|
4
2
|
"host_ip": "Autodarts (Boardmanager) 主机/IP",
|
|
5
3
|
"host_port": "Autodarts(Boardmanager)端口",
|
|
6
4
|
"intro_txt": "Autodarts 适配器配置。<br>请输入 Boardmanager 中的主机和端口以及轮询间隔。",
|
|
7
5
|
"outro_txt": "团队 inventwo • <a href=\"https://github.com/inventwo\">https://github.com/inventwo</a>",
|
|
8
|
-
"polling": "轮询间隔(毫秒)"
|
|
9
|
-
"software_version": "董事会经理版本",
|
|
10
|
-
"software_version_desc": "董事会经理版本",
|
|
11
|
-
"visit_score": "访问分数(共 3 飞镖)",
|
|
12
|
-
"visit_score_dec": "上次完整访问的总计"
|
|
6
|
+
"polling": "轮询间隔(毫秒)"
|
|
13
7
|
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "autodarts",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.0.14": {
|
|
7
|
+
"en": "fix",
|
|
8
|
+
"de": "fixieren",
|
|
9
|
+
"ru": "исправлять",
|
|
10
|
+
"pt": "corrigir",
|
|
11
|
+
"nl": "fix",
|
|
12
|
+
"fr": "correction",
|
|
13
|
+
"it": "correzione",
|
|
14
|
+
"es": "arregle",
|
|
15
|
+
"pl": "fix",
|
|
16
|
+
"uk": "фіксація",
|
|
17
|
+
"zh-cn": "固定"
|
|
18
|
+
},
|
|
6
19
|
"0.0.12": {
|
|
7
20
|
"en": "fix",
|
|
8
21
|
"de": "fixieren",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "fix - Kontrola adaptera",
|
|
81
94
|
"uk": "виправити - Перевірювач адаптера",
|
|
82
95
|
"zh-cn": "修补 - 适配器检查器"
|
|
83
|
-
},
|
|
84
|
-
"0.0.5": {
|
|
85
|
-
"en": "Update Description",
|
|
86
|
-
"de": "Update Beschreibung",
|
|
87
|
-
"ru": "Обновленное описание",
|
|
88
|
-
"pt": "Atualizar Descrição",
|
|
89
|
-
"nl": "Beschrijving bijwerken",
|
|
90
|
-
"fr": "Mettre à jour la description",
|
|
91
|
-
"it": "Descrizione dell'aggiornamento",
|
|
92
|
-
"es": "Actualización",
|
|
93
|
-
"pl": "Aktualizacja opisu",
|
|
94
|
-
"uk": "Опис оновлення",
|
|
95
|
-
"zh-cn": "更新描述"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/main.js
CHANGED
|
@@ -31,19 +31,30 @@ class Autodarts extends utils.Adapter {
|
|
|
31
31
|
// Visit-Struktur anlegen
|
|
32
32
|
await this.setObjectNotExistsAsync("visit", {
|
|
33
33
|
type: "channel",
|
|
34
|
-
common: {
|
|
34
|
+
common: {
|
|
35
|
+
name: {
|
|
36
|
+
en: "Current visit",
|
|
37
|
+
de: "Aktuelle Aufnahme",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
35
40
|
native: {},
|
|
36
41
|
});
|
|
37
42
|
|
|
38
43
|
await this.setObjectNotExistsAsync("visit.score", {
|
|
39
44
|
type: "state",
|
|
40
45
|
common: {
|
|
41
|
-
name:
|
|
46
|
+
name: {
|
|
47
|
+
en: "Visit score (Total of 3 darts)",
|
|
48
|
+
de: "Aufnahme (Summe dreier Darts)",
|
|
49
|
+
},
|
|
42
50
|
type: "number",
|
|
43
51
|
role: "value",
|
|
44
52
|
read: true,
|
|
45
53
|
write: false,
|
|
46
|
-
desc:
|
|
54
|
+
desc: {
|
|
55
|
+
en: "Total of the last complete visit",
|
|
56
|
+
de: "Summe der letzten vollständigen Aufnahme",
|
|
57
|
+
},
|
|
47
58
|
},
|
|
48
59
|
native: {},
|
|
49
60
|
});
|
|
@@ -52,12 +63,18 @@ class Autodarts extends utils.Adapter {
|
|
|
52
63
|
await this.setObjectNotExistsAsync("online", {
|
|
53
64
|
type: "state",
|
|
54
65
|
common: {
|
|
55
|
-
name:
|
|
66
|
+
name: {
|
|
67
|
+
en: "Autodarts board online",
|
|
68
|
+
de: "Autodarts Board online",
|
|
69
|
+
},
|
|
56
70
|
type: "boolean",
|
|
57
71
|
role: "indicator.reachable",
|
|
58
72
|
read: true,
|
|
59
73
|
write: false,
|
|
60
|
-
desc:
|
|
74
|
+
desc: {
|
|
75
|
+
en: "true = Board reachable, false = Board not reachable",
|
|
76
|
+
de: "true = Board erreichbar, false = Board nicht erreichbar",
|
|
77
|
+
},
|
|
61
78
|
},
|
|
62
79
|
native: {},
|
|
63
80
|
});
|
|
@@ -65,19 +82,30 @@ class Autodarts extends utils.Adapter {
|
|
|
65
82
|
// System-Channel und BoardVersion-Datenpunkt anlegen
|
|
66
83
|
await this.setObjectNotExistsAsync("system", {
|
|
67
84
|
type: "channel",
|
|
68
|
-
common: {
|
|
85
|
+
common: {
|
|
86
|
+
name: {
|
|
87
|
+
en: "Information about the system",
|
|
88
|
+
de: "Informationen zum System",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
69
91
|
native: {},
|
|
70
92
|
});
|
|
71
93
|
|
|
72
94
|
await this.setObjectNotExistsAsync("system.boardVersion", {
|
|
73
95
|
type: "state",
|
|
74
96
|
common: {
|
|
75
|
-
name:
|
|
97
|
+
name: {
|
|
98
|
+
en: "Board manager version",
|
|
99
|
+
de: "Version des Board-Manager",
|
|
100
|
+
},
|
|
76
101
|
type: "string",
|
|
77
102
|
role: "info.version",
|
|
78
103
|
read: true,
|
|
79
104
|
write: false,
|
|
80
|
-
desc:
|
|
105
|
+
desc: {
|
|
106
|
+
en: "Version of the board manager",
|
|
107
|
+
de: "Version des Board-Manager",
|
|
108
|
+
},
|
|
81
109
|
},
|
|
82
110
|
native: {},
|
|
83
111
|
});
|