iobroker.schlueter-thermostat 0.2.1 → 0.2.2

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
@@ -222,6 +222,11 @@ Enable **debug log level** to see cloud communication.
222
222
  Placeholder for the next version (at the beginning of the line):
223
223
  ### **WORK IN PROGRESS**
224
224
  -->
225
+ ### 0.2.2 (2026-01-28)
226
+
227
+ - (patricknitsch) Update setStates for ComfortMode
228
+ - (patricknitsch) More Debugging
229
+
225
230
  ### 0.2.1 (2026-01-28)
226
231
 
227
232
  - (patricknitsch) Fix JsonConfig
@@ -24,8 +24,7 @@
24
24
  "sm": 12,
25
25
  "md": 6,
26
26
  "lg": 4,
27
- "xl": 4,
28
- "newLine": true
27
+ "xl": 4
29
28
  },
30
29
  "username": {
31
30
  "type": "text",
@@ -34,16 +33,17 @@
34
33
  "md": 6,
35
34
  "lg": 4,
36
35
  "xl": 4,
37
- "sm": 6
36
+ "sm": 4,
37
+ "newLine": true
38
38
  },
39
39
  "password": {
40
40
  "type": "password",
41
41
  "label": "Password",
42
42
  "xs": 12,
43
- "md": 6,
43
+ "md": 4,
44
44
  "lg": 4,
45
45
  "xl": 4,
46
- "sm": 6
46
+ "sm": 4
47
47
  },
48
48
  "apiKey": {
49
49
  "type": "text",
@@ -60,7 +60,7 @@
60
60
  "label": "Customer ID",
61
61
  "default": 1,
62
62
  "xs": 12,
63
- "md": 6,
63
+ "md": 4,
64
64
  "lg": 4,
65
65
  "xl": 4,
66
66
  "sm": 4
@@ -70,7 +70,7 @@
70
70
  "label": "Poll interval (seconds)",
71
71
  "default": 60,
72
72
  "xs": 12,
73
- "md": 6,
73
+ "md": 4,
74
74
  "lg": 4,
75
75
  "xl": 4,
76
76
  "sm": 4,
@@ -81,7 +81,7 @@
81
81
  "label": "Energy History (0=current)",
82
82
  "default": 0,
83
83
  "xs": 12,
84
- "md": 6,
84
+ "md": 4,
85
85
  "lg": 4,
86
86
  "xl": 4,
87
87
  "sm": 4
@@ -91,7 +91,7 @@
91
91
  "label": "Energy ViewType (2=week,3=month,4=year)",
92
92
  "default": 2,
93
93
  "xs": 12,
94
- "md": 6,
94
+ "md": 4,
95
95
  "lg": 4,
96
96
  "xl": 4,
97
97
  "sm": 4
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "schlueter-thermostat",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "news": {
6
+ "0.2.2": {
7
+ "en": "Update setStates for ComfortMode\nMore Debugging",
8
+ "de": "Update setStates für ComfortMode\nMehr Debugging",
9
+ "ru": "Обновление setStates для ComfortMode\nБольше отладки",
10
+ "pt": "Atualizar os estados para o ComfortMode\nMais depuração",
11
+ "nl": "Update setStates voor ComfortMode\nMeer debuggen",
12
+ "fr": "Mettre à jour setStates for ComfortMode\nPlus de débogage",
13
+ "it": "Set di aggiornamentiStati per ComfortMode\nPiù Debug",
14
+ "es": "Estados de actualización para ComfortMode\nMás Debugging",
15
+ "pl": "Aktualizacja stanów dla ComfortMode\nWięcej debugowania",
16
+ "uk": "Оновлення адаптерів для ComfortMode\nБільше пробудження",
17
+ "zh-cn": "更新舒适模式设置状态\n更多调试"
18
+ },
6
19
  "0.2.1": {
7
20
  "en": "Fix JsonConfig",
8
21
  "de": "JsonConfig",
package/main.js CHANGED
@@ -870,20 +870,24 @@ class SchlueterThermostat extends utils.Adapter {
870
870
  this.safeSetState(id, { val: tempC, ack: true });
871
871
  } else if (sub === 'setpoint.comfortSet') {
872
872
  const tempC = Number(state.val);
873
- const comfortToSend = this._nowPlusMinutesIso(120);
874
- this.log.debug(`Write: UpdateThermostat serial=${serial} (ComfortSetpoint=${tempC}C)`);
873
+ const comfortToSend = this._nowPlusMinutesIso(180);
874
+ this.log.debug(
875
+ `Write: UpdateThermostat serial=${serial} (ComfortSetpoint=${tempC}C) (ComfortEndTime=${comfortToSend})`,
876
+ );
875
877
  await client.updateThermostat(serial, {
876
878
  ...baseUpdate,
877
879
  RegulationMode: 2,
878
880
  ComfortSetpoint: cToNum(tempC),
879
881
  ComfortEndTime: comfortToSend,
880
882
  });
883
+ this.safeSetState(`${devPrefix}.endTime.comfort`, comfortToSend, true);
884
+ this.safeSetState(`${devPrefix}.endTime.comfortSet`, comfortToSend, true);
881
885
  this.safeSetState(id, { val: tempC, ack: true });
882
886
  } else if (sub === 'regulationModeSet') {
883
887
  const mode = Number(state.val);
884
888
 
885
889
  if (mode === 8) {
886
- const boostToSend = this._nowPlusMinutesIso(120);
890
+ const boostToSend = this._nowPlusMinutesIso(180);
887
891
  this.log.debug(`Write: Boost mode=8 serial=${serial} BoostEndTime=${boostToSend}`);
888
892
  await client.updateThermostat(serial, {
889
893
  ...baseUpdate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.schlueter-thermostat",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Floor heating controlled with Ditra Heat Thermostat",
5
5
  "author": {
6
6
  "name": "patricknitsch",