iobroker.denon 1.13.2 → 1.13.3

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 CHANGED
@@ -908,6 +908,9 @@ The adapter is tested with an DENON AVR-X1200W and a Marantz SR5009.
908
908
  Placeholder for the next version (at the beginning of the line):
909
909
  ### __WORK IN PROGRESS__
910
910
  -->
911
+ ### 1.13.3 (2022-03-25)
912
+ * (foxriver76) fixed timeout beeing only applied on first reconnect (fixes #232)
913
+
911
914
  ### 1.13.2 (2022-03-23)
912
915
  * (foxriver76) fixed requesting interval
913
916
 
package/io-package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "denon",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "news": {
6
+ "1.13.3": {
7
+ "en": "fixed timeout beeing only applied on first reconnect (fixes #232)",
8
+ "de": "Behobenes Timeout, das nur beim ersten Reconnect angewendet wird (Fixes Nr. 232)",
9
+ "ru": "фиксированный тайм-аут применяется только при первом повторном подключении (исправления № 232)",
10
+ "pt": "tempo limite fixo sendo aplicado apenas na primeira reconexão (correções #232)",
11
+ "nl": "vaste time-out wordt alleen toegepast bij de eerste keer opnieuw verbinden (fixt #232)",
12
+ "fr": "le délai d'attente fixe n'est appliqué qu'à la première reconnexion (corrections #232)",
13
+ "it": "timeout fisso applicato solo alla prima riconnessione (correzioni n. 232)",
14
+ "es": "el tiempo de espera fijo solo se aplica en la primera reconexión (correcciones # 232)",
15
+ "pl": "naprawiony limit czasu stosowany tylko przy pierwszym ponownym połączeniu (poprawki #232)",
16
+ "zh-cn": "固定超时蜂鸣仅适用于第一次重新连接(修复#232)"
17
+ },
6
18
  "1.13.2": {
7
19
  "en": "fixed requesting interval",
8
20
  "de": "festes Abfrageintervall",
@@ -74,18 +86,6 @@
74
86
  "es": "arreglamos la conversión faltante a db en el estado de agudos del ecualizador para zonas adicionales (arreglos # 162)",
75
87
  "pl": "naprawiliśmy brakującą konwersję do db na stanie sopranów korektora dla dodatkowych stref (poprawki #162)",
76
88
  "zh-cn": "我们修复了额外区域的均衡器高音状态上缺少的 db 转换(修复 #162)"
77
- },
78
- "1.11.1": {
79
- "en": "fixes for silent reconnection - if ETIMEDOUT occurs repeately switch to debug, like for other errors (closes #149)",
80
- "de": "Korrekturen für stille Wiederverbindung - wenn ETIMEDOUT wiederholt auftritt, wechseln Sie zum Debug, wie bei anderen Fehlern (schließt #149)",
81
- "ru": "исправления для тихого переподключения - если ETIMEDOUT происходит повторно, переключитесь на отладку, как и для других ошибок (закрывает # 149)",
82
- "pt": "correções para reconexão silenciosa - se ETIMEDOUT ocorrer repetidamente, alterne para depuração, como para outros erros (fecha # 149)",
83
- "nl": "oplossingen voor stille herverbinding - als ETIMEDOUT herhaaldelijk optreedt, schakelt u over naar debuggen, zoals voor andere fouten (sluit #149)",
84
- "fr": "correctifs pour la reconnexion silencieuse - si ETIMEDOUT se produit à plusieurs reprises, passez au débogage, comme pour d'autres erreurs (ferme #149)",
85
- "it": "correzioni per la riconnessione silenziosa - se ETIMEDOUT si verifica ripetutamente passare al debug, come per altri errori (chiude il #149)",
86
- "es": "Correcciones para la reconexión silenciosa: si ETIMEDOUT ocurre repetidamente, cambie a depuración, como para otros errores (cierra # 149)",
87
- "pl": "poprawki dla cichego ponownego połączenia - jeśli wystąpi ETIMEDOUT, ponownie przełącz się na debugowanie, tak jak w przypadku innych błędów (zamyka #149)",
88
- "zh-cn": "修复静默重新连接 - 如果重复发生 ETIMEDOUT 切换到调试,就像其他错误一样(关闭#149)"
89
89
  }
90
90
  },
91
91
  "title": "DENON AVR",
package/main.js CHANGED
@@ -744,8 +744,6 @@ client.on('data', data => {
744
744
  */
745
745
  function connect() {
746
746
  client.setEncoding('utf8');
747
- // given the connection a timeout after being idle for 35 seconds
748
- client.setTimeout(35000);
749
747
  if (verboseConnection) {
750
748
  adapter.log.info(`[CONNECT] Trying to connect to ${host}:23`);
751
749
  } else {
@@ -753,6 +751,9 @@ function connect() {
753
751
  }
754
752
  connectingVar = null;
755
753
  client.connect({ port: 23, host: host });
754
+
755
+ // give the connection a timeout after being idle for 35 seconds (needed after connect call)
756
+ client.setTimeout(35000);
756
757
  } // endConnect
757
758
 
758
759
  const updateCommands = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.denon",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },