iobroker.heos 2.2.4 → 3.0.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 withstu <withstu@gmx.de>
3
+ Copyright (c) 2025 withstu <withstu@gmx.de>
4
4
 
5
5
  derived from https://forum.iobroker.net/topic/10420/vorlage-denon-heos-script by Uwe Uhula
6
6
 
package/README.md CHANGED
@@ -144,6 +144,10 @@ Alternative you can use the script from Uhula: https://forum.iobroker.net/post/4
144
144
  Placeholder for the next version (at the beginning of the line):
145
145
  ### **WORK IN PROGRESS**
146
146
  -->
147
+ ### 3.0.0 (2025-10-28)
148
+ * (withstu) improve group state updates
149
+ * (withstu) upgrade several packages
150
+
147
151
  ### 2.2.4 (2024-10-31)
148
152
  * (withstu) improve tidal connect workaround
149
153
 
@@ -354,7 +358,7 @@ Alternative you can use the script from Uhula: https://forum.iobroker.net/post/4
354
358
  ## License
355
359
  MIT License
356
360
 
357
- Copyright (c) 2024 withstu <withstu@gmx.de>
361
+ Copyright (c) 2025 withstu <withstu@gmx.de>
358
362
 
359
363
  derived from https://forum.iobroker.net/topic/10420/vorlage-denon-heos-script by Uwe Uhula
360
364
  TTS derived from https://github.com/ioBroker/ioBroker.sonos
@@ -21,7 +21,8 @@
21
21
  "xs": 12,
22
22
  "sm": 12,
23
23
  "md": 6,
24
- "lg": 6
24
+ "lg": 6,
25
+ "xl": 6
25
26
  },
26
27
  "password": {
27
28
  "type": "password",
@@ -31,7 +32,8 @@
31
32
  "xs": 12,
32
33
  "sm": 12,
33
34
  "md": 6,
34
- "lg": 6
35
+ "lg": 6,
36
+ "xl": 6
35
37
  }
36
38
  }
37
39
  },
@@ -52,6 +54,7 @@
52
54
  "sm": 12,
53
55
  "md": 6,
54
56
  "lg": 6,
57
+ "xl": 6,
55
58
  "options": [
56
59
  {"value": "1", "label": "play_now"},
57
60
  {"value": "2", "label": "play_next"},
@@ -67,6 +70,7 @@
67
70
  "sm": 12,
68
71
  "md": 6,
69
72
  "lg": 6,
73
+ "xl": 6,
70
74
  "options": [
71
75
  {"value": "all", "label": "all_player"},
72
76
  {"value": "leader", "label": "all_leading_and_nongroup_player"},
@@ -83,7 +87,8 @@
83
87
  "xs": 12,
84
88
  "sm": 12,
85
89
  "md": 6,
86
- "lg": 6
90
+ "lg": 6,
91
+ "xl": 6
87
92
  },
88
93
  "_header_comfort": {
89
94
  "type": "header",
@@ -97,7 +102,8 @@
97
102
  "xs": 12,
98
103
  "sm": 12,
99
104
  "md": 6,
100
- "lg": 6
105
+ "lg": 6,
106
+ "xl": 6
101
107
  },
102
108
  "autoPlayCmd": {
103
109
  "type": "text",
@@ -106,7 +112,8 @@
106
112
  "xs": 12,
107
113
  "sm": 12,
108
114
  "md": 6,
109
- "lg": 6
115
+ "lg": 6,
116
+ "xl": 6
110
117
  },
111
118
  "muteOnRegex": {
112
119
  "type": "checkbox",
@@ -115,7 +122,8 @@
115
122
  "xs": 12,
116
123
  "sm": 12,
117
124
  "md": 6,
118
- "lg": 6
125
+ "lg": 6,
126
+ "xl": 6
119
127
  },
120
128
  "muteRegex": {
121
129
  "type": "text",
@@ -124,7 +132,8 @@
124
132
  "xs": 12,
125
133
  "sm": 12,
126
134
  "md": 6,
127
- "lg": 6
135
+ "lg": 6,
136
+ "xl": 6
128
137
  },
129
138
  "rebootOnFailure": {
130
139
  "type": "checkbox",
@@ -133,7 +142,8 @@
133
142
  "xs": 12,
134
143
  "sm": 12,
135
144
  "md": 6,
136
- "lg": 6
145
+ "lg": 6,
146
+ "xl": 6
137
147
  }
138
148
  }
139
149
  },
@@ -154,7 +164,8 @@
154
164
  "xs": 12,
155
165
  "sm": 12,
156
166
  "md": 6,
157
- "lg": 6
167
+ "lg": 6,
168
+ "xl": 6
158
169
  },
159
170
  "heartbeatRetries": {
160
171
  "type": "number",
@@ -164,7 +175,8 @@
164
175
  "xs": 12,
165
176
  "sm": 12,
166
177
  "md": 6,
167
- "lg": 6
178
+ "lg": 6,
179
+ "xl": 6
168
180
  },
169
181
  "_header_search": {
170
182
  "type": "header",
@@ -179,7 +191,8 @@
179
191
  "xs": 12,
180
192
  "sm": 12,
181
193
  "md": 6,
182
- "lg": 6
194
+ "lg": 6,
195
+ "xl": 6
183
196
  },
184
197
  "searchInterval": {
185
198
  "type": "number",
@@ -189,7 +202,8 @@
189
202
  "xs": 12,
190
203
  "sm": 12,
191
204
  "md": 6,
192
- "lg": 6
205
+ "lg": 6,
206
+ "xl": 6
193
207
  },
194
208
  "_header_reconnect": {
195
209
  "type": "header",
@@ -204,7 +218,8 @@
204
218
  "xs": 12,
205
219
  "sm": 12,
206
220
  "md": 6,
207
- "lg": 6
221
+ "lg": 6,
222
+ "xl": 6
208
223
  },
209
224
  "_header_request": {
210
225
  "type": "header",
@@ -219,7 +234,8 @@
219
234
  "xs": 12,
220
235
  "sm": 12,
221
236
  "md": 6,
222
- "lg": 6
237
+ "lg": 6,
238
+ "xl": 6
223
239
  },
224
240
  "_header_network": {
225
241
  "type": "header",
@@ -234,7 +250,8 @@
234
250
  "xs": 12,
235
251
  "sm": 12,
236
252
  "md": 6,
237
- "lg": 6
253
+ "lg": 6,
254
+ "xl": 6
238
255
  },
239
256
  "preferredIPs": {
240
257
  "type": "text",
@@ -243,7 +260,8 @@
243
260
  "xs": 12,
244
261
  "sm": 12,
245
262
  "md": 6,
246
- "lg": 6
263
+ "lg": 6,
264
+ "xl": 6
247
265
  }
248
266
  }
249
267
  }
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "heos",
4
- "version": "2.2.4",
4
+ "version": "3.0.0",
5
5
  "news": {
6
+ "3.0.0": {
7
+ "en": "improve group state updates\nupgrade several packages",
8
+ "de": "verbesserung der gruppenstatus-updates\nmehrere pakete aktualisieren",
9
+ "ru": "улучшение групповых обновлений состояния\nобновление нескольких пакетов",
10
+ "pt": "melhorar as atualizações do estado do grupo\natualizar vários pacotes",
11
+ "nl": "groepstoestand updates verbeteren\nmeerdere pakketten upgraden",
12
+ "fr": "améliorer les mises à jour de l'état du groupe\nmise à jour de plusieurs paquets",
13
+ "it": "migliorare gli aggiornamenti di stato del gruppo\naggiornare diversi pacchetti",
14
+ "es": "mejorar las actualizaciones del estado de grupo\nactualizar varios paquetes",
15
+ "pl": "poprawić aktualizacje stanu grupy\nupgrade kilka pakietów",
16
+ "uk": "поліпшення оновлення групового стану\nоновлення декількох пакетів",
17
+ "zh-cn": "改进组状态更新\n升级多个软件包"
18
+ },
6
19
  "2.2.4": {
7
20
  "en": "improve tidal connect workaround",
8
21
  "de": "verbesserung der tidal-verbindung workaround",
@@ -80,19 +93,6 @@
80
93
  "pl": "zastępować\npoprawić\nlinkować",
81
94
  "uk": "заміну отримав з аксіосом\nполіпшити процес обробки\nзапобігання дублікатів повідомлень з'єднання",
82
95
  "zh-cn": "改为\n改进处理\n防止信息重复"
83
- },
84
- "2.0.0": {
85
- "en": "fix pipelines and remove node 14.x support",
86
- "de": "pipelines fixieren und knoten 14.x-unterstützung entfernen",
87
- "ru": "исправить трубопроводы и удалить node 14.x поддержка",
88
- "pt": "corrigir pipelines e remover o nó 14.x suporte",
89
- "nl": "verwijder node 14.x ondersteuning",
90
- "fr": "fixer les pipelines et retirer le support node 14.x",
91
- "it": "fissare le tubazioni e rimuovere il supporto nodo 14.x",
92
- "es": "arreglar los oleoductos y eliminar el nodo 14.x soporte",
93
- "pl": "ustawienie rurociągów i usunięcie węzła 14x",
94
- "uk": "кріплення трубопроводів і видалення вузла 14.x",
95
- "zh-cn": "f 配件和取消14x的支助"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -149,12 +149,12 @@
149
149
  },
150
150
  "dependencies": [
151
151
  {
152
- "js-controller": ">=5.0.19"
152
+ "js-controller": ">=6.0.11"
153
153
  }
154
154
  ],
155
155
  "globalDependencies": [
156
156
  {
157
- "admin": ">=5.1.13"
157
+ "admin": ">=7.6.17"
158
158
  }
159
159
  ]
160
160
  },
package/lib/constants.js CHANGED
@@ -1,20 +1,20 @@
1
1
  const STATES = {
2
- Disconnecting: 0,
3
- Disconnected: 1,
4
- Searching: 2,
5
- Reconnecting: 3,
6
- Connecting: 4,
7
- Connected: 5
2
+ Disconnecting: 0,
3
+ Disconnected: 1,
4
+ Searching: 2,
5
+ Reconnecting: 3,
6
+ Connecting: 4,
7
+ Connected: 5,
8
8
  };
9
9
 
10
10
  const ERROR_CODES = {
11
- General: 0,
12
- PlaybackError: 1,
13
- Timeout: 2,
14
- Upnp: 3
11
+ General: 0,
12
+ PlaybackError: 1,
13
+ Timeout: 2,
14
+ Upnp: 3,
15
15
  };
16
16
 
17
17
  module.exports = {
18
- STATES,
19
- ERROR_CODES
20
- };
18
+ STATES,
19
+ ERROR_CODES,
20
+ };