iobroker.yamaha 0.5.2 → 0.5.4
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/.github/dependabot.yml +6 -5
- package/.github/workflows/dependabot-auto-merge.yml +1 -1
- package/.github/workflows/test-and-release.yml +9 -9
- package/LICENSE +1 -1
- package/README.md +8 -2
- package/admin/i18n/de/translations.json +2 -2
- package/admin/i18n/en/translations.json +2 -2
- package/admin/i18n/es/translations.json +1 -1
- package/admin/i18n/fr/translations.json +1 -1
- package/admin/i18n/it/translations.json +1 -1
- package/admin/i18n/nl/translations.json +1 -1
- package/admin/i18n/pl/translations.json +1 -1
- package/admin/i18n/pt/translations.json +1 -1
- package/admin/i18n/ru/translations.json +1 -1
- package/admin/i18n/zh-cn/translations.json +1 -1
- package/admin/words.js +2 -2
- package/io-package.json +26 -25
- package/main.js +2 -2
- package/package.json +23 -20
package/.github/dependabot.yml
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
|
-
- package-ecosystem:
|
|
3
|
+
- package-ecosystem: npm
|
|
4
4
|
directory: "/"
|
|
5
5
|
schedule:
|
|
6
6
|
interval: monthly
|
|
7
7
|
time: "04:00"
|
|
8
8
|
timezone: Europe/Berlin
|
|
9
|
-
|
|
9
|
+
open-pull-requests-limit: 15
|
|
10
|
+
versioning-strategy: increase
|
|
11
|
+
|
|
12
|
+
- package-ecosystem: github-actions
|
|
10
13
|
directory: "/"
|
|
11
14
|
schedule:
|
|
12
15
|
interval: monthly
|
|
13
16
|
time: "04:00"
|
|
14
17
|
timezone: Europe/Berlin
|
|
15
|
-
open-pull-requests-limit:
|
|
16
|
-
versioning-strategy: increase
|
|
17
|
-
|
|
18
|
+
open-pull-requests-limit: 15
|
|
@@ -22,14 +22,14 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
strategy:
|
|
24
24
|
matrix:
|
|
25
|
-
node-version: [
|
|
25
|
+
node-version: [18.x]
|
|
26
26
|
|
|
27
27
|
steps:
|
|
28
28
|
- name: Checkout code
|
|
29
|
-
uses: actions/checkout@
|
|
29
|
+
uses: actions/checkout@v4
|
|
30
30
|
|
|
31
31
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
32
|
-
uses: actions/setup-node@
|
|
32
|
+
uses: actions/setup-node@v4
|
|
33
33
|
with:
|
|
34
34
|
node-version: ${{ matrix.node-version }}
|
|
35
35
|
|
|
@@ -50,15 +50,15 @@ jobs:
|
|
|
50
50
|
runs-on: ${{ matrix.os }}
|
|
51
51
|
strategy:
|
|
52
52
|
matrix:
|
|
53
|
-
node-version: [
|
|
53
|
+
node-version: [18.x, 20.x, 22.x]
|
|
54
54
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
55
55
|
|
|
56
56
|
steps:
|
|
57
57
|
- name: Checkout code
|
|
58
|
-
uses: actions/checkout@
|
|
58
|
+
uses: actions/checkout@v4
|
|
59
59
|
|
|
60
60
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
61
|
-
uses: actions/setup-node@
|
|
61
|
+
uses: actions/setup-node@v4
|
|
62
62
|
with:
|
|
63
63
|
node-version: ${{ matrix.node-version }}
|
|
64
64
|
|
|
@@ -89,14 +89,14 @@ jobs:
|
|
|
89
89
|
runs-on: ubuntu-latest
|
|
90
90
|
strategy:
|
|
91
91
|
matrix:
|
|
92
|
-
node-version: [
|
|
92
|
+
node-version: [18.x]
|
|
93
93
|
|
|
94
94
|
steps:
|
|
95
95
|
- name: Checkout code
|
|
96
|
-
uses: actions/checkout@
|
|
96
|
+
uses: actions/checkout@v4
|
|
97
97
|
|
|
98
98
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
99
|
-
uses: actions/setup-node@
|
|
99
|
+
uses: actions/setup-node@v4
|
|
100
100
|
with:
|
|
101
101
|
node-version: ${{ matrix.node-version }}
|
|
102
102
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-2024 soef <soef@gmx.net>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -37,12 +37,18 @@ The states will be created, when they occur. I.e. use your ir-remote and change
|
|
|
37
37
|
Only one connection is accepted by yamaha devices.
|
|
38
38
|
|
|
39
39
|
#### Requirements
|
|
40
|
-
Yamaha
|
|
40
|
+
Yamaha Receiver
|
|
41
41
|
|
|
42
42
|
You have to enable "network standby" function in the configuration of your receiver
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
## Changelog
|
|
46
|
+
### 0.5.4 (2024-06-14)
|
|
47
|
+
* (foxriver76) updated packages
|
|
48
|
+
|
|
49
|
+
### 0.5.3 (2022-06-17)
|
|
50
|
+
* (Apollon77) Fix crash cases reported by Sentry
|
|
51
|
+
|
|
46
52
|
### 0.5.2 (2022-04-23)
|
|
47
53
|
* (Apollon77) Fix crash cases reported by Sentry
|
|
48
54
|
|
|
@@ -106,7 +112,7 @@ You have to enable "network standby" function in the configuration of your recei
|
|
|
106
112
|
### License
|
|
107
113
|
The MIT License (MIT)
|
|
108
114
|
|
|
109
|
-
Copyright (c) 2015-
|
|
115
|
+
Copyright (c) 2015-2024 soef <soef@gmx.net>
|
|
110
116
|
|
|
111
117
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
112
118
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"IP Address": "IP
|
|
2
|
+
"IP Address": "IP-Adresse",
|
|
3
3
|
"Ping interval": "Intervall zum Pingen der Echtzeitverbindung in Sekunden (0 = keine)",
|
|
4
4
|
"Poll Interval": "Abfrageintervall",
|
|
5
5
|
"Realtime Options": "Echtzeitoptionen",
|
|
6
6
|
"Use Realtime": "Echtzeitmodus verwenden",
|
|
7
7
|
"refreshOnRealtime": "Aktualisieren Sie alle Datenpunkte bei einem Echtzeitereignis",
|
|
8
8
|
"template adapter settings": "Adaptereinstellungen für template"
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"Poll Interval": "Poll Interval",
|
|
5
5
|
"Realtime Options": "Realtime Options",
|
|
6
6
|
"Use Realtime": "Use Realtime",
|
|
7
|
-
"refreshOnRealtime": "Refresh all
|
|
7
|
+
"refreshOnRealtime": "Refresh all states on realtime event",
|
|
8
8
|
"template adapter settings": "Adapter settings for template"
|
|
9
|
-
}
|
|
9
|
+
}
|
package/admin/words.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
systemDictionary = {
|
|
5
|
-
"IP Address": { "en": "IP Address", "de": "IP
|
|
5
|
+
"IP Address": { "en": "IP Address", "de": "IP-Adresse", "ru": "Айпи адрес", "pt": "Endereço de IP", "nl": "IP adres", "fr": "Adresse IP", "it": "Indirizzo IP", "es": "Dirección IP", "pl": "Adres IP", "zh-cn": "IP地址"},
|
|
6
6
|
"Ping interval": { "en": "Interval to ping the realtime connection in sec, (0=none)", "de": "Intervall zum Pingen der Echtzeitverbindung in Sekunden (0 = keine)", "ru": "Интервал проверки связи в реальном времени в секундах (0 = нет)", "pt": "Intervalo para executar ping na conexão em tempo real em segundos, (0 = nenhum)", "nl": "Interval om de realtime verbinding in seconden te pingen, (0 = geen)", "fr": "Intervalle de ping de la connexion en temps réel en sec, (0 = aucun)", "it": "Intervallo per eseguire il ping della connessione in tempo reale in secondi, (0 = nessuno)", "es": "Intervalo para hacer ping a la conexión en tiempo real en segundos, (0 = ninguno)", "pl": "Interwał pingowania połączenia w czasie rzeczywistym w sekundach (0 = brak)", "zh-cn": "ping实时连接的时间间隔,以秒为单位,(0 =无)"},
|
|
7
7
|
"Poll Interval": { "en": "Poll Interval", "de": "Abfrageintervall", "ru": "Интервал опроса", "pt": "Intervalo de votação", "nl": "Pollinterval", "fr": "Intervalle de sondage", "it": "Intervallo di polling", "es": "Intervalo de encuesta", "pl": "Interwał sondowania", "zh-cn": "轮询间隔"},
|
|
8
8
|
"Realtime Options": { "en": "Realtime Options", "de": "Echtzeitoptionen", "ru": "Варианты в реальном времени", "pt": "Opções em tempo real", "nl": "Realtime opties", "fr": "Options en temps réel", "it": "Opzioni in tempo reale", "es": "Opciones en tiempo real", "pl": "Opcje w czasie rzeczywistym", "zh-cn": "实时选项"},
|
|
9
9
|
"Use Realtime": { "en": "Use Realtime", "de": "Echtzeitmodus verwenden", "ru": "Использовать в реальном времени", "pt": "Usar em tempo real", "nl": "Gebruik Realtime", "fr": "Utiliser en temps réel", "it": "Usa in tempo reale", "es": "Usar en tiempo real", "pl": "Użyj czasu rzeczywistego", "zh-cn": "使用实时"},
|
|
10
|
-
"refreshOnRealtime": { "en": "Refresh all
|
|
10
|
+
"refreshOnRealtime": { "en": "Refresh all states on realtime event", "de": "Aktualisieren Sie alle Datenpunkte bei einem Echtzeitereignis", "ru": "Обновить все точки данных на событии в реальном времени", "pt": "Atualizar todos os pontos de dados no evento em tempo real", "nl": "Ververs alle datapunten op een realtime evenement", "fr": "Actualisez tous les points de données sur l'événement en temps réel", "it": "Aggiorna tutti i punti dati sull'evento in tempo reale", "es": "Actualizar todos los puntos de datos en un evento en tiempo real", "pl": "Odśwież wszystkie punkty danych podczas wydarzenia w czasie rzeczywistym", "zh-cn": "在实时事件上刷新所有数据点"},
|
|
11
11
|
"template adapter settings": { "en": "Adapter settings for template", "de": "Adaptereinstellungen für template", "ru": "Настройки адаптера для template", "pt": "Configurações do adaptador para template", "nl": "Adapterinstellingen voor template", "fr": "Paramètres d'adaptateur pour template", "it": "Impostazioni dell'adattatore per template", "es": "Ajustes del adaptador para template", "pl": "Ustawienia adaptera dla template", "zh-cn": "template的适配器设置"},
|
|
12
12
|
};
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "yamaha",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.5.4": {
|
|
7
|
+
"en": "updated packages",
|
|
8
|
+
"de": "aktualisierte pakete",
|
|
9
|
+
"ru": "обновления пакетов",
|
|
10
|
+
"pt": "pacotes atualizados",
|
|
11
|
+
"nl": "bijgewerkte pakketten",
|
|
12
|
+
"fr": "paquets mis à jour",
|
|
13
|
+
"it": "pacchetti aggiornati",
|
|
14
|
+
"es": "paquetes actualizados",
|
|
15
|
+
"pl": "zaktualizowane pakiety",
|
|
16
|
+
"uk": "оновлені пакети",
|
|
17
|
+
"zh-cn": "更新软件包"
|
|
18
|
+
},
|
|
19
|
+
"0.5.3": {
|
|
20
|
+
"en": "Fix crash cases reported by Sentry",
|
|
21
|
+
"de": "Reparieren Crashfälle gemeldet von Sentry",
|
|
22
|
+
"ru": "Исправление случаев аварии, описанных Sentry",
|
|
23
|
+
"pt": "Corrigir casos de acidente relatados por Sentry",
|
|
24
|
+
"nl": "Vertaling:",
|
|
25
|
+
"fr": "Troubles de crash signalés par Sentry",
|
|
26
|
+
"it": "Correzione dei casi di crash segnalati da Sentry",
|
|
27
|
+
"es": "Casos de accidente fijo reportados por Sentry",
|
|
28
|
+
"pl": "Sprawy katastrofy Fix podane przez Sentry’a",
|
|
29
|
+
"zh-cn": "Sentry所报告的六例事故"
|
|
30
|
+
},
|
|
6
31
|
"0.5.2": {
|
|
7
32
|
"en": "Fix crash cases reported by Sentry",
|
|
8
33
|
"de": "Von Sentry gemeldete Absturzfälle beheben",
|
|
@@ -62,30 +87,6 @@
|
|
|
62
87
|
"es": "agregó compatibilidad con admin 3 y más cosas de metadatos.\nagregó soporte de modo compacto.",
|
|
63
88
|
"pl": "dodał kompatybilność z adminem 3 i więcej metadanych.\ndodano obsługę trybu kompaktowego.",
|
|
64
89
|
"zh-cn": "*(Garfonso)添加了admin 3兼容性和更多的元数据内容。\n*(Garfonso)添加了紧凑模式支持。"
|
|
65
|
-
},
|
|
66
|
-
"0.3.20": {
|
|
67
|
-
"en": "fixed crash in lib/soef.js (Garfonso)\nupdated meta information. (Garfonso)",
|
|
68
|
-
"de": "Absturz in lib / soef.js (Garfonso) behoben \nupdated meta information. (Garfonso)",
|
|
69
|
-
"ru": "исправлен сбой в lib / soef.js (Garfonso) \nupdated метаинформации. (Garfonso)",
|
|
70
|
-
"pt": "falha corrigida na lib / soef.js (Garfonso) \nmeta-informações atualizadas. (Garfonso)",
|
|
71
|
-
"nl": "crash opgelost in lib / soef.js (Garfonso) \nupdate meta-informatie. (Garfonso)",
|
|
72
|
-
"fr": "correction d'un crash dans lib / soef.js (Garfonso) \ndes méta-informations mises à jour. (Garfonso)",
|
|
73
|
-
"it": "risolto crash in lib / soef.js (Garfonso) \nmeta informazioni non aggiornate. (Garfonso)",
|
|
74
|
-
"es": "Se corrigió el bloqueo en lib / soef.js (Garfonso) \n meta información actualizada. (Garfonso)",
|
|
75
|
-
"pl": "naprawiono awarię w lib / soef.js (Garfonso) \naktualizowano meta informacje. (Garfonso)",
|
|
76
|
-
"zh-cn": "修复了lib / soef.js(Garfonso)\n更新的元信息中的崩溃。 (加方索)"
|
|
77
|
-
},
|
|
78
|
-
"0.3.19": {
|
|
79
|
-
"en": "Changelog added to readme",
|
|
80
|
-
"de": "Changelog der readme hinzugefügt",
|
|
81
|
-
"ru": "Список изменений добавлен в readme",
|
|
82
|
-
"pt": "Changelog adicionado ao leia-me",
|
|
83
|
-
"nl": "Changelog toegevoegd aan readme",
|
|
84
|
-
"fr": "Changelog ajouté au fichier readme",
|
|
85
|
-
"it": "Changelog aggiunto al readme",
|
|
86
|
-
"es": "Registro de cambios agregado a Léame",
|
|
87
|
-
"pl": "Dziennik zmian dodany do readme",
|
|
88
|
-
"zh-cn": "更改日志添加到自述文件"
|
|
89
90
|
}
|
|
90
91
|
},
|
|
91
92
|
"title": "Yamaha",
|
package/main.js
CHANGED
|
@@ -269,13 +269,13 @@ var defaultParams = {
|
|
|
269
269
|
return (this.val === 'true') || !!(this.val >> 0);
|
|
270
270
|
},
|
|
271
271
|
get szVal() {
|
|
272
|
-
return this.val.toString
|
|
272
|
+
return this.val === null ? '': this.val.toString();
|
|
273
273
|
},
|
|
274
274
|
get zone() {
|
|
275
275
|
return zone;
|
|
276
276
|
},
|
|
277
277
|
result: function(idx) {
|
|
278
|
-
return this [idx] !== undefined ? this
|
|
278
|
+
return this [idx] !== undefined ? this[idx] : idx;
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.yamaha",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "ioBroker Yamaha Adapter",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "soef",
|
|
@@ -29,37 +29,40 @@
|
|
|
29
29
|
"receiver",
|
|
30
30
|
"RX-V"
|
|
31
31
|
],
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=16"
|
|
34
|
+
},
|
|
32
35
|
"dependencies": {
|
|
33
|
-
"@iobroker/adapter-core": "^
|
|
36
|
+
"@iobroker/adapter-core": "^3.1.6",
|
|
34
37
|
"array-ext": "^0.1.5",
|
|
35
38
|
"peer-ssdp": "0.0.5",
|
|
36
39
|
"request": "^2.88.2",
|
|
37
|
-
"sprintf-js": "^1.1.
|
|
40
|
+
"sprintf-js": "^1.1.3",
|
|
38
41
|
"y5": "^0.2.0",
|
|
39
42
|
"yamaha-nodejs-soef": "^0.7.4"
|
|
40
43
|
},
|
|
41
44
|
"devDependencies": {
|
|
42
|
-
"@alcalzone/release-script": "^3.
|
|
43
|
-
"@alcalzone/release-script-plugin-iobroker": "^3.
|
|
44
|
-
"@alcalzone/release-script-plugin-license": "^3.
|
|
45
|
-
"@iobroker/testing": "^
|
|
46
|
-
"@types/chai": "^4.3.
|
|
47
|
-
"@types/chai-as-promised": "^7.1.
|
|
48
|
-
"@types/gulp": "^4.0.
|
|
49
|
-
"@types/mocha": "^
|
|
50
|
-
"@types/node": "^
|
|
51
|
-
"@types/proxyquire": "^1.3.
|
|
52
|
-
"@types/sinon": "^10.0.
|
|
53
|
-
"@types/sinon-chai": "^3.2.
|
|
54
|
-
"axios": "^0.
|
|
55
|
-
"chai": "^4.
|
|
45
|
+
"@alcalzone/release-script": "^3.7.0",
|
|
46
|
+
"@alcalzone/release-script-plugin-iobroker": "^3.7.0",
|
|
47
|
+
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
48
|
+
"@iobroker/testing": "^4.1.3",
|
|
49
|
+
"@types/chai": "^4.3.5",
|
|
50
|
+
"@types/chai-as-promised": "^7.1.8",
|
|
51
|
+
"@types/gulp": "^4.0.17",
|
|
52
|
+
"@types/mocha": "^10.0.6",
|
|
53
|
+
"@types/node": "^20.11.24",
|
|
54
|
+
"@types/proxyquire": "^1.3.31",
|
|
55
|
+
"@types/sinon": "^10.0.16",
|
|
56
|
+
"@types/sinon-chai": "^3.2.12",
|
|
57
|
+
"axios": "^0.27.2",
|
|
58
|
+
"chai": "^4.4.1",
|
|
56
59
|
"chai-as-promised": "^7.1.1",
|
|
57
|
-
"eslint": "^8.
|
|
60
|
+
"eslint": "^8.57.0",
|
|
58
61
|
"gulp": "^4.0.2",
|
|
59
|
-
"mocha": "^
|
|
62
|
+
"mocha": "^10.3.0",
|
|
60
63
|
"proxyquire": "^2.1.3",
|
|
61
64
|
"sinon-chai": "^3.7.0",
|
|
62
|
-
"sinon": "^
|
|
65
|
+
"sinon": "^15.2.0"
|
|
63
66
|
},
|
|
64
67
|
"repository": {
|
|
65
68
|
"type": "git",
|