iobroker.openknx 1.1.10 → 1.1.11

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
@@ -52,6 +52,9 @@ ioBroker adapter for KNX IP communication, powered by [KNXUltimate](https://gith
52
52
  Placeholder for the next version (at the beginning of the line):
53
53
  ### **WORK IN PROGRESS**
54
54
  -->
55
+ ### 1.1.11 (2026-05-08)
56
+ - fix for UDP interface connection
57
+
55
58
  ### 1.1.10 (2026-05-05)
56
59
  - add new DPTs and units
57
60
 
@@ -65,19 +68,6 @@ ioBroker adapter for KNX IP communication, powered by [KNXUltimate](https://gith
65
68
  ### 1.1.7 (2026-04-29)
66
69
  - improve Umlaute handling for DPT-16
67
70
 
68
- ### 1.1.6 (2026-04-12)
69
-
70
- - (TA2k) **breaking:** KNX communication switched to KNXUltimate
71
- - (TA2k) **breaking:** DPT21 property names changed (outofservice → outOfService, inalarm → inAlarm, alarmeunack → alarmUnAck), values must be boolean
72
- - (TA2k) **breaking:** DPT237 property names changed to camelCase
73
- - (TA2k) feature: Native .knxproj import (ETS4/5/6, password-protected) with flags, DPT inference, room assignment
74
- - (TA2k) feature: KNX Secure support
75
- - (TA2k) feature: Extended DPT coverage and compatibility (9 additional DPTs, including DPT-22, 213, 222, 235, 242, 249, 251)
76
- - (TA2k) feature: Improved connection stability
77
- - (TA2k) feature: Improved role detection (switch, level, value, text, date) based on DPT type
78
- - (TA2k) feature: Direct Link all iobroker states to a KNX state with a conversion mode
79
- - (TA2k) feature: GA-Tools: all GA properties editable (DPT, type, role, flags) with compact layout
80
-
81
71
  ### initial version
82
72
 
83
73
  - initial version from https://www.npmjs.com/package/iobroker.knx/v/0.8.3
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "openknx",
4
- "version": "1.1.10",
4
+ "version": "1.1.11",
5
5
  "news": {
6
+ "1.1.11": {
7
+ "en": "fix for UDP interface connection",
8
+ "de": "Fix für UDP-Interface Verbindung",
9
+ "ru": "установить соединение интерфейса UDP",
10
+ "pt": "corrigir para conexão de interface UDP",
11
+ "nl": "fix voor UDP interface verbinding",
12
+ "fr": "correction pour la connexion à l'interface UDP",
13
+ "it": "correzione per connessione interfaccia UDP",
14
+ "es": "fijado para conexión de interfaz UDP",
15
+ "pl": "fix dla połączenia interfejsu UDP",
16
+ "uk": "виправлення для підключення інтерфейсу UDP",
17
+ "zh-cn": "uDP 接口连接的固定"
18
+ },
6
19
  "1.1.10": {
7
20
  "en": "add new DPTs and units",
8
21
  "de": "neue DPTs und Einheiten hinzugefügt",
@@ -80,19 +93,6 @@
80
93
  "pl": "bugfix: Ustawienie zwiększonego opóźnienia w komendach knx po kilku dniach\nAdapter wymaga admin > = 7.7.22\nAdapter wymaga sterownika js- > = 6.0.11\nAdapter wymaga admin > = 7.6.17\n\nAdapter wymaga node.js > = 20 i kontroler js- > = 6 teraz",
81
94
  "uk": "виправлення помилок: Виправлення підвищеної затримки в командах knx після декількох днів\nАдаптер вимагає адмін >= 7.7.22 тепер\nАдаптер вимагає js-controller >=6.0.11 тепер\nАдаптер вимагає адмін >= 7.6.17 тепер\n\nАдаптер вимагає node.js >= 20 і js-controller >= 6 тепер",
82
95
  "zh-cn": "错误修正 : 几天后修复 knx 命令中增加的延迟\n适任者需要管理员 \\ 7.7.22 现在\n适配器需要js控制器 现在6.0.11\n适任者需要行政主管 现在7.6.17\n\n适配器需要节点.js QQ 20和js控制器 QQ 现在6个"
83
- },
84
- "0.9.0": {
85
- "en": "Adapter requires node.js >= 18 and js-controller >= 5 now\nDependencies have been updated",
86
- "de": "Adapter benötigt node.js >= 18 und js-controller >= 5 jetzt\nAbhängigkeiten wurden aktualisiert",
87
- "ru": "Адаптер требует node.js >= 18 и js-контроллер >= 5 сейчас\nЗависимость обновлена",
88
- "pt": "Adapter requer node.js >= 18 e js-controller >= 5 agora\nAs dependências foram atualizadas",
89
- "nl": "Voor adaptor zijn node.js < 18 en js-controller > Nu 5\nAfhankelijkheden zijn bijgewerkt",
90
- "fr": "L'adaptateur nécessite node.js >= 18 et js-controller >= 5 maintenant\nLes dépendances ont été actualisées",
91
- "it": "Adattatore richiede node.js >= 18 e js-controller >= 5 ora\nLe dipendenze sono state aggiornate",
92
- "es": "Adaptador requiere node.js ó= 18 y js-controller 5 ahora\nSe han actualizado las dependencias",
93
- "pl": "Adapter wymaga node.js > = 18 i kontroler js- > = 5 teraz\nZaktualizowano zależności",
94
- "uk": "Адаптер вимагає node.js >= 18 і js-controller >= 5 тепер\nЗалежність було оновлено",
95
- "zh-cn": "适配器需要节点.js QQ18和js控制器 QQ 现在5号\n依赖关系已更新"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/main.js CHANGED
@@ -966,13 +966,27 @@ class openknx extends utils.Adapter {
966
966
  }
967
967
  }
968
968
 
969
- // Build KNXUltimate client options
969
+ // KNXUltimate "interface" option expects an OS name (e.g. "eth0"), config stores an IP
970
+ let ifaceName = "";
971
+ if (this.config.localInterface) {
972
+ const interfaces = require("os").networkInterfaces();
973
+ for (const [name, addrs] of Object.entries(interfaces)) {
974
+ if (addrs && addrs.some((a) => a.address === this.config.localInterface)) {
975
+ ifaceName = name;
976
+ break;
977
+ }
978
+ }
979
+ if (!ifaceName) {
980
+ this.log.warn(`Configured local interface IP ${this.config.localInterface} not found on this system. Using auto-detection.`);
981
+ }
982
+ }
983
+
970
984
  const knxOptions = {
971
985
  hostProtocol,
972
986
  ipAddr,
973
987
  ipPort: this.config.gwipport,
974
988
  physAddr: this.config.eibadr || "0.0.0",
975
- localIPAddress: this.config.localInterface,
989
+ interface: ifaceName,
976
990
  KNXQueueSendIntervalMilliseconds: this.config.sendInterval || 25,
977
991
  // https://github.com/Supergiovane/node-red-contrib-knx-ultimate/issues/78
978
992
  suppress_ack_ldatareq: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.openknx",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "ioBroker knx Adapter",
5
5
  "author": "boellner",
6
6
  "contributors": [