iobroker.luxtronik2-controller 0.20.1 → 0.20.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/README.md +25 -21
- package/admin/jsonConfig.json +66 -10
- package/build/notificationManager.js +1 -1
- package/build/notificationManager.js.map +2 -2
- package/io-package.json +72 -40
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -89,43 +89,47 @@ You might see red error messages in the installation log related to `node-gyp`,
|
|
|
89
89
|
|
|
90
90
|
[Info English](documentation/readme_en.md)
|
|
91
91
|
//### **WORK IN PROGRESS**
|
|
92
|
+
### 0.20.4 (2026-10-24)
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
### 0.20.1 (2026-10-22)
|
|
94
|
+
**🔧 Maintenance & Compatibility**
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
- **Configuration UI:** Clarified the English and German labels for heating parameters (such as base point and parallel offset) in the adapter settings to prevent mapping confusion.
|
|
98
|
+
### 0.20.3 (2026-10-24)
|
|
100
99
|
|
|
101
|
-
|
|
100
|
+
**🔧 Maintenance & Compatibility**
|
|
102
101
|
|
|
103
|
-
|
|
102
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
- **Update Notifications:** Added a new configuration tab to set a custom cron schedule and enable optional Telegram notifications when a new firmware version is released.
|
|
107
|
-
- **New Update Datapoints:** Added `firmware_available`, `firmware_update_available`, and `firmware_changelog` to the system info tree to directly expose update states and release notes in ioBroker.
|
|
108
|
-
- **Manual Trigger Button:** Added a `check_firmware` button to manually initiate the update check process at any time.
|
|
104
|
+
### 0.20.2 (2026-10-24)
|
|
109
105
|
|
|
110
|
-
|
|
106
|
+
**🔧 Maintenance & Compatibility**
|
|
111
107
|
|
|
112
|
-
|
|
108
|
+
- **Repository Checker Fixes:** Addressed multiple warnings from the ioBroker repository checker.
|
|
109
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
110
|
+
- **UI Layout:** Added missing responsive size attributes (`xs`, `sm`, `md`, `lg`, `xl`) to elements in the new updates configuration tab.
|
|
111
|
+
- **Translations:** Added missing i18n translations for all supported languages in the configuration dropdown menus (COP sources and ZIP control mode).
|
|
112
|
+
- **Metadata:** Removed non-existent version entries from the `news` section in `io-package.json`.
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
**✨ Features & Enhancements**
|
|
115
115
|
|
|
116
|
-
- **
|
|
116
|
+
- **Notification Center:** Introduced a dedicated notification category (`lwpSystem`) for firmware updates and system info to cleanly separate them from critical heat pump errors in the ioBroker UI.
|
|
117
117
|
|
|
118
|
-
### 0.
|
|
118
|
+
### 0.20.1 (2026-10-22)
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
**🐛 Bugfixes & Tweaks**
|
|
121
121
|
|
|
122
|
-
- **
|
|
122
|
+
- **Modbus Factor Correction:** Explicitly set the scaling factor for the heating target temperature offset (Luxtronik ID 1 / Holding 23) to `10` to correctly handle and display Modbus TCP values in tenths of a degree (e.g., 5.0 °C instead of 50).
|
|
123
|
+
- **Configuration UI:** Clarified the English and German labels for heating parameters (such as base point and parallel offset) in the adapter settings to prevent mapping confusion.
|
|
123
124
|
|
|
124
|
-
### 0.
|
|
125
|
+
### 0.20.0 (2026-10-22)
|
|
125
126
|
|
|
126
|
-
|
|
127
|
+
**🚀 Features & Enhancements**
|
|
127
128
|
|
|
128
|
-
- **
|
|
129
|
+
- **Automatic Firmware Update Check:** Added a background service to automatically check the official AIT download portal for new heat pump firmware updates.
|
|
130
|
+
- **Update Notifications:** Added a new configuration tab to set a custom cron schedule and enable optional Telegram notifications when a new firmware version is released.
|
|
131
|
+
- **New Update Datapoints:** Added `firmware_available`, `firmware_update_available`, and `firmware_changelog` to the system info tree to directly expose update states and release notes in ioBroker.
|
|
132
|
+
- **Manual Trigger Button:** Added a `check_firmware` button to manually initiate the update check process at any time.
|
|
129
133
|
|
|
130
134
|
## License
|
|
131
135
|
|
package/admin/jsonConfig.json
CHANGED
|
@@ -1316,21 +1316,48 @@
|
|
|
1316
1316
|
{
|
|
1317
1317
|
"label": {
|
|
1318
1318
|
"en": "Via Luxtronik controller (Internal)",
|
|
1319
|
-
"de": "Über Luxtronik Regler (Intern)"
|
|
1319
|
+
"de": "Über Luxtronik Regler (Intern)",
|
|
1320
|
+
"ru": "Через контроллер Luxtronik (Внутренний)",
|
|
1321
|
+
"pt": "Via controlador Luxtronik (Interno)",
|
|
1322
|
+
"nl": "Via Luxtronik regelaar (Intern)",
|
|
1323
|
+
"fr": "Via le contrôleur Luxtronik (Interne)",
|
|
1324
|
+
"it": "Tramite controller Luxtronik (Interno)",
|
|
1325
|
+
"es": "A través del controlador Luxtronik (Interno)",
|
|
1326
|
+
"pl": "Przez sterownik Luxtronik (Wewnętrzny)",
|
|
1327
|
+
"uk": "Через контролер Luxtronik (Внутрішній)",
|
|
1328
|
+
"zh-cn": "通过 Luxtronik 控制器 (内部)"
|
|
1320
1329
|
},
|
|
1321
1330
|
"value": "controller"
|
|
1322
1331
|
},
|
|
1323
1332
|
{
|
|
1324
1333
|
"label": {
|
|
1325
1334
|
"en": "Via external actor (e.g. Shelly)",
|
|
1326
|
-
"de": "Über externen Aktor (z.B. Shelly)"
|
|
1335
|
+
"de": "Über externen Aktor (z.B. Shelly)",
|
|
1336
|
+
"ru": "Через внешний актуатор (например, Shelly)",
|
|
1337
|
+
"pt": "Via ator externo (ex. Shelly)",
|
|
1338
|
+
"nl": "Via externe actor (bijv. Shelly)",
|
|
1339
|
+
"fr": "Via un acteur externe (ex. Shelly)",
|
|
1340
|
+
"it": "Tramite attuatore esterno (es. Shelly)",
|
|
1341
|
+
"es": "A través de actor externo (ej. Shelly)",
|
|
1342
|
+
"pl": "Przez zewnętrzny aktor (np. Shelly)",
|
|
1343
|
+
"uk": "Через зовнішній актуатор (наприклад, Shelly)",
|
|
1344
|
+
"zh-cn": "通过外部执行器 (例如 Shelly)"
|
|
1327
1345
|
},
|
|
1328
1346
|
"value": "actor"
|
|
1329
1347
|
},
|
|
1330
1348
|
{
|
|
1331
1349
|
"label": {
|
|
1332
1350
|
"en": "Via Modbus TCP (Hybrid)",
|
|
1333
|
-
"de": "Über Modbus TCP (Hybrid)"
|
|
1351
|
+
"de": "Über Modbus TCP (Hybrid)",
|
|
1352
|
+
"ru": "Через Modbus TCP (Гибрид)",
|
|
1353
|
+
"pt": "Via Modbus TCP (Híbrido)",
|
|
1354
|
+
"nl": "Via Modbus TCP (Hybride)",
|
|
1355
|
+
"fr": "Via Modbus TCP (Hybride)",
|
|
1356
|
+
"it": "Tramite Modbus TCP (Ibrido)",
|
|
1357
|
+
"es": "A través de Modbus TCP (Híbrido)",
|
|
1358
|
+
"pl": "Przez Modbus TCP (Hybryda)",
|
|
1359
|
+
"uk": "Через Modbus TCP (Гібрид)",
|
|
1360
|
+
"zh-cn": "通过 Modbus TCP (混合)"
|
|
1334
1361
|
},
|
|
1335
1362
|
"value": "modbus"
|
|
1336
1363
|
}
|
|
@@ -10983,7 +11010,12 @@
|
|
|
10983
11010
|
"de": "Automatisch nach Firmware-Updates suchen"
|
|
10984
11011
|
},
|
|
10985
11012
|
"newLine": true,
|
|
10986
|
-
"default": false
|
|
11013
|
+
"default": false,
|
|
11014
|
+
"xs": 12,
|
|
11015
|
+
"sm": 12,
|
|
11016
|
+
"md": 12,
|
|
11017
|
+
"lg": 12,
|
|
11018
|
+
"xl": 12
|
|
10987
11019
|
},
|
|
10988
11020
|
"update_check_cron": {
|
|
10989
11021
|
"type": "cron",
|
|
@@ -10992,7 +11024,12 @@
|
|
|
10992
11024
|
"de": "Zeitplan für automatische Prüfung"
|
|
10993
11025
|
},
|
|
10994
11026
|
"default": "0 12 * * *",
|
|
10995
|
-
"hidden": "!data.update_check_active"
|
|
11027
|
+
"hidden": "!data.update_check_active",
|
|
11028
|
+
"xs": 12,
|
|
11029
|
+
"sm": 12,
|
|
11030
|
+
"md": 6,
|
|
11031
|
+
"lg": 6,
|
|
11032
|
+
"xl": 6
|
|
10996
11033
|
},
|
|
10997
11034
|
"update_check_timeout": {
|
|
10998
11035
|
"type": "number",
|
|
@@ -11002,8 +11039,12 @@
|
|
|
11002
11039
|
},
|
|
11003
11040
|
"default": 120,
|
|
11004
11041
|
"min": 10,
|
|
11005
|
-
"
|
|
11006
|
-
"
|
|
11042
|
+
"hidden": "!data.update_check_active",
|
|
11043
|
+
"xs": 12,
|
|
11044
|
+
"sm": 12,
|
|
11045
|
+
"md": 6,
|
|
11046
|
+
"lg": 6,
|
|
11047
|
+
"xl": 6
|
|
11007
11048
|
},
|
|
11008
11049
|
"update_timeout_info": {
|
|
11009
11050
|
"type": "staticText",
|
|
@@ -11016,7 +11057,12 @@
|
|
|
11016
11057
|
"marginBottom": "15px",
|
|
11017
11058
|
"fontSize": "12px"
|
|
11018
11059
|
},
|
|
11019
|
-
"hidden": "!data.update_check_active"
|
|
11060
|
+
"hidden": "!data.update_check_active",
|
|
11061
|
+
"xs": 12,
|
|
11062
|
+
"sm": 12,
|
|
11063
|
+
"md": 12,
|
|
11064
|
+
"lg": 12,
|
|
11065
|
+
"xl": 12
|
|
11020
11066
|
},
|
|
11021
11067
|
"divider_notifications": {
|
|
11022
11068
|
"type": "divider",
|
|
@@ -11053,7 +11099,12 @@
|
|
|
11053
11099
|
"de": "Telegram-Nachricht senden"
|
|
11054
11100
|
},
|
|
11055
11101
|
"default": false,
|
|
11056
|
-
"hidden": "!data.update_check_active"
|
|
11102
|
+
"hidden": "!data.update_check_active",
|
|
11103
|
+
"xs": 12,
|
|
11104
|
+
"sm": 12,
|
|
11105
|
+
"md": 6,
|
|
11106
|
+
"lg": 6,
|
|
11107
|
+
"xl": 6
|
|
11057
11108
|
},
|
|
11058
11109
|
"update_check_notification": {
|
|
11059
11110
|
"type": "checkbox",
|
|
@@ -11062,7 +11113,12 @@
|
|
|
11062
11113
|
"de": "Als ioBroker-Benachrichtigung (Glocke) zeigen"
|
|
11063
11114
|
},
|
|
11064
11115
|
"default": false,
|
|
11065
|
-
"hidden": "!data.update_check_active"
|
|
11116
|
+
"hidden": "!data.update_check_active",
|
|
11117
|
+
"xs": 12,
|
|
11118
|
+
"sm": 12,
|
|
11119
|
+
"md": 6,
|
|
11120
|
+
"lg": 6,
|
|
11121
|
+
"xl": 6
|
|
11066
11122
|
}
|
|
11067
11123
|
}
|
|
11068
11124
|
},
|
|
@@ -225,7 +225,7 @@ async function sendUpdateNotification(adapter, message) {
|
|
|
225
225
|
const config = adapter.config;
|
|
226
226
|
if (config.update_check_notification === true) {
|
|
227
227
|
if (typeof adapter.registerNotification === "function") {
|
|
228
|
-
await adapter.registerNotification("luxtronik2-controller", "
|
|
228
|
+
await adapter.registerNotification("luxtronik2-controller", "lwpSystem", message);
|
|
229
229
|
(0, import_logger.writeLog)("ioBroker-Benachrichtigung (Glocke) \xFCber neues Firmware-Update erstellt.", "info");
|
|
230
230
|
} else {
|
|
231
231
|
(0, import_logger.writeLog)("\u{1F6A8} ioBroker Notification Center (Glocke) nicht verf\xFCgbar.", "warn");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/notificationManager.ts"],
|
|
4
|
-
"sourcesContent": ["import { writeLog } from './logger';\nimport { getDpPath } from './stateMapping';\nimport type { LuxtronikAdapter } from './types';\n\n// =========================================================\n// TYPES & INTERFACES\n// =========================================================\n\n/**\n * Structure of an entry in the error or outage history.\n */\nexport interface ErrorHistoryEntry {\n\t/** The code of the registered error or outage */\n\tcode: number;\n\t/** The clear text description of the code */\n\tbeschreibung: string;\n\t/** The formatted date of occurrence */\n\tdatum: string;\n\t/** The raw Unix timestamp */\n\ttimestamp?: number;\n}\n\n// =========================================================\n// HELPER FUNCTIONS\n// =========================================================\n\n/**\n * Parses a JSON string in a type-safe manner and silently handles parsing errors.\n *\n * @param value - The JSON string to parse.\n * @returns The parsed object of type T, or null if parsing fails.\n */\nfunction safeParse<T>(value: string): T | null {\n\ttry {\n\t\treturn JSON.parse(value) as T;\n\t} catch {\n\t\tvoid 0;\n\t\treturn null;\n\t}\n}\n\n/**\n * Sends a notification message via the configured channels (ioBroker Notification Center & Telegram).\n *\n * @param adapter - The extended adapter instance.\n * @param message - The message text to send.\n * @returns A promise resolving to an array of successful delivery channel names.\n */\nasync function sendNotification(adapter: LuxtronikAdapter, message: string): Promise<string[]> {\n\tconst config = adapter.config;\n\tconst successMessages: string[] = [];\n\n\tif (config.notification_bell === true) {\n\t\tif (typeof adapter.registerNotification === 'function') {\n\t\t\tawait adapter.registerNotification('luxtronik2-controller', 'lwpError', message);\n\t\t\twriteLog('Notification sent to ioBroker notification center.', 'info');\n\t\t\tsuccessMessages.push('Notification Center');\n\t\t} else {\n\t\t\twriteLog(`\uD83D\uDEA8 ioBroker notification center unavailable. Message: ${message}`, 'warn');\n\t\t}\n\t}\n\n\tconst telegramInstance = config.telegram_instance;\n\tconst isTelegramActive =\n\t\tconfig.telegram_enabled === true && typeof telegramInstance === 'string' && telegramInstance !== 'none';\n\n\tif (isTelegramActive) {\n\t\tconst sendObj: Record<string, any> = { text: message };\n\t\tconst receiver = config.telegram_receiver?.trim();\n\n\t\tif (receiver) {\n\t\t\tif (/^-?\\d+$/.test(receiver)) {\n\t\t\t\tsendObj.chatId = Number(receiver);\n\t\t\t} else {\n\t\t\t\tsendObj.user = receiver;\n\t\t\t}\n\t\t}\n\n\t\tadapter.sendTo(telegramInstance, 'send', sendObj);\n\t\twriteLog(`Telegram message sent to ${telegramInstance}`, 'info');\n\t\tsuccessMessages.push('Telegram');\n\t}\n\n\treturn successMessages;\n}\n\n// =========================================================\n// MAIN EXPORTS\n// =========================================================\n\n/**\n * Backwards-compatible wrapper to send Telegram notifications explicitly.\n * Forwards the request to the universal notification function.\n *\n * @param adapter - The extended adapter instance.\n * @param message - The message text to send.\n */\nexport function sendTelegramNotification(adapter: LuxtronikAdapter, message: string): void {\n\tvoid sendNotification(adapter, message);\n}\n\n/**\n * Handles the 'testTelegram' message from the ioBroker Admin UI.\n *\n * @param adapter - The extended adapter instance.\n * @param obj - The standardized ioBroker message structure.\n * @returns A promise resolving when the test message has been processed.\n */\nexport async function handleTestMessage(adapter: LuxtronikAdapter, obj: ioBroker.Message): Promise<void> {\n\ttry {\n\t\twriteLog('Test button triggered!', 'info');\n\t\tconst config = adapter.config;\n\n\t\tconst isTelegramActive =\n\t\t\tconfig.telegram_enabled === true && config.telegram_instance && config.telegram_instance !== 'none';\n\t\tconst isIoBrokerNotifyActive = config.notification_bell === true;\n\n\t\tif (!isTelegramActive && !isIoBrokerNotifyActive) {\n\t\t\tif (obj.callback) {\n\t\t\t\tadapter.sendTo(\n\t\t\t\t\tobj.from,\n\t\t\t\t\tobj.command,\n\t\t\t\t\t{\n\t\t\t\t\t\terror: 'Error: Neither Telegram nor Notification Center are active! Please save settings first.',\n\t\t\t\t\t},\n\t\t\t\t\tobj.callback,\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tconst errorPath = getDpPath('Fehlerspeicher');\n\t\tconst lastErrorState = errorPath ? await adapter.getStateAsync(errorPath) : null;\n\t\tlet msg = '';\n\n\t\tif (lastErrorState && typeof lastErrorState.val === 'string') {\n\t\t\tconst errorList = safeParse<ErrorHistoryEntry[]>(lastErrorState.val);\n\n\t\t\tif (errorList && errorList.length > 0) {\n\t\t\t\tconst newestError = errorList[0];\n\t\t\t\tmsg = `\uD83D\uDEA8 *Test Alarm: Error Log*\\n\\nMost recent error:\\nCode: ${newestError.code}\\nError: ${newestError.beschreibung}\\nDate: ${newestError.datum}\\n\\n`;\n\n\t\t\t\tif (errorList.length > 1) {\n\t\t\t\t\tconst history = errorList\n\t\t\t\t\t\t.slice(1)\n\t\t\t\t\t\t.map(e => `Date: ${e.datum}\\nCode: ${e.code}\\nError: ${e.beschreibung}`)\n\t\t\t\t\t\t.join('\\n\\n');\n\t\t\t\t\tmsg += `History:\\n${history}`;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (msg === '') {\n\t\t\tmsg =\n\t\t\t\t'\u2705 *Successful Test*\\n\\nThis is a generated test message. Communication via Telegram and ioBroker works perfectly! (There are currently no real heat pump errors).';\n\t\t}\n\n\t\tconst successMessages = await sendNotification(adapter, msg);\n\n\t\tif (obj.callback) {\n\t\t\tadapter.sendTo(\n\t\t\t\tobj.from,\n\t\t\t\tobj.command,\n\t\t\t\t{ result: `Successfully triggered: ${successMessages.join(' & ')}` },\n\t\t\t\tobj.callback,\n\t\t\t);\n\t\t}\n\t} catch (err: unknown) {\n\t\tconst errorMessage = err instanceof Error ? err.message : String(err);\n\t\twriteLog(`Error processing test button: ${errorMessage}`, 'error');\n\t\tif (obj.callback) {\n\t\t\tadapter.sendTo(obj.from, obj.command, { error: `Script error: ${errorMessage}` }, obj.callback);\n\t\t}\n\t}\n}\n\n/**\n * Checks for changes in the error log, filters out known errors,\n * and triggers an alarm for new, genuine heat pump errors.\n *\n * @param adapter - The extended adapter instance.\n * @param oldFehlerVal - The previous state of the error memory as a JSON string.\n * @param newFehlerVal - The new state of the error memory as a JSON string.\n * @returns A promise resolving when the check finishes.\n */\nexport async function checkAndSendErrorNotifications(\n\tadapter: LuxtronikAdapter,\n\toldFehlerVal: string | undefined,\n\tnewFehlerVal: string | undefined,\n): Promise<void> {\n\tif (!newFehlerVal || newFehlerVal === oldFehlerVal) {\n\t\treturn;\n\t}\n\n\tconst newList = safeParse<ErrorHistoryEntry[]>(newFehlerVal);\n\tif (!newList || newList.length === 0) {\n\t\treturn;\n\t}\n\n\tconst newestError = newList[0];\n\tconst currentErrorTimestamp = newestError.timestamp;\n\tconst currentErrorCode = newestError.code;\n\n\tif (currentErrorTimestamp === undefined || currentErrorCode === 0) {\n\t\treturn;\n\t}\n\n\tif (adapter.lastKnownErrorTimestamp === undefined || adapter.lastKnownErrorTimestamp === null) {\n\t\tadapter.lastKnownErrorTimestamp = currentErrorTimestamp;\n\t\twriteLog('Error monitoring initialized. Last known error timestamp set silently.', 'debug');\n\t\treturn;\n\t}\n\n\tif (currentErrorTimestamp <= adapter.lastKnownErrorTimestamp) {\n\t\treturn;\n\t}\n\n\tadapter.lastKnownErrorTimestamp = currentErrorTimestamp;\n\n\tconst msg = `\uD83D\uDEA8 *Heat Pump Malfunction!*\\nAn error was registered on the heat pump:\\n\\n*Code:* ${currentErrorCode}\\n*Error:* ${newestError.beschreibung}\\n*Date:* ${newestError.datum}`;\n\n\tawait sendNotification(adapter, msg);\n}\n\n/**\n * \u00DCberwacht den Abschalt-Speicher gezielt auf kritische St\u00F6rungen und Durchfluss-Probleme,\n * die von der W\u00E4rmepumpe registriert wurden.\n *\n * @param adapter - Die erweiterte Adapter-Instanz.\n * @param oldOutageVal - Der vorherige State der Abschaltungen (JSON).\n * @param newOutageVal - Der neue State der Abschaltungen (JSON).\n */\nexport async function checkAndSendOutageNotifications(\n\tadapter: LuxtronikAdapter,\n\toldOutageVal: string | undefined,\n\tnewOutageVal: string | undefined,\n): Promise<void> {\n\tif (!newOutageVal || newOutageVal === oldOutageVal) {\n\t\treturn;\n\t}\n\n\tconst newList = safeParse<ErrorHistoryEntry[]>(newOutageVal);\n\tif (!newList || newList.length === 0) {\n\t\treturn;\n\t}\n\n\tconst newestOutage = newList[0];\n\tconst currentOutageTimestamp = newestOutage.timestamp;\n\tconst currentOutageCode = newestOutage.code;\n\n\t// Timestamp muss vorhanden und valide sein.\n\t// WICHTIG: currentOutageCode === 0 DARF HIER NICHT blockieren, da Code 0 = \"W\u00E4rmepumpen-St\u00F6rung\" ist!\n\tif (currentOutageTimestamp === undefined || currentOutageTimestamp <= 0) {\n\t\treturn;\n\t}\n\n\t// Filter f\u00FCr St\u00F6rungen und Durchflussprobleme\n\tconst descLower = newestOutage.beschreibung.toLowerCase();\n\tconst isFlowIssue = descLower.includes('durchfluss') || descLower.includes('flow');\n\tconst isMalfunction =\n\t\tdescLower.includes('st\u00F6rung') ||\n\t\tdescLower.includes('stoerung') ||\n\t\tdescLower.includes('wpst\u00F6rung') ||\n\t\tcurrentOutageCode === 0;\n\n\tif (!isFlowIssue && !isMalfunction) {\n\t\treturn;\n\t}\n\n\tif (adapter.lastKnownOutageTimestamp === undefined || adapter.lastKnownOutageTimestamp === null) {\n\t\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\t\twriteLog('Outage monitoring initialized. Last known outage timestamp set silently.', 'debug');\n\t\treturn;\n\t}\n\n\tif (currentOutageTimestamp <= adapter.lastKnownOutageTimestamp) {\n\t\treturn; // Kein neuer Eintrag\n\t}\n\n\t// Spam-Schutz: Max 1 Nachricht pro Stunde f\u00FCr denselben Abschalt-Typ\n\tconst now = Date.now();\n\tif (adapter.lastFlowNotificationTime && now - adapter.lastFlowNotificationTime < 60 * 60 * 1000) {\n\t\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\t\twriteLog('Outage registered, but notification skipped due to 60-minute cooldown spam protection.', 'info');\n\t\treturn;\n\t}\n\n\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\tadapter.lastFlowNotificationTime = now;\n\n\tlet msg = '';\n\tif (isMalfunction) {\n\t\tmsg = `\uD83D\uDEA8 *Alarm: W\u00E4rmepumpen-Abschaltung (St\u00F6rung)!*\\nDie W\u00E4rmepumpe hat sich wegen einer St\u00F6rung abgeschaltet:\\n\\n*Grund:* ${newestOutage.beschreibung}\\n*Code:* ${currentOutageCode}\\n*Datum:* ${newestOutage.datum}\\n\\n_Hinweis: Bitte Fehlerspeicher und W\u00E4rmepumpen-Status pr\u00FCfen._`;\n\t} else {\n\t\tmsg = `\u26A0\uFE0F *Warnung: Durchfluss-Problem!*\\nDie W\u00E4rmepumpe hat sich wegen geringem Durchfluss abgeschaltet:\\n\\n*Grund:* ${newestOutage.beschreibung}\\n*Code:* ${currentOutageCode}\\n*Datum:* ${newestOutage.datum}\\n\\n_Hinweis: Die Anlage versucht meist einen Neustart. Bitte Heizkreis-Druck und Stellventile pr\u00FCfen._`;\n\t}\n\n\tawait sendNotification(adapter, msg);\n}\n\n/**\n * Sendet eine Benachrichtigung \u00FCber ein neues Firmware-Update (Glocke und/oder Telegram).\n *\n * @param adapter - Die erweiterte Adapter-Instanz.\n * @param message - Der Nachrichtentext.\n */\nexport async function sendUpdateNotification(adapter: LuxtronikAdapter, message: string): Promise<void> {\n\tconst config = adapter.config as Record<string, any>;\n\n\t// 1. ioBroker Notification Center (Glocke)\n\tif (config.update_check_notification === true) {\n\t\tif (typeof adapter.registerNotification === 'function') {\n\t\t\t// Wir nutzen die bekannte Kategorie 'lwpError', damit ioBroker die Nachricht nicht verwirft\n\t\t\tawait adapter.registerNotification('luxtronik2-controller', 'lwpError', message);\n\t\t\twriteLog('ioBroker-Benachrichtigung (Glocke) \u00FCber neues Firmware-Update erstellt.', 'info');\n\t\t} else {\n\t\t\twriteLog('\uD83D\uDEA8 ioBroker Notification Center (Glocke) nicht verf\u00FCgbar.', 'warn');\n\t\t}\n\t}\n\n\t// 2. Telegram\n\tconst telegramInstance = config.telegram_instance;\n\tconst isTelegramActive =\n\t\tconfig.update_check_telegram === true && typeof telegramInstance === 'string' && telegramInstance !== 'none';\n\n\tif (isTelegramActive) {\n\t\tconst sendObj: Record<string, any> = { text: message };\n\t\tconst receiver = config.telegram_receiver?.trim();\n\n\t\tif (receiver) {\n\t\t\tif (/^-?\\d+$/.test(receiver)) {\n\t\t\t\tsendObj.chatId = Number(receiver);\n\t\t\t} else {\n\t\t\t\tsendObj.user = receiver;\n\t\t\t}\n\t\t}\n\n\t\tadapter.sendTo(telegramInstance, 'send', sendObj);\n\t\twriteLog(`Telegram-Benachrichtigung f\u00FCr Update an ${telegramInstance} gesendet.`, 'info');\n\t}\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;A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Y,aAAa,aAAa,YAAY;AACxD,QAAM,cAAc,UAAU,SAAS,YAAY,KAAK,UAAU,SAAS,MAAM;AACjF,QAAM,gBACL,UAAU,SAAS,YAAS,KAC5B,UAAU,SAAS,UAAU,KAC7B,UAAU,SAAS,cAAW,KAC9B,sBAAsB;AAEvB,MAAI,CAAC,eAAe,CAAC,eAAe;AACnC;AAAA,EACD;AAEA,MAAI,QAAQ,6BAA6B,UAAa,QAAQ,6BAA6B,MAAM;AAChG,YAAQ,2BAA2B;AACnC,gCAAS,4EAA4E,OAAO;AAC5F;AAAA,EACD;AAEA,MAAI,0BAA0B,QAAQ,0BAA0B;AAC/D;AAAA,EACD;AAGA,QAAM,MAAM,KAAK,IAAI;AACrB,MAAI,QAAQ,4BAA4B,MAAM,QAAQ,2BAA2B,KAAK,KAAK,KAAM;AAChG,YAAQ,2BAA2B;AACnC,gCAAS,0FAA0F,MAAM;AACzG;AAAA,EACD;AAEA,UAAQ,2BAA2B;AACnC,UAAQ,2BAA2B;AAEnC,MAAI,MAAM;AACV,MAAI,eAAe;AAClB,UAAM;AAAA;AAAA;AAAA,WAAyH,aAAa,YAAY;AAAA,UAAa,iBAAiB;AAAA,WAAc,aAAa,KAAK;AAAA;AAAA;AAAA,EACvN,OAAO;AACN,UAAM;AAAA;AAAA;AAAA,WAAkH,aAAa,YAAY;AAAA,UAAa,iBAAiB;AAAA,WAAc,aAAa,KAAK;AAAA;AAAA;AAAA,EAChN;AAEA,QAAM,iBAAiB,SAAS,GAAG;AACpC;AAQA,eAAsB,uBAAuB,SAA2B,SAAgC;AAlTxG;AAmTC,QAAM,SAAS,QAAQ;AAGvB,MAAI,OAAO,8BAA8B,MAAM;AAC9C,QAAI,OAAO,QAAQ,yBAAyB,YAAY;AAEvD,YAAM,QAAQ,qBAAqB,yBAAyB,
|
|
4
|
+
"sourcesContent": ["import { writeLog } from './logger';\nimport { getDpPath } from './stateMapping';\nimport type { LuxtronikAdapter } from './types';\n\n// =========================================================\n// TYPES & INTERFACES\n// =========================================================\n\n/**\n * Structure of an entry in the error or outage history.\n */\nexport interface ErrorHistoryEntry {\n\t/** The code of the registered error or outage */\n\tcode: number;\n\t/** The clear text description of the code */\n\tbeschreibung: string;\n\t/** The formatted date of occurrence */\n\tdatum: string;\n\t/** The raw Unix timestamp */\n\ttimestamp?: number;\n}\n\n// =========================================================\n// HELPER FUNCTIONS\n// =========================================================\n\n/**\n * Parses a JSON string in a type-safe manner and silently handles parsing errors.\n *\n * @param value - The JSON string to parse.\n * @returns The parsed object of type T, or null if parsing fails.\n */\nfunction safeParse<T>(value: string): T | null {\n\ttry {\n\t\treturn JSON.parse(value) as T;\n\t} catch {\n\t\tvoid 0;\n\t\treturn null;\n\t}\n}\n\n/**\n * Sends a notification message via the configured channels (ioBroker Notification Center & Telegram).\n *\n * @param adapter - The extended adapter instance.\n * @param message - The message text to send.\n * @returns A promise resolving to an array of successful delivery channel names.\n */\nasync function sendNotification(adapter: LuxtronikAdapter, message: string): Promise<string[]> {\n\tconst config = adapter.config;\n\tconst successMessages: string[] = [];\n\n\tif (config.notification_bell === true) {\n\t\tif (typeof adapter.registerNotification === 'function') {\n\t\t\tawait adapter.registerNotification('luxtronik2-controller', 'lwpError', message);\n\t\t\twriteLog('Notification sent to ioBroker notification center.', 'info');\n\t\t\tsuccessMessages.push('Notification Center');\n\t\t} else {\n\t\t\twriteLog(`\uD83D\uDEA8 ioBroker notification center unavailable. Message: ${message}`, 'warn');\n\t\t}\n\t}\n\n\tconst telegramInstance = config.telegram_instance;\n\tconst isTelegramActive =\n\t\tconfig.telegram_enabled === true && typeof telegramInstance === 'string' && telegramInstance !== 'none';\n\n\tif (isTelegramActive) {\n\t\tconst sendObj: Record<string, any> = { text: message };\n\t\tconst receiver = config.telegram_receiver?.trim();\n\n\t\tif (receiver) {\n\t\t\tif (/^-?\\d+$/.test(receiver)) {\n\t\t\t\tsendObj.chatId = Number(receiver);\n\t\t\t} else {\n\t\t\t\tsendObj.user = receiver;\n\t\t\t}\n\t\t}\n\n\t\tadapter.sendTo(telegramInstance, 'send', sendObj);\n\t\twriteLog(`Telegram message sent to ${telegramInstance}`, 'info');\n\t\tsuccessMessages.push('Telegram');\n\t}\n\n\treturn successMessages;\n}\n\n// =========================================================\n// MAIN EXPORTS\n// =========================================================\n\n/**\n * Backwards-compatible wrapper to send Telegram notifications explicitly.\n * Forwards the request to the universal notification function.\n *\n * @param adapter - The extended adapter instance.\n * @param message - The message text to send.\n */\nexport function sendTelegramNotification(adapter: LuxtronikAdapter, message: string): void {\n\tvoid sendNotification(adapter, message);\n}\n\n/**\n * Handles the 'testTelegram' message from the ioBroker Admin UI.\n *\n * @param adapter - The extended adapter instance.\n * @param obj - The standardized ioBroker message structure.\n * @returns A promise resolving when the test message has been processed.\n */\nexport async function handleTestMessage(adapter: LuxtronikAdapter, obj: ioBroker.Message): Promise<void> {\n\ttry {\n\t\twriteLog('Test button triggered!', 'info');\n\t\tconst config = adapter.config;\n\n\t\tconst isTelegramActive =\n\t\t\tconfig.telegram_enabled === true && config.telegram_instance && config.telegram_instance !== 'none';\n\t\tconst isIoBrokerNotifyActive = config.notification_bell === true;\n\n\t\tif (!isTelegramActive && !isIoBrokerNotifyActive) {\n\t\t\tif (obj.callback) {\n\t\t\t\tadapter.sendTo(\n\t\t\t\t\tobj.from,\n\t\t\t\t\tobj.command,\n\t\t\t\t\t{\n\t\t\t\t\t\terror: 'Error: Neither Telegram nor Notification Center are active! Please save settings first.',\n\t\t\t\t\t},\n\t\t\t\t\tobj.callback,\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tconst errorPath = getDpPath('Fehlerspeicher');\n\t\tconst lastErrorState = errorPath ? await adapter.getStateAsync(errorPath) : null;\n\t\tlet msg = '';\n\n\t\tif (lastErrorState && typeof lastErrorState.val === 'string') {\n\t\t\tconst errorList = safeParse<ErrorHistoryEntry[]>(lastErrorState.val);\n\n\t\t\tif (errorList && errorList.length > 0) {\n\t\t\t\tconst newestError = errorList[0];\n\t\t\t\tmsg = `\uD83D\uDEA8 *Test Alarm: Error Log*\\n\\nMost recent error:\\nCode: ${newestError.code}\\nError: ${newestError.beschreibung}\\nDate: ${newestError.datum}\\n\\n`;\n\n\t\t\t\tif (errorList.length > 1) {\n\t\t\t\t\tconst history = errorList\n\t\t\t\t\t\t.slice(1)\n\t\t\t\t\t\t.map(e => `Date: ${e.datum}\\nCode: ${e.code}\\nError: ${e.beschreibung}`)\n\t\t\t\t\t\t.join('\\n\\n');\n\t\t\t\t\tmsg += `History:\\n${history}`;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (msg === '') {\n\t\t\tmsg =\n\t\t\t\t'\u2705 *Successful Test*\\n\\nThis is a generated test message. Communication via Telegram and ioBroker works perfectly! (There are currently no real heat pump errors).';\n\t\t}\n\n\t\tconst successMessages = await sendNotification(adapter, msg);\n\n\t\tif (obj.callback) {\n\t\t\tadapter.sendTo(\n\t\t\t\tobj.from,\n\t\t\t\tobj.command,\n\t\t\t\t{ result: `Successfully triggered: ${successMessages.join(' & ')}` },\n\t\t\t\tobj.callback,\n\t\t\t);\n\t\t}\n\t} catch (err: unknown) {\n\t\tconst errorMessage = err instanceof Error ? err.message : String(err);\n\t\twriteLog(`Error processing test button: ${errorMessage}`, 'error');\n\t\tif (obj.callback) {\n\t\t\tadapter.sendTo(obj.from, obj.command, { error: `Script error: ${errorMessage}` }, obj.callback);\n\t\t}\n\t}\n}\n\n/**\n * Checks for changes in the error log, filters out known errors,\n * and triggers an alarm for new, genuine heat pump errors.\n *\n * @param adapter - The extended adapter instance.\n * @param oldFehlerVal - The previous state of the error memory as a JSON string.\n * @param newFehlerVal - The new state of the error memory as a JSON string.\n * @returns A promise resolving when the check finishes.\n */\nexport async function checkAndSendErrorNotifications(\n\tadapter: LuxtronikAdapter,\n\toldFehlerVal: string | undefined,\n\tnewFehlerVal: string | undefined,\n): Promise<void> {\n\tif (!newFehlerVal || newFehlerVal === oldFehlerVal) {\n\t\treturn;\n\t}\n\n\tconst newList = safeParse<ErrorHistoryEntry[]>(newFehlerVal);\n\tif (!newList || newList.length === 0) {\n\t\treturn;\n\t}\n\n\tconst newestError = newList[0];\n\tconst currentErrorTimestamp = newestError.timestamp;\n\tconst currentErrorCode = newestError.code;\n\n\tif (currentErrorTimestamp === undefined || currentErrorCode === 0) {\n\t\treturn;\n\t}\n\n\tif (adapter.lastKnownErrorTimestamp === undefined || adapter.lastKnownErrorTimestamp === null) {\n\t\tadapter.lastKnownErrorTimestamp = currentErrorTimestamp;\n\t\twriteLog('Error monitoring initialized. Last known error timestamp set silently.', 'debug');\n\t\treturn;\n\t}\n\n\tif (currentErrorTimestamp <= adapter.lastKnownErrorTimestamp) {\n\t\treturn;\n\t}\n\n\tadapter.lastKnownErrorTimestamp = currentErrorTimestamp;\n\n\tconst msg = `\uD83D\uDEA8 *Heat Pump Malfunction!*\\nAn error was registered on the heat pump:\\n\\n*Code:* ${currentErrorCode}\\n*Error:* ${newestError.beschreibung}\\n*Date:* ${newestError.datum}`;\n\n\tawait sendNotification(adapter, msg);\n}\n\n/**\n * \u00DCberwacht den Abschalt-Speicher gezielt auf kritische St\u00F6rungen und Durchfluss-Probleme,\n * die von der W\u00E4rmepumpe registriert wurden.\n *\n * @param adapter - Die erweiterte Adapter-Instanz.\n * @param oldOutageVal - Der vorherige State der Abschaltungen (JSON).\n * @param newOutageVal - Der neue State der Abschaltungen (JSON).\n */\nexport async function checkAndSendOutageNotifications(\n\tadapter: LuxtronikAdapter,\n\toldOutageVal: string | undefined,\n\tnewOutageVal: string | undefined,\n): Promise<void> {\n\tif (!newOutageVal || newOutageVal === oldOutageVal) {\n\t\treturn;\n\t}\n\n\tconst newList = safeParse<ErrorHistoryEntry[]>(newOutageVal);\n\tif (!newList || newList.length === 0) {\n\t\treturn;\n\t}\n\n\tconst newestOutage = newList[0];\n\tconst currentOutageTimestamp = newestOutage.timestamp;\n\tconst currentOutageCode = newestOutage.code;\n\n\t// Timestamp muss vorhanden und valide sein.\n\t// WICHTIG: currentOutageCode === 0 DARF HIER NICHT blockieren, da Code 0 = \"W\u00E4rmepumpen-St\u00F6rung\" ist!\n\tif (currentOutageTimestamp === undefined || currentOutageTimestamp <= 0) {\n\t\treturn;\n\t}\n\n\t// Filter f\u00FCr St\u00F6rungen und Durchflussprobleme\n\tconst descLower = newestOutage.beschreibung.toLowerCase();\n\tconst isFlowIssue = descLower.includes('durchfluss') || descLower.includes('flow');\n\tconst isMalfunction =\n\t\tdescLower.includes('st\u00F6rung') ||\n\t\tdescLower.includes('stoerung') ||\n\t\tdescLower.includes('wpst\u00F6rung') ||\n\t\tcurrentOutageCode === 0;\n\n\tif (!isFlowIssue && !isMalfunction) {\n\t\treturn;\n\t}\n\n\tif (adapter.lastKnownOutageTimestamp === undefined || adapter.lastKnownOutageTimestamp === null) {\n\t\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\t\twriteLog('Outage monitoring initialized. Last known outage timestamp set silently.', 'debug');\n\t\treturn;\n\t}\n\n\tif (currentOutageTimestamp <= adapter.lastKnownOutageTimestamp) {\n\t\treturn; // Kein neuer Eintrag\n\t}\n\n\t// Spam-Schutz: Max 1 Nachricht pro Stunde f\u00FCr denselben Abschalt-Typ\n\tconst now = Date.now();\n\tif (adapter.lastFlowNotificationTime && now - adapter.lastFlowNotificationTime < 60 * 60 * 1000) {\n\t\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\t\twriteLog('Outage registered, but notification skipped due to 60-minute cooldown spam protection.', 'info');\n\t\treturn;\n\t}\n\n\tadapter.lastKnownOutageTimestamp = currentOutageTimestamp;\n\tadapter.lastFlowNotificationTime = now;\n\n\tlet msg = '';\n\tif (isMalfunction) {\n\t\tmsg = `\uD83D\uDEA8 *Alarm: W\u00E4rmepumpen-Abschaltung (St\u00F6rung)!*\\nDie W\u00E4rmepumpe hat sich wegen einer St\u00F6rung abgeschaltet:\\n\\n*Grund:* ${newestOutage.beschreibung}\\n*Code:* ${currentOutageCode}\\n*Datum:* ${newestOutage.datum}\\n\\n_Hinweis: Bitte Fehlerspeicher und W\u00E4rmepumpen-Status pr\u00FCfen._`;\n\t} else {\n\t\tmsg = `\u26A0\uFE0F *Warnung: Durchfluss-Problem!*\\nDie W\u00E4rmepumpe hat sich wegen geringem Durchfluss abgeschaltet:\\n\\n*Grund:* ${newestOutage.beschreibung}\\n*Code:* ${currentOutageCode}\\n*Datum:* ${newestOutage.datum}\\n\\n_Hinweis: Die Anlage versucht meist einen Neustart. Bitte Heizkreis-Druck und Stellventile pr\u00FCfen._`;\n\t}\n\n\tawait sendNotification(adapter, msg);\n}\n\n/**\n * Sendet eine Benachrichtigung \u00FCber ein neues Firmware-Update (Glocke und/oder Telegram).\n *\n * @param adapter - Die erweiterte Adapter-Instanz.\n * @param message - Der Nachrichtentext.\n */\nexport async function sendUpdateNotification(adapter: LuxtronikAdapter, message: string): Promise<void> {\n\tconst config = adapter.config as Record<string, any>;\n\n\t// 1. ioBroker Notification Center (Glocke)\n\tif (config.update_check_notification === true) {\n\t\tif (typeof adapter.registerNotification === 'function') {\n\t\t\t// Neue Kategorie 'lwpSystem' statt 'lwpError' nutzen\n\t\t\tawait adapter.registerNotification('luxtronik2-controller', 'lwpSystem', message);\n\t\t\twriteLog('ioBroker-Benachrichtigung (Glocke) \u00FCber neues Firmware-Update erstellt.', 'info');\n\t\t} else {\n\t\t\twriteLog('\uD83D\uDEA8 ioBroker Notification Center (Glocke) nicht verf\u00FCgbar.', 'warn');\n\t\t}\n\t}\n\n\t// 2. Telegram\n\tconst telegramInstance = config.telegram_instance;\n\tconst isTelegramActive =\n\t\tconfig.update_check_telegram === true && typeof telegramInstance === 'string' && telegramInstance !== 'none';\n\n\tif (isTelegramActive) {\n\t\tconst sendObj: Record<string, any> = { text: message };\n\t\tconst receiver = config.telegram_receiver?.trim();\n\n\t\tif (receiver) {\n\t\t\tif (/^-?\\d+$/.test(receiver)) {\n\t\t\t\tsendObj.chatId = Number(receiver);\n\t\t\t} else {\n\t\t\t\tsendObj.user = receiver;\n\t\t\t}\n\t\t}\n\n\t\tadapter.sendTo(telegramInstance, 'send', sendObj);\n\t\twriteLog(`Telegram-Benachrichtigung f\u00FCr Update an ${telegramInstance} gesendet.`, 'info');\n\t}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAyB;AACzB,0BAA0B;AA+B1B,SAAS,UAAa,OAAyB;AAC9C,MAAI;AACH,WAAO,KAAK,MAAM,KAAK;AAAA,EACxB,QAAQ;AAEP,WAAO;AAAA,EACR;AACD;AASA,eAAe,iBAAiB,SAA2B,SAAoC;AAhD/F;AAiDC,QAAM,SAAS,QAAQ;AACvB,QAAM,kBAA4B,CAAC;AAEnC,MAAI,OAAO,sBAAsB,MAAM;AACtC,QAAI,OAAO,QAAQ,yBAAyB,YAAY;AACvD,YAAM,QAAQ,qBAAqB,yBAAyB,YAAY,OAAO;AAC/E,kCAAS,sDAAsD,MAAM;AACrE,sBAAgB,KAAK,qBAAqB;AAAA,IAC3C,OAAO;AACN,kCAAS,gEAAyD,OAAO,IAAI,MAAM;AAAA,IACpF;AAAA,EACD;AAEA,QAAM,mBAAmB,OAAO;AAChC,QAAM,mBACL,OAAO,qBAAqB,QAAQ,OAAO,qBAAqB,YAAY,qBAAqB;AAElG,MAAI,kBAAkB;AACrB,UAAM,UAA+B,EAAE,MAAM,QAAQ;AACrD,UAAM,YAAW,YAAO,sBAAP,mBAA0B;AAE3C,QAAI,UAAU;AACb,UAAI,UAAU,KAAK,QAAQ,GAAG;AAC7B,gBAAQ,SAAS,OAAO,QAAQ;AAAA,MACjC,OAAO;AACN,gBAAQ,OAAO;AAAA,MAChB;AAAA,IACD;AAEA,YAAQ,OAAO,kBAAkB,QAAQ,OAAO;AAChD,gCAAS,4BAA4B,gBAAgB,IAAI,MAAM;AAC/D,oBAAgB,KAAK,UAAU;AAAA,EAChC;AAEA,SAAO;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B,MAAM;AAC9C,QAAI,OAAO,QAAQ,yBAAyB,YAAY;AAEvD,YAAM,QAAQ,qBAAqB,yBAAyB,aAAa,OAAO;AAChF,kCAAS,8EAA2E,MAAM;AAAA,IAC3F,OAAO;AACN,kCAAS,uEAA6D,MAAM;AAAA,IAC7E;AAAA,EACD;AAGA,QAAM,mBAAmB,OAAO;AAChC,QAAM,mBACL,OAAO,0BAA0B,QAAQ,OAAO,qBAAqB,YAAY,qBAAqB;AAEvG,MAAI,kBAAkB;AACrB,UAAM,UAA+B,EAAE,MAAM,QAAQ;AACrD,UAAM,YAAW,YAAO,sBAAP,mBAA0B;AAE3C,QAAI,UAAU;AACb,UAAI,UAAU,KAAK,QAAQ,GAAG;AAC7B,gBAAQ,SAAS,OAAO,QAAQ;AAAA,MACjC,OAAO;AACN,gBAAQ,OAAO;AAAA,MAChB;AAAA,IACD;AAEA,YAAQ,OAAO,kBAAkB,QAAQ,OAAO;AAChD,gCAAS,8CAA2C,gBAAgB,cAAc,MAAM;AAAA,EACzF;AACD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "luxtronik2-controller",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.20.4": {
|
|
7
|
+
"en": "*🔧 Maintenance & Compatibility**\n\n**Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.",
|
|
8
|
+
"de": "* 🔧 Wartung und Kompatibilität**\n\n**Node.js-Anforderung: ** Die Mindestanforderung für Node.js in `package.json` und `io-package.json` wurde auf `>= 22` aktualisiert.",
|
|
9
|
+
"ru": "* 🔧 Техническое обслуживание и совместимость**\n\n**Требование к Node.js: ** Минимальное требование к Node.js обновлено до `>= 22` в `package.json` и `io-package.json` в соответствии с текущими стандартами адаптеров.",
|
|
10
|
+
"pt": "* 🔧 Manutenção e compatibilidade**\n\n**Requisito do Node.js: ** Atualizado para `>= 22` em `package.json` e `io-package.json` para atender aos padrões atuais de adaptador. Node.js",
|
|
11
|
+
"nl": "* 🔧 Onderhoud en compatibiliteit**\n\n**Node.js-vereiste: ** De minimumvereiste voor Node.js is bijgewerkt naar `>= 22` in `package.json` en `io-package.json` om te voldoen aan de huidige adapterstandaarden.",
|
|
12
|
+
"fr": "* 🔧 Entretien et compatibilité**\n\n**Configuration requise pour Node.js :** Mise à jour de l'exigence minimale de Node.js à « >= 22 » dans « package.json » et « io-package.json » pour répondre aux normes actuelles.",
|
|
13
|
+
"it": "* 🔧 Cura e compatibilità**\n\n**Requisiti Node.js: ** Aggiornato il requisito minimo Node.js a `>= 22` in `package.json` e `io-package.json` per soddisfare gli attuali standard degli adattatori.",
|
|
14
|
+
"es": "* 🔧 Mantenimiento y compatibilidad**\n\n**Requisito de Node.js: ** Se actualizó el requisito mínimo de Node.js a `>= 22 en `package.json e `io-package.json» para cumplir con los estándares de adaptador actuales.",
|
|
15
|
+
"pl": "* 🔧 Konserwacja i kompatybilność**\n\n**Wymaganie Node.js: ** Zaktualizowano minimalne wymagania Node.js do `>= 22` w `package.json` i `io-package.json` w celu spełnienia aktualnych standardów adaptera.",
|
|
16
|
+
"uk": "* 🔧 Технічне обслуговування та сумісність**\n\n**Вимога Node.js: ** Оновлено мінімальну вимогу Node.js до `>= 22` у `package.json` та `io-package.json`, щоб відповідати поточним стандартам адаптера.",
|
|
17
|
+
"zh-cn": "* 🔧 维护和兼容性**\n\n**Node.js 要求:** 将 `package.json` 和 `io-package.json` 中的最低 Node.js 要求更新为 `>= 22`,以满足当前的适配器标准。"
|
|
18
|
+
},
|
|
19
|
+
"0.20.3": {
|
|
20
|
+
"en": "*🔧 Maintenance & Compatibility**\n\n**Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.",
|
|
21
|
+
"de": "* 🔧 Wartung und Kompatibilität**\n\n**Node.js-Anforderung: ** Die Mindestanforderung für Node.js in `package.json` und `io-package.json` wurde auf `>= 22` aktualisiert.",
|
|
22
|
+
"ru": "* 🔧 Техническое обслуживание и совместимость**\n\n**Требование к Node.js: ** Минимальное требование к Node.js обновлено до `>= 22` в `package.json` и `io-package.json` в соответствии с текущими стандартами адаптеров.",
|
|
23
|
+
"pt": "* 🔧 Manutenção e compatibilidade**\n\n**Requisito do Node.js: ** Atualizado para `>= 22` em `package.json` e `io-package.json` para atender aos padrões atuais de adaptador. Node.js",
|
|
24
|
+
"nl": "* 🔧 Onderhoud en compatibiliteit**\n\n**Node.js-vereiste: ** De minimumvereiste voor Node.js is bijgewerkt naar `>= 22` in `package.json` en `io-package.json` om te voldoen aan de huidige adapterstandaarden.",
|
|
25
|
+
"fr": "* 🔧 Entretien et compatibilité**\n\n**Configuration requise pour Node.js :** Mise à jour de l'exigence minimale de Node.js à « >= 22 » dans « package.json » et « io-package.json » pour répondre aux normes actuelles.",
|
|
26
|
+
"it": "* 🔧 Cura e compatibilità**\n\n**Requisiti Node.js: ** Aggiornato il requisito minimo Node.js a `>= 22` in `package.json` e `io-package.json` per soddisfare gli attuali standard degli adattatori.",
|
|
27
|
+
"es": "* 🔧 Mantenimiento y compatibilidad**\n\n**Requisito de Node.js: ** Se actualizó el requisito mínimo de Node.js a `>= 22 en `package.json e `io-package.json» para cumplir con los estándares de adaptador actuales.",
|
|
28
|
+
"pl": "* 🔧 Konserwacja i kompatybilność**\n\n**Wymaganie Node.js: ** Zaktualizowano minimalne wymagania Node.js do `>= 22` w `package.json` i `io-package.json` w celu spełnienia aktualnych standardów adaptera.",
|
|
29
|
+
"uk": "* 🔧 Технічне обслуговування та сумісність**\n\n**Вимога Node.js: ** Оновлено мінімальну вимогу Node.js до `>= 22` у `package.json` та `io-package.json`, щоб відповідати поточним стандартам адаптера.",
|
|
30
|
+
"zh-cn": "* 🔧 维护和兼容性**\n\n**Node.js 要求:** 将 `package.json` 和 `io-package.json` 中的最低 Node.js 要求更新为 `>= 22`,以满足当前的适配器标准。"
|
|
31
|
+
},
|
|
32
|
+
"0.20.2": {
|
|
33
|
+
"en": "*🔧 Maintenance & Compatibility**\n\n**Repository Checker Fixes:** Addressed multiple warnings from the ioBroker repository checker.\n**Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.\n**UI Layout:** Added missing responsive size attributes (`xs`, `sm`, `md`, `lg`, `xl`) to elements in the new updates configuration tab.\n**Translations:** Added missing i18n translations for all supported languages in the configuration dropdown menus (COP sources and ZIP control mode).\n**Metadata:** Removed non-existent version entries from the `news` section in `io-package.json`.\n\n*✨ Features & Enhancements**\n\n**Notification Center:** Introduced a dedicated notification category (`lwpSystem`) for firmware updates and system info to cleanly separate them from critical heat pump errors in the ioBroker UI.",
|
|
34
|
+
"de": "* 🔧 Wartung und Kompatibilität**\n\n**Repository-Checker Fixes: ** Mehrere Warnungen des ioBroker Repository-Checker behoben.\n**Node.js-Anforderung: ** Die Mindestanforderung für Node.js in `package.json` und `io-package.json` wurde auf `>= 22` aktualisiert.\n**UI-Layout: ** Fehlende Größenattribute (`xs`, `sm`, `md`, `lg`, `xl`) zu Elementen im neuen Tab Updates hinzugefügt.\n**Übersetzungen: ** Fehlende i18n-Übersetzungen für alle unterstützten Sprachen in den Menüs hinzugefügt (COP-Quellen und ZIP-Modus).\n**Metadaten: ** Nicht existierende Versionseinträge aus `news` in `io-package.json` entfernt.\n\n* ✨ Funktionen & Erweiterungen**\n\n**Info-Center: ** Es wurde eine eigene Kategorie (`LWPSystem`) für Firmware-Updates und Systeminformationen eingeführt, um sie sauber von kritischen Wärmepumpenfehlern in der ioBroker-UI zu trennen.",
|
|
35
|
+
"ru": "* 🔧 Техническое обслуживание и совместимость**\n\n**Исправления средства проверки репозиториев: ** Устранено несколько предупреждений средства проверки репозитория IOBroker.\n**Требование к Node.js: ** Минимальное требование к Node.js обновлено до `>= 22` в `package.json` и `io-package.json` в соответствии с текущими стандартами адаптеров.\n**Макет пользовательского интерфейса: ** Добавлены недостающие атрибуты адаптивного размера (`xs`, `sm`, `md`, `lg`, `xl`) к элементам на вкладке конфигурации новых обновлений.\n**Переводы: ** Добавлены недостающие переводы i18n для всех поддерживаемых языков в выпадающих меню конфигурации (исходники COP и режим управления ZIP).\n**Метаданные: ** Удалены несуществующие записи версий из раздела `news` в `io-package.json`.\n\n* ✨ Функции и улучшения**\n\n**Центр уведомлений: ** Введена специальная категория уведомлений (`LWPSystem`) для обновлений микропрограммного обеспечения и системной информации, позволяющая четко отделить их от критических ошибок теплового насоса в пользовательском интерфейсе IOBroker.",
|
|
36
|
+
"pt": "* 🔧 Manutenção e compatibilidade**\n\n**Correções: ** Abordou vários avisos do verificador de repositório IOBroker.\n**Requisito do Node.js: ** Atualizado para `>= 22` em `package.json` e `io-package.json` para atender aos padrões atuais de adaptador. Node.js\n**Layout de UI: ** Adicionou atributos de tamanho responsivo ausentes (`xs`, `sm`, `md`, `lg`, `xl`) à nova guia de atualizações.\n**Traduções: ** Foram adicionadas traduções i18n ausentes para todos os idiomas suportados nos menus (fontes COP e modo de controle ZIP).\n**Metadados: ** Removemos versões inexistentes da seção `news` em `io-package.json`.\n\n* ✨ Recursos e melhores**\n\n**Central de Notificações: ** Introduziu uma categoria de notificação dedicada (`LWPSystem`) para atualizações de firmware e sistema para separá-las de erros críticos na IU do IOBroker.",
|
|
37
|
+
"nl": "* 🔧 Onderhoud en compatibiliteit**\n\n**Oplossingen voor de Repository Checker: ** Meerdere waarschuwingen van de IOBroker repository checker zijn opgelost.\n**Node.js-vereiste: ** De minimumvereiste voor Node.js is bijgewerkt naar `>= 22` in `package.json` en `io-package.json` om te voldoen aan de huidige adapterstandaarden.\n**UI-indeling: ** Ontbrekende kenmerken voor responsieve grootte (`xs`, `sm`, `md`, `lg`, `xl`) toegevoegd aan elementen op het nieuwe configuratietabblad voor updates.\n**Vertalingen: ** Ontbrekende i18n-vertalingen toegevoegd voor alle ondersteunde talen in de keuzemenu's voor de configuratie (COP-bronnen en ZIP-besturingsmodus).\n**Metagegevens: ** Onbestaande versievermeldingen verwijderd uit de sectie 'nieuws' in `io-package.json`.\n\n* ✨ Kenmerken en verbeteringen**\n\n**Meldingscentrum: ** Er is een speciale meldingscategorie (`LWPsysteem`) geïntroduceerd voor firmware-updates en systeeminformatie om ze netjes te scheiden van kritieke warmtepompfouten in de gebruikersinterface van IOBroker.",
|
|
38
|
+
"fr": "* 🔧 Entretien et compatibilité**\n\n**Correctifs : ** Correction de plusieurs avertissements émis par le vérificateur de dépôt IObroker.\n**Configuration requise pour Node.js :** Mise à jour de l'exigence minimale de Node.js à « >= 22 » dans « package.json » et « io-package.json » pour répondre aux normes actuelles.\n**Disposition de l'interface utilisateur :** Ajout des attributs de taille réactive manquants (`xs`, `sm`, `md`, `lg`, `xl`) aux éléments de l'onglet de configuration des mises à jour.\n**Traductions :** Ajout des traductions i18n manquantes pour toutes les langues prises en charge dans les menus déroulants (sources COP et mode de contrôle ZIP).\n**Métadonnées :** Suppression d'entrées de version inexistantes de la section « news » de « io-package.json ».\n\n* ✨ Fonctionnalités et améliorations**\n\n**Centre de notifications :** Ajout d'une catégorie de notifications dédiée (« LWPSystem ») aux mises à jour du firmware et aux informations système, afin de les séparer des erreurs critiques de pompe à chaleur dans l'interface d'IObroker.",
|
|
39
|
+
"it": "* 🔧 Cura e compatibilità**\n\n**Repository Checker Fixes: ** Risolti diversi avvisi di IOBroker Repository Checker.\n**Requisiti Node.js: ** Aggiornato il requisito minimo Node.js a `>= 22` in `package.json` e `io-package.json` per soddisfare gli attuali standard degli adattatori.\n**Layout UI: ** Aggiunti attributi responsive size mancanti (`xs`, `sm`, `md`, `lg`, `xl`) agli elementi della nuova scheda Updates.\n**Traduzioni: ** Aggiunte traduzioni i18n mancanti per tutte le lingue supportate nei menu a discesa (sorgenti COP e modalità ZIP).\n**Metadati: ** Rimosse le versioni inesistenti dalla sezione `news` di `io-package.json`.\n\n* ✨ Funzioni e migliorie**\n\n**Centro notifiche: ** Introdotta una categoria dedicata (`LWPSystem`) per gli aggiornamenti del firmware e le informazioni di sistema per separarli dagli errori critici della pompa di calore",
|
|
40
|
+
"es": "* 🔧 Mantenimiento y compatibilidad**\n\n**Correcciones del comprobador de repositorios: ** Se han corregido varios avisos del comprobador de repositorios de IOBroker.\n**Requisito de Node.js: ** Se actualizó el requisito mínimo de Node.js a `>= 22 en `package.json e `io-package.json» para cumplir con los estándares de adaptador actuales.\n**Diseño de interfaz de usuario: ** Se han añadido los atributos de tamaño de respuesta que faltan (xs, sm, md, lg, xl) a los elementos de la nueva pestaña de configuración de actualizaciones.\n**Traducciones: ** Se han añadido las traducciones del i18n que faltaban a todos los idiomas admitidos en los menús desplegables de configuración (fuentes COP y modo de control ZIP).\n**Metadatos: ** Se eliminaron entradas de versión inexistentes de la sección «noticias» de «io-package.json».\n\n* ✨ Funciones y mejoras**\n\n**Centro de notificaciones: ** Se introdujo una categoría de notificación específica («Sistema LWP») para las actualizaciones del firmware y la información del sistema para separarlas de los errores críticos de bomba de calor en la interfaz de usuario de ioBroker.",
|
|
41
|
+
"pl": "* 🔧 Konserwacja i kompatybilność**\n\n**Poprawki sprawdzania repozytorium: ** Rozwiązano wiele ostrzeżeń z narzędzia sprawdzającego repozytorium ioBroker.\n**Wymaganie Node.js: ** Zaktualizowano minimalne wymagania Node.js do `>= 22` w `package.json` i `io-package.json` w celu spełnienia aktualnych standardów adaptera.\n**Układ interfejsu użytkownika: ** Dodano brakujące responsywne atrybuty rozmiaru (`xs`, `sm`, `md`, `lg`, `xl`) do elementów w nowej karcie konfiguracji aktualizacji.\n**Tłumaczenia: ** Dodano brakujące tłumaczenia i18n dla wszystkich obsługiwanych języków w menu rozwijanym konfiguracji (źródła COP i tryb sterowania ZIP).\n**Metadane: ** Usunięto nieistniejące wpisy wersji z sekcji `news` w `io-package.json`.\n\n* ✨ Funkcje i ulepszenia**\n\n**Centrum powiadomień: ** Wprowadzono dedykowaną kategorię powiadomień („LWPSystem”) dla aktualizacji oprogramowania układowego i informacji o systemie, aby w sposób czysty oddzielić je od krytycznych błędów pompy ciepła w interfejsie użytkownika ioBroker.",
|
|
42
|
+
"uk": "* 🔧 Технічне обслуговування та сумісність**\n\n**Виправлення перевірки сховищ: ** Виправлено декілька попереджень від перевірки сховища IObroker.\n**Вимога Node.js: ** Оновлено мінімальну вимогу Node.js до `>= 22` у `package.json` та `io-package.json`, щоб відповідати поточним стандартам адаптера.\n**Макет інтерфейсу користувача: ** Додано відсутні атрибути адаптивного розміру (`xs`, `sm`, `md`, `lg`, `xl`) до елементів на новій вкладці конфігурації оновлень.\n**Переклади: ** Додано відсутні переклади i18n для всіх підтримуваних мов у випадаючих меню конфігурації (джерела COP та режим керування ZIP).\n**Метадані: ** Видалені неіснуючі записи версії з розділу `новини` у `io-package.json`.\n\n* ✨ Функції та покращення**\n\n**Центр сповіщень: ** Введено спеціальну категорію сповіщень (`LWPSystem`) для оновлення мікропрограмного забезпечення та системної інформації, щоб чітко відокремити їх від критичних помилок теплового насоса в інтерфейсі IObroker.",
|
|
43
|
+
"zh-cn": "* 🔧 维护和兼容性**\n\n**存储库检查器修复:** 解决了来自 ioBroker 存储库检查器的多个警告。\n**Node.js 要求:** 将 `package.json` 和 `io-package.json` 中的最低 Node.js 要求更新为 `>= 22`,以满足当前的适配器标准。\n**用户界面布局:** 在新的更新配置选项卡中的元素中添加了缺少的响应式大小属性(`xs`、`sm`、`md`、`lg`、`xl`)。\n**翻译:** 在配置下拉菜单(COP 源代码和 ZIP 控制模式)中添加了所有支持语言缺失的 i18n 翻译。\n**元数据:** 从 `io-package.json` 的 “新闻” 部分删除了不存在的版本条目。\n\n* ✨ 功能和增强功能**\n\n**通知中心:** 为固件更新和系统信息引入了专用的通知类别(`LWPSystem`),以将其与 IOBroker 用户界面中的严重热泵错误完全区分开。"
|
|
44
|
+
},
|
|
6
45
|
"0.20.1": {
|
|
7
46
|
"en": "*🐛 Bugfixes & Tweaks**\n\n**Modbus Factor Correction:** Explicitly set the scaling factor for the heating target temperature offset (Luxtronik ID 1 / Holding 23) to `10` to correctly handle and display Modbus TCP values in tenths of a degree (e.g., 5.0 °C instead of 50).\n**Configuration UI:** Clarified the English and German labels for heating parameters (such as base point and parallel offset) in the adapter settings to prevent mapping confusion.",
|
|
8
47
|
"de": "* 🐛 Bugfixes & Tweaks**\n\n**Modbus-Faktorkorrektur: ** Setzen Sie den Skalierungsfaktor für den Heiz-Zieltemperatur-Offset (Luxtronik ID 1/Holding 23) explizit auf `10`, um Modbus-TCP-Werte korrekt in Zehntelgrad anzuzeigen (z. B. 5,0 °C statt 50).\n**Configuration UI: ** Die englischen und deutschen Bezeichnungen für Heizparameter (wie Basispunkt und Parallelversatz) in den Adaptereinstellungen wurden geklärt.",
|
|
@@ -42,19 +81,6 @@
|
|
|
42
81
|
"uk": "* 🚀 Функції та покращення**\n\n**Запит на розморожування даних: ** Додано `information.03_outputs.defrostrequest2` (Запит на розморожування) для моніторингу активного запиту на розморожування теплового насоса безпосередньо з телеметрії оперативної пам'яті (Індекс 235).\n\n**Запит на розморожування даних: ** Додано `information.03_outputs.defrostRequest` (запит на розморожування) для моніторингу активного запиту на розморожування теплового насоса безпосередньо з телеметрії оперативної пам'яті (Індекс 234).",
|
|
43
82
|
"zh-cn": "* 🚀 功能和增强功能**\n\n**解冻请求数据点:** 添加了 `information.03_outputs.defrostRequest2`(解冻请求),以直接从内存遥测(索引 235)监控热泵的有效除霜请求。\n\n**解冻请求数据点:** 添加了 `information.03_outputs.defrostRequest`(解冻请求),以直接从内存遥测(索引 234)监控热泵的有效除霜请求。"
|
|
44
83
|
},
|
|
45
|
-
"0.19.5": {
|
|
46
|
-
"en": "*🚀 Features & Enhancements**\n\n**Defrost Request Datapoint:** Added `Information.03_Outputs.DefrostRequest` (Defrost request) to monitor the active defrosting request of the heat pump directly from the RAM telemetry (Index 234).",
|
|
47
|
-
"de": "* 🚀 Funktionen & Erweiterungen**\n\n**Abtauanfrage: ** `Information.03_outputs.defrostRequest` (Abtauanfrage) hinzugefügt, um die aktive Abtauanfrage der Wärmepumpe direkt aus der RAM-Telemetrie zu überwachen (Index 234).",
|
|
48
|
-
"ru": "* 🚀 Функции и улучшения**\n\n**Точка данных запроса на размораживание: ** Добавлена функция `Information.03_outputs.DefrostRequest` (запрос на размораживание) для отслеживания активного запроса на размораживание теплового насоса непосредственно из телеметрии ОЗУ (индекс 234).",
|
|
49
|
-
"pt": "* 🚀 Recursos e melhores**\n\n**Ponto de dados de solicitação de degelo: ** Adicionado `information.03_outputs.defrostRequest` para monitorar a solicitação ativa de degelo da bomba de calor diretamente da telemetria RAM (Índice 234).",
|
|
50
|
-
"nl": "* 🚀 Kenmerken en verbeteringen**\n\n**Datapunt voor ontdooiaanvraag: ** `Information.03_Outputs.DefrostRequest` (Ontdooiverzoek) toegevoegd om het actieve ontdooiverzoek van de warmtepomp rechtstreeks via de RAM-telemetrie te controleren (index 234).",
|
|
51
|
-
"fr": "* 🚀 Fonctionnalités et améliorations**\n\n**Point de données de demande de dégivrage :** Ajout de « Information.03_outputs.defrostRequest » pour suivre la demande de dégivrage active de la pompe à chaleur directement à partir de la télémétrie RAM (Index 234).",
|
|
52
|
-
"it": "* 🚀 Funzioni e migliorie**\n\n**Defrost Request Datapoint: ** Aggiunto `Information.03_outputs.defrostRequest` per monitorare la richiesta di sbrinamento attiva della pompa di calore direttamente dalla telemetria RAM (Indice 234).",
|
|
53
|
-
"es": "* 🚀 Funciones y mejoras**\n\n**Punto de datos de solicitud de descongelación: ** Se ha añadido `Information.03_Outputs.defrostRequest` para supervisar la solicitud de descongelación activa de la bomba de calor directamente desde la telemetría de la RAM (índice 234).",
|
|
54
|
-
"pl": "* 🚀 Funkcje i ulepszenia**\n\n**Punkt danych żądania rozmrażania: ** Dodano `Information.03_Outputs.DefrostRequest` (żądanie rozmrażania) w celu monitorowania aktywnego żądania rozmrażania pompy ciepła bezpośrednio z telemetrii RAM (indeks 234).",
|
|
55
|
-
"uk": "* 🚀 Функції та покращення**\n\n**Запит на розморожування даних: ** Додано `information.03_outputs.defrostRequest` (запит на розморожування) для моніторингу активного запиту на розморожування теплового насоса безпосередньо з телеметрії оперативної пам'яті (Індекс 234).",
|
|
56
|
-
"zh-cn": "* 🚀 功能和增强功能**\n\n**解冻请求数据点:** 添加了 `information.03_outputs.defrostRequest`(解冻请求),以直接从内存遥测(索引 234)监控热泵的有效除霜请求。"
|
|
57
|
-
},
|
|
58
84
|
"0.19.4": {
|
|
59
85
|
"en": "*🔧 Compatibility & Maintenance**\n\n**Hybrid Modbus Value Persistence:** Prevented native 3003 telemetry polling (EEPROM) from overwriting volatile parameters actively managed via Modbus TCP (RAM) in the ioBroker object tree.",
|
|
60
86
|
"de": "* 🔧 Kompatibilität und Wartung**\n\n**Hybrid Modbus Value Persistence: ** Hat verhindert, dass native 3003-Telemetrieabfragen (EEPROM) im ioBroker-Objektbaum aktiv über Modbus TCP (RAM) verwaltet werden.",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "* 🔧 Kompatybilność i konserwacja**\n\n**Trwałość wartości hybrydowego Modbusa: ** Zapobiegało nadpisywaniu zmiennych parametrów zmiennych aktywnie zarządzanych przez Modbus TCP (RAM) w drzewie obiektów ioBroker, natywne badanie telemetryczne 3003 (EEPROM).",
|
|
68
94
|
"uk": "* 🔧 Сумісність та обслуговування**\n\n**Стійкість значення гібридного Modbus: ** Заборонено перезаписувати нестабільні параметри, які активно керуються за допомогою Modbus TCP (RAM) у дереві об'єктів IObroker, що використовуються у власному телеметричному опитуванні 3003 (EEPROM).",
|
|
69
95
|
"zh-cn": "* 🔧 兼容性和维护**\n\n**混合 Modbus 价值持久化:** 防止原生 3003 遥测轮询 (EEPROM) 覆盖 IOBroker 对象树中通过 Modbus TCP (RAM) 主动管理的易失性参数。"
|
|
70
|
-
},
|
|
71
|
-
"0.19.3": {
|
|
72
|
-
"en": "*🔧 Compatibility & Maintenance**\n\n**Broader Node.js Compatibility:** Adjusted Node.js removed `{ \"node\": \">=18.0.0\" }` in `dependencies` in `io-package.json`. T",
|
|
73
|
-
"de": "* 🔧 Kompatibilität und Wartung**\n\n**Umfassender kompatibel mit Node.js: ** Node.js entfernt `{„node“: „>=18.0.0\"}` in `dependencies` in `io-package.json`. T",
|
|
74
|
-
"ru": "* 🔧 Совместимость и обслуживание**\n\n**Более широкая совместимость с Node.js: ** В файле Node.js исправлена ошибка «{«node»: «>=18.0.0\"} `из `зависимости` в `io-package.json`. T",
|
|
75
|
-
"pt": "* 🔧 Compatibilidade e manutenção**\n\n**Maior compatibilidade com Node.js: ** O Node.js ajustado removeu `{“node”: “>=18.0.0\"}` em `dependencies` em `io-package.json`. T",
|
|
76
|
-
"nl": "* 🔧 Compatibiliteit en onderhoud**\n\n**Bredere compatibiliteit met Node.js: ** Aangepaste Node.js heeft `{„node”: „>=18.0.0\"}` verwijderd in `dependencies` in `io-package.json`. T",
|
|
77
|
-
"fr": "* 🔧 Compatibilité et maintenance**\n\n**Compatibilité accrue avec Node.js :** Node.js ajusté a supprimé `{« node » : « >=18.0.0\"}` des dépendances de `io-package.json`. T",
|
|
78
|
-
"it": "* 🔧 Compatibilità e manutenzione**\n\n**Compatibilità più ampia con Node.js: ** Node.js modificato rimosso «>=18.0.0\"} nelle dipendenze in io-package.json. T",
|
|
79
|
-
"es": "* 🔧 Compatibilidad y mantenimiento**\n\n**Compatibilidad más amplia con Node.js: ** Node.js ajustado eliminado `{«node»: «>=18.0.0\"}` en `dependencias` en `io-package.json`. T",
|
|
80
|
-
"pl": "* 🔧 Kompatybilność i konserwacja**\n\n**Szersza kompatybilność Node.js: ** Skorygowane Node.js usunięto `{„node”: „>=18.0.0\"}` w `dependencies` w `io-package.json`. T",
|
|
81
|
-
"uk": "* 🔧 Сумісність та обслуговування**\n\n**Ширша сумісність Node.js: ** Коригований Node.js видалений `{«вузол»: «>=18.0.0\"}` у `залежності` у `io-package.json`. Т",
|
|
82
|
-
"zh-cn": "* 🔧 兼容性和维护**\n\n**更广泛的 Node.js 兼容性:** 调整后的 Node.js 在 `io-package.json` 的 `依赖项`中删除了 `{ “node”: “>=18.0.0\"} `。T"
|
|
83
|
-
},
|
|
84
|
-
"0.19.2": {
|
|
85
|
-
"en": "*🔧 Compatibility & Maintenance**\n\n**Broader Node.js Compatibility:** Adjusted Node.js engine requirement from `>=22` down to `>=18.0.0` in `package.json` and added `{ \"node\": \">=18.0.0\" }` to `dependencies` in `io-package.json`. This enables full compatibility with widely used Long-Term Support (LTS) releases (Node.js 18 and 20) while preventing installation on deprecated runtimes.\n**Hybrid Modbus Value Persistence:** Prevented native 3003 telemetry polling (EEPROM) from overwriting volatile parameters actively managed via Modbus TCP (RAM) in the ioBroker object tree.",
|
|
86
|
-
"de": "* 🔧 Kompatibilität und Wartung**\n\n**Breitere Kompatibilität mit Node.js: ** Die Engine-Anforderung von `>=22` auf `>=18.0.0` in `package.json` angepasst und `{„node“: „>=18.0.0\"}` zu `dependencies` in `io-package.json` hinzugefügt. Node.js Das ermöglicht volle Kompatibilität mit den gängigen LTS-Versionen (Node.js 18 und 20) und verhindert Installationen auf veralteten Runtimes.\n**Hybrid Modbus Value Persistence: ** Hat verhindert, dass native 3003-Telemetrieabfragen (EEPROM) im ioBroker-Objektbaum aktiv über Modbus TCP (RAM) verwaltet werden.",
|
|
87
|
-
"ru": "* 🔧 Совместимость и обслуживание**\n\n**Более широкая совместимость с Node.js: ** Изменены требования к движку Node.js с `>=22` до `>=18.0.0` в `package.json` и добавлено `{«node»: «>=18.0.0\"}` к `зависимости` в `io-package.json`. Это обеспечивает полную совместимость с широко используемыми версиями долгосрочной поддержки (LTS) (Node.js 18 и 20) и предотвращает установку в устаревших средах выполнения.\n**Постоянство значений в гибридном режиме Modbus: ** Предотвращение перезаписи изменчивых параметров, активно управляемых через Modbus TCP (RAM) в дереве объектов IOBroker, встроенным телеметрическим опросом 3003 (EEPROM).",
|
|
88
|
-
"pt": "* 🔧 Compatibilidade e manutenção**\n\n**Ampla compatibilidade com Node.js: ** Ajustou o requisito do motor Node.js de `>=22` para `>=18.0.0` em `package.json` e adicionou `{“node”: “>=18.0.0\"}` a `dependencies` em `io-package.json`. Isso permite total compatibilidade com as versões mais usadas de LTS (Node.js 18 e 20), evitando a instalação em runtimes obsoletos.\n**Persistência híbrida do valor do Modbus: ** Impediu que a EEPROM nativa 3003 substituísse parâmetros voláteis gerenciados ativamente via Modbus TCP (RAM) na árvore de objetos IOBroker.",
|
|
89
|
-
"nl": "* 🔧 Compatibiliteit en onderhoud**\n\n**Bredere compatibiliteit met Node.js: ** De vereiste engine voor Node.js is aangepast van `>=22` naar `>=18.0.0` in `package.json` en `{„node”: „>=18.0.0\"}` toegevoegd aan `dependencies` in `io-package.json`. Dit maakt volledige compatibiliteit mogelijk met veelgebruikte versies voor langdurige ondersteuning (LTS) (Node.js 18 en 20) en voorkomt tegelijkertijd de installatie bij verouderde runtimes.\n**Hybrid Modbus Value Persistence: ** Voorkwam dat native 3003 telemetriepeilingen (EEPROM) vluchtige parameters overschreven die actief werden beheerd via Modbus TCP (RAM) in de IOBroker-objectstructuur.",
|
|
90
|
-
"fr": "* 🔧 Compatibilité et maintenance**\n\n**Compatibilité accrue avec Node.js :** Les exigences relatives au moteur Node.js ont été ajustées de « >=22 » à « >=18.0.0 » dans « package.json » et ajout de « {« node » : « >=18.0.0\"} à « dependencies` dans `io-package.json`. Cela permet une compatibilité totale avec les versions LTS les plus utilisées (Node.js 18 et 20) tout en empêchant l'installation sur des moteurs obsolètes.\n**Persistance des valeurs Modbus hybrides :** Empêche l'écrasement des paramètres volatils gérés activement via Modbus TCP (RAM) dans l'arborescence d'objets d'IObroker grâce à l'EEPROM 3003.",
|
|
91
|
-
"it": "* 🔧 Compatibilità e manutenzione**\n\n**Compatibilità più ampia con Node.js: ** Modificato il requisito del motore Node.js da `>=22` a `>=18.0.0` in `package.json` e aggiunto `{ «node»: «>=18.0.0\"} `a `dependencies` in `io-package.json`. Ciò consente la piena compatibilità con le versioni LTS (Node.js 18 e 20) ampiamente utilizzate e impedisce l'installazione su runtime obsoleti.\n**Hybrid Modbus Value Persistence: ** Ha impedito alla EEPROM 3003 nativa di sovrascrivere i parametri volatili gestiti attivamente tramite Modbus TCP (RAM) nell'albero degli oggetti IOBroker.",
|
|
92
|
-
"es": "* 🔧 Compatibilidad y mantenimiento**\n\n**Compatibilidad más amplia con Node.js: ** Se ajustó el requisito del motor Node.js de `>=22` a `>=18.0.0` en `package.json` y se añadió `{«node»: «>=18.0.0\"}` a `dependencies` en `io-package.json`. Esto permite la total compatibilidad con las versiones de soporte a largo plazo (LTS) más utilizadas (Node.js 18 y 20) y evita que se instale en tiempos de ejecución obsoletos.\n**Persistencia del valor del Modbus híbrido: ** Impidió que la EEPROM nativa del 3003 sobrescribiera los parámetros volátiles gestionados activamente a través de Modbus TCP (RAM) en el árbol de objetos de ioBroker.",
|
|
93
|
-
"pl": "* 🔧 Kompatybilność i konserwacja**\n\n**Szersza kompatybilność Node.js: ** Skorygowano wymagania silnika Node.js z `>=22` do `>=18.0.0` w `package.json` i dodano `{„node”: „>=18.0.0\"}` do `dependencies` w `io-package.json`. Umożliwia to pełną kompatybilność z szeroko stosowanymi wersjami wsparcia długoterminowego (LTS) (Node.js 18 i 20), jednocześnie uniemożliwiając instalację w przestarzałych środowiskach wykonawczych.\n**Trwałość wartości hybrydowego Modbusa: ** Zapobiegało nadpisywaniu zmiennych parametrów zmiennych aktywnie zarządzanych przez Modbus TCP (RAM) w drzewie obiektów ioBroker, natywne badanie telemetryczne 3003 (EEPROM).",
|
|
94
|
-
"uk": "* 🔧 Сумісність та обслуговування**\n\n**Ширша сумісність Node.js: ** Скориговано вимоги до движка Node.js від `>=22` до `>=18.0.0` у `package.json` і додано `{«node»: «>=18.0.0\"}` до `залежності` у `io-package.json`. Це забезпечує повну сумісність із широко використовуваними випусками довгострокової підтримки (LTS) (Node.js 18 та 20), одночасно запобігаючи інсталяції на застарілих часах виконання.\n**Стійкість значення гібридного Modbus: ** Заборонено перезаписувати нестабільні параметри, які активно керуються за допомогою Modbus TCP (RAM) у дереві об'єктів IObroker, що використовуються у власному телеметричному опитуванні 3003 (EEPROM).",
|
|
95
|
-
"zh-cn": "* 🔧 兼容性和维护**\n\n**更广泛的 Node.js 兼容性:** 在 `package.json` 中将 Node.js 引擎要求从 `>=22` 调整为 `>=18.0.0`,并在 `io-package.json`的 `dependencies` 中将 `{“node”: “>=18.0.0\"}` 添加到 `dependencies` 中。这样可以与广泛使用的长期支持 (LTS) 版本(Node.js 18 和 20)完全兼容,同时防止在过时的运行时上进行安装。\n**混合 Modbus 价值持久化:** 防止原生 3003 遥测轮询 (EEPROM) 覆盖 IOBroker 对象树中通过 Modbus TCP (RAM) 主动管理的易失性参数。"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -256,6 +256,38 @@
|
|
|
256
256
|
},
|
|
257
257
|
"regex": [],
|
|
258
258
|
"limit": 10
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"category": "lwpSystem",
|
|
262
|
+
"name": {
|
|
263
|
+
"en": "Heat Pump Updates & Info",
|
|
264
|
+
"de": "Wärmepumpen Updates & Info",
|
|
265
|
+
"ru": "Обновления и информация о тепловом насосе",
|
|
266
|
+
"pt": "Atualizações e informações da bomba de calor",
|
|
267
|
+
"nl": "Warmtepomp updates & info",
|
|
268
|
+
"fr": "Mises à jour et infos de la pompe à chaleur",
|
|
269
|
+
"it": "Aggiornamenti e informazioni sulla pompa di calore",
|
|
270
|
+
"es": "Actualizaciones e información de la bomba de calor",
|
|
271
|
+
"pl": "Aktualizacje i informacje o pompie ciepła",
|
|
272
|
+
"uk": "Оновлення та інформація про тепловий насос",
|
|
273
|
+
"zh-cn": "热泵更新和信息"
|
|
274
|
+
},
|
|
275
|
+
"severity": "info",
|
|
276
|
+
"description": {
|
|
277
|
+
"en": "System information and firmware updates",
|
|
278
|
+
"de": "Systeminformationen und Firmware-Updates",
|
|
279
|
+
"ru": "Системная информация и обновления прошивки",
|
|
280
|
+
"pt": "Informações do sistema e atualizações de firmware",
|
|
281
|
+
"nl": "Systeeminformatie en firmware-updates",
|
|
282
|
+
"fr": "Informations système et mises à jour du firmware",
|
|
283
|
+
"it": "Informazioni di sistema e aggiornamenti firmware",
|
|
284
|
+
"es": "Información del sistema y actualizaciones de firmware",
|
|
285
|
+
"pl": "Informacje o systemie i aktualizacje oprogramowania",
|
|
286
|
+
"uk": "Системна інформація та оновлення прошивки",
|
|
287
|
+
"zh-cn": "系统信息和固件更新"
|
|
288
|
+
},
|
|
289
|
+
"regex": [],
|
|
290
|
+
"limit": 10
|
|
259
291
|
}
|
|
260
292
|
]
|
|
261
293
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.luxtronik2-controller",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.4",
|
|
4
4
|
"description": "Zugriff und Steuerung von Wärmepumpen mit einer Luxtronik 2.x Steuereinheit",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TbsJah",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"url": "https://github.com/TbsJah/ioBroker.luxtronik2-controller.git"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=22.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@iobroker/adapter-core": "^3.4.3",
|