From 3b32fd6415ef735e346d14de42442fce6e697154 Mon Sep 17 00:00:00 2001 From: Hombach Date: Sat, 27 Jul 2024 21:29:16 +0200 Subject: [PATCH 1/7] units --- README.md | 4 ++++ io-package.json | 28 ++++++++++++++-------------- package.json | 2 +- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 1eaffe62..0f665f31 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,10 @@ If you enjoyed this project — or just feeling generous, consider buying me a b ! Note that missing version entries are typically dependency updates for improved security. +### 3.4.4 (2024-07-xx) + +- (HombachC) local poll of data - change units Wh to kWh and round to 0,1kWh (#469) + ### 3.4.3 (2024-07-14) - (HombachC) added unit to Pulse temperature and round to 0,1°C diff --git a/io-package.json b/io-package.json index db37aade..b77f2234 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "tibberlink", - "version": "3.4.3", + "version": "3.4.4", "news": { + "3.4.4": { + "en": "local poll of data - change units Wh to kWh and round to 0.1kWh (#469)", + "de": "Lokale Abfrage von Daten - Einheiten von Wh in kWh ändern und auf 0,1 kWh runden (#469)", + "ru": "локальный опрос данных - изменить единицы измерения с Втч на кВтч и округлить до 0,1 кВтч (#469)", + "pt": "consulta local de dados - alterar unidades de Wh para kWh e arredondar para 0,1kWh (#469)", + "nl": "lokale gegevenspoll - verander eenheden van Wh naar kWh en rond af naar 0,1 kWh (#469)", + "fr": "sondage local de données - changer les unités de Wh en kWh et arrondir à 0,1kWh (#469)", + "it": "sondaggio locale dei dati - cambiare le unità da Wh a kWh e arrotondare a 0,1 kWh (#469)", + "es": "sondeo local de datos: cambiar unidades de Wh a kWh y redondear a 0,1kWh (#469)", + "pl": "lokalne sondowanie danych - zmiana jednostek z Wh na kWh i zaokrąglenie do 0,1 kWh (#469)", + "uk": "локальне опитування даних - змінити одиниці з Втч на кВтч та округлити до 0,1 кВтч (#469)", + "zh-cn": "本地数据轮询 - 将单位从 Wh 更改为 kWh 并四舍五入到 0.1kWh (#469)" + }, "3.4.3": { "en": "added unit to Pulse temperature and round to 0.1°C\nadded unit to Pulse battery voltage and round to 100mV\nadded unit to Pulse uptime\nadded state with Pulse uptime as human readable string", "de": "Einheit zur Pulse-Temperatur hinzugefügt und auf 0,1°C gerundet\nEinheit zur Pulse-Batteriespannung hinzugefügt und auf 100mV gerundet\nEinheit zur Pulse-Betriebszeit hinzugefügt\nZustand mit Pulse-Betriebszeit als lesbaren String hinzugefügt", @@ -224,19 +237,6 @@ "uk": "ВАЖЛИВО: Канали калькулятора типу 'smart battery buffer' тепер будуть перемикати виходи на 'ВИКЛ' тільки один раз, безпосередньо після встановлення каналу на Активний=false (#332)\nВиправлена помилка в jsonConfig.json (#329)", "zh-cn": "重要: '智能电池缓冲'类型的计算器通道现在将在将通道设置为Active=false后仅一次将输出切换到“关闭” (#332)\n已修复jsonConfig.json中的错误 (#329)" }, - "2.2.2": { - "en": "simplify internal state handling\nshorten home string in Calculator screen (#317)\nfix feedback loop trap (#321)\nadd some tooltips to config screen (#317)", - "de": "Vereinfachung der internen Zustandsverwaltung\nVerkürzung der Startzeichenfolge im Taschenrechnerbildschirm (#317)\nBehebung der Feedbackschleifenfalle (#321)\nEinige Quickinfo zu Konfigurationsbildschirm hinzufügen (#317)", - "ru": "упростить обработку внутреннего состояния\nсократить строку дома на экране калькулятора (#317)\nисправить ловушку обратной связи (#321)\nдобавить подсказки на экран конфигурации (#317)", - "pt": "simplificar o tratamento do estado interno\nencurtar a string de início na tela da Calculadora (#317)\ncorrigir a armadilha de loop de feedback (#321)\nadicionar algumas dicas de ferramentas à tela de configuração (#317)", - "nl": "vereenvoudig intern staatbeheer\nverkort de home-string op het rekenmachinescherm (#317)\nfeedback-lusvalkuil repareren (#321)\nenkele tooltips toevoegen aan het configuratiescherm (#317)", - "fr": "simplifier la gestion de l'état interne\nraccourcir la chaîne d'accueil dans l'écran de la calculatrice (#317)\ncorriger le piège de la boucle de rétroaction (#321)\najouter quelques info-bulles à l'écran de configuration (#317)", - "it": "semplificare la gestione dello stato interno\naccorciare la stringa home nello schermo della calcolatrice (#317)\ncorreggere l'inganno del loop di feedback (#321)\naggiungere alcuni tooltip allo schermo di configurazione (#317)", - "es": "simplificar el manejo del estado interno\nacortar la cadena de inicio en la pantalla de la calculadora (#317)\nreparar la trampa del bucle de retroalimentación (#321)\nañadir algunas sugerencias a la pantalla de configuración (#317)", - "pl": "uproszczenie obsługi stanu wewnętrznego\nskrócenie ciągu home na ekranie kalkulatora (#317)\nnaprawa pułapki pętli sprzężenia zwrotnego (#321)\ndodanie kilku podpowiedzi do ekranu konfiguracji (#317)", - "uk": "спростити обробку внутрішнього стану\nскоротити рядок дома на екрані калькулятора (#317)\nвиправити пастку петлі зворотного зв'язку (#321)\nдодати деякі підказки на екран конфігурації (#317)", - "zh-cn": "简化内部状态处理\n在计算器屏幕上缩短主页字符串(#317)\n修复反馈循环陷阱(#321)\n在配置屏幕上添加一些工具提示(#317)" - }, "2.2.0": { "en": "add data points for BestHoursBlock results - period and average cost (#240)", "de": "Datenpunkte für BestHoursBlock-Ergebnisse hinzufügen - Zeitraum und Durchschnittskosten (#240)", diff --git a/package.json b/package.json index e854a858..f00c1c92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.tibberlink", - "version": "3.4.3", + "version": "3.4.4", "description": "links tibber API data to be used in ioBroker", "author": { "name": "Hombach", From acbdb4bb78e849e06907770a9e04a8677c78dc31 Mon Sep 17 00:00:00 2001 From: Hombach Date: Sat, 27 Jul 2024 23:01:04 +0200 Subject: [PATCH 2/7] 3.4.4 --- build/lib/tibberLocal.js | 2 +- build/lib/tibberLocal.js.map | 2 +- src/lib/tibberLocal.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/lib/tibberLocal.js b/build/lib/tibberLocal.js index a1786627..6e16a04d 100644 --- a/build/lib/tibberLocal.js +++ b/build/lib/tibberLocal.js @@ -53,7 +53,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { // run first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.debug(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); + this.adapter.log.info(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { diff --git a/build/lib/tibberLocal.js.map b/build/lib/tibberLocal.js.map index 65ae8169..67b4c267 100644 --- a/build/lib/tibberLocal.js.map +++ b/build/lib/tibberLocal.js.map @@ -1 +1 @@ -{"version":3,"file":"tibberLocal.js","sourceRoot":"","sources":["../../src/lib/tibberLocal.ts"],"names":[],"mappings":";;;;;;AACA,kDAAiE;AACjE,uCAAsE;AACtE,iDAA8C;AAE9C,MAAa,WAAY,SAAQ,2BAAY;IAmC5C,YAAY,OAA8B;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QAlChB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAY,KAAK,CAAC;QAC1B,wBAAmB,GAAW,KAAK,CAAC;QACpC,oBAAe,GAAW,IAAI,CAAC;QAC/B,mDAAmD;QACnD,uBAAkB,GAAG;YACpB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE;YACvC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE;YAC9C,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE;YAC9C,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,mBAAmB,EAA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AE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IACzE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/src/lib/tibberLocal.ts b/src/lib/tibberLocal.ts index 676da2d4..81a058af 100644 --- a/src/lib/tibberLocal.ts +++ b/src/lib/tibberLocal.ts @@ -52,7 +52,7 @@ export class TibberLocal extends TibberHelper { // run first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.debug(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); + this.adapter.log.info(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { From e0c07f97a6194e61275f7567fa0f91d32d0f8330 Mon Sep 17 00:00:00 2001 From: Hombach Date: Sun, 28 Jul 2024 00:35:12 +0200 Subject: [PATCH 3/7] 3.4.4 --- build/lib/tibberLocal.js | 158 +++++++++++++++++++++++++++++---- build/lib/tibberLocal.js.map | 2 +- build/main.js | 3 + build/main.js.map | 2 +- src/lib/tibberLocal.ts | 164 +++++++++++++++++++++++++++++++---- src/main.ts | 3 + 6 files changed, 296 insertions(+), 36 deletions(-) diff --git a/build/lib/tibberLocal.js b/build/lib/tibberLocal.js index 6e16a04d..bb5067ec 100644 --- a/build/lib/tibberLocal.js +++ b/build/lib/tibberLocal.js @@ -45,21 +45,23 @@ class TibberLocal extends tibberHelper_1.TibberHelper { this.intervalList = []; } async setupOnePulseLocal(pulse) { + let meterMode = 0; try { if (this.adapter.config.PulseList[pulse].puName === undefined) { this.adapter.config.PulseList[pulse].puName = `Pulse Local`; } if (!this.TestMode) { - // run first time + //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.info(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); - this.fetchPulseInfo(pulse, response, "", true); + this.adapter.log.info(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); + meterMode = this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { this.adapter.log.error(`Error polling and parsing Tibber Bridge metrics data for the first time: ${e}`); }); - // setup metrics job + //#endregion + //#region *** setup Tibber Bridge metrics job const jobBridgeMetrics = setInterval(() => { this.getPulseData(pulse) .then((response) => { @@ -72,15 +74,23 @@ class TibberLocal extends tibberHelper_1.TibberHelper { }, this.MetricsDataInterval); if (jobBridgeMetrics) this.intervalList.push(jobBridgeMetrics); - // - // setup data job + //#endregion + //#region *** setup Tibber Pulse data job const jobPulseLocal = setInterval(() => { // poll data and log as HEX string this.getDataAsHexString(pulse) .then((hexString) => { - this.extractAndParseSMLMessages(pulse, hexString); this.adapter.log.debug(`got HEX data from local pulse: ${hexString}`); // log data as HEX string this.checkAndSetValue(this.getStatePrefixLocal(pulse, "SMLDataHEX"), hexString, this.adapter.config.PulseList[pulse].puName); + switch (meterMode) { + case 3: + this.extractAndParseSMLMessages(pulse, hexString); + break; + case 4: + break; + default: + this.extractAndParseSMLMessages(pulse, hexString); + } }) .catch((e) => { this.adapter.log.warn(`Error local polling of Tibber Pulse RAW data: ${e}`); @@ -88,7 +98,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { }, this.RawDataInterval); if (jobPulseLocal) this.intervalList.push(jobPulseLocal); - // + //#endregion } else { const parsedMessages = this.extractAndParseSMLMessages(99, this.TestData); @@ -99,6 +109,14 @@ class TibberLocal extends tibberHelper_1.TibberHelper { this.adapter.log.warn(this.generateErrorMessage(error, `setup of Bridge / Pulse local poll`)); } } + /** + * Clears all active intervals. + * + * This method iterates over all interval jobs stored in `this.intervalList` and clears each one. + * If an error occurs during this process, it logs a warning message. + * + * @returns A promise that resolves when all intervals have been cleared. + */ async clearIntervals() { try { // Here we must clear all intervals that may still be active @@ -169,10 +187,23 @@ class TibberLocal extends tibberHelper_1.TibberHelper { } */ } + /** + * Fetches and processes information from a given Tibber Bridge object. + * + * This method recursively iterates through the provided `obj`, processes specific keys, and updates the corresponding states. + * It handles different data types and formats them appropriately before updating the states. + * + * @param pulse - A number representing the pulse to fetch information for. + * @param obj - An object containing the pulse information to process. + * @param prefix - An optional string prefix to prepend to state keys (default is an empty string). + * @param firstTime - A boolean indicating if this is the first time fetching the information (default is false). + * @returns A number representing the meter mode. + */ fetchPulseInfo(pulse, obj, prefix = "", firstTime = false) { + let meterMode = 0; if (!obj || typeof obj !== "object") { this.adapter.log.warn(`Got bad Pulse info data to fetch!: ${obj}`); // - return; + return meterMode; } for (const key in obj) { if (typeof obj[key] === "object") { @@ -195,6 +226,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { case "meter_mode": if (typeof obj[key] === "number") { this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, `PulseInfo.${prefix}${key}`), Math.round(obj[key] * 10) / 10, `Mode of your Pulse to grid-meter communication`, "", false, false, firstTime); + meterMode = obj[key]; if (obj[key] !== 3) this.adapter.log.warn(`Potential problems with Pulse meter mode ${obj[key]}`); } @@ -244,7 +276,15 @@ class TibberLocal extends tibberHelper_1.TibberHelper { } } } + return meterMode; } + /** + * Retrieves data as a hex string from a specified pulse device. + * + * @param pulse - A number representing the index of the Pulse device in the PulseList configuration. + * @returns A Promise that resolves with the data as a hex string if successful. + * @throws Will throw an error if the HTTP request fails. + */ async getDataAsHexString(pulse) { const auth = `Basic ${Buffer.from(`admin:${this.adapter.config.PulseList[pulse].tibberBridgePassword}`).toString("base64")}`; const options = { @@ -253,7 +293,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { headers: { Authorization: auth, }, - responseType: "arraybuffer", // Wichtig für den Umgang mit Binärdaten + responseType: "arraybuffer", // important for handling binary data }; try { const response = await (0, axios_1.default)(options); @@ -288,12 +328,12 @@ class TibberLocal extends tibberHelper_1.TibberHelper { result.value = result.value / 100; } /* - if ("negSignPattern" in TibberConfig && TibberConfig.negSignPattern.length > 2) { - const obisCodeOb = obisCodesWithNames.find((item) => item.code === match[1]); + if ("negSignPattern" in TibberConfig && this.negSignPattern.length > 2) { + const obisCodeOb = this.obisCodesWithNames.find((item) => item.code === match[1]); if (obisCodeOb) { if (obisCodeOb.checkSign) { - if (transfer.includes(TibberConfig.negSignPattern)) { - //log(`Negativ!!!!`) + if (transfer.includes(this.negSignPattern)) { + //this.adapter.log.debug(`negative!!!!`) result.value = result.value * -1; } } @@ -307,6 +347,10 @@ class TibberLocal extends tibberHelper_1.TibberHelper { this.adapter.log.debug(`RAW: ${transfer}`); continue; } + if (result.unit == "Wh") { + result.unit = "kWh"; + result.value = Math.round(result.value / 100) / 10; + } this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, result.name), result.value, this.adapter.config.PulseList[pulse].puName, result.unit); this.adapter.log.debug(JSON.stringify(result)); const formattedMatch = match[0].replace(/(..)/g, "$1 ").trim(); @@ -315,6 +359,64 @@ class TibberLocal extends tibberHelper_1.TibberHelper { if (output.length > 0) this.adapter.log.debug(`Format for https://tasmota-sml-parser.dicp.net :\n ${output.join("")}`); } + /* + private async extractAndParseMode4Messages(pulse: number, transfer: string): Promise { + interface Measurement { + field: string; + value: string; + unit: string; + } + + function decodeProtocol(protocol: string): Measurement[] { + const measurements: Measurement[] = []; + + // Split the protocol by new line + const lines = protocol.split('\r\n'); + + for (const line of lines) { + // Check if the line is not empty + if (line.trim() !== '') { + // Convert hex to ASCII + const asciiLine = hexToAscii(line); + + // Parse the line to extract field, value, and unit + const match = asciiLine.match(/1-0:([^*]+)\*255\(([^*]+)\*(.+)\)/); + + if (match) { + const field = match[1]; + const value = match[2]; + const unit = match[3]; + + // Push the parsed measurement into the measurements array + measurements.push({ field, value, unit }); + } + } + } + + return measurements; + } + + function hexToAscii(hex: string): string { + let str = ''; + for (let i = 0; i < hex.length; i += 2) { + str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); + } + return str; + } + + // Example usage + const protocol = `2f45425a35444433325230364454415f3130370d0a312d303a302e302e302a323535283145425a30313031303033313331290d0a312d303a39362e312e302a323535283145425a30313031303033313331290d0a312d303a312e382e302a323535283030373435392e37383437313635322a6b5768290d0a312d303a312e382e312a323535283030303030312e3030332a6b5768290d0a312d303a312e382e322a323535283030373435382e3738312a6b5768290d0a312d303a322e382e302a323535283032373532312e33393931323739342a6b5768290d0a312d303a31362e372e302a323535283030303030322e36392a57290d0a312d303a33362e372e302a323535283030303133352e39352a57290d0a312d303a35362e372e302a323535283030303233392e39312a57290d0a312d303a37362e372e302a323535282d3030303337332e31372a57290d0a312d303a33322e372e302a323535283233362e312a56290d0a312d303a35322e372e302a323535283233352e372a56290d0a312d303a37322e372e302a323535283233392e312a56290d0a312d303a39362e352e302a323535283030314334313034290d0a302d303a39362e382e302a323535283036344641453235290d0a210d0a`; + + const decodedMeasurements = decodeProtocol(protocol); + console.log(decodedMeasurements); + } + */ + /** + * Validates a Unix timestamp and converts it to a German date-time string. + * + * @param n - A number representing the Unix timestamp to validate and convert. + * @returns A string representing the date-time in German format if the timestamp is valid, otherwise returns false. + */ isValidUnixTimestampAndConvert(n) { // Typüberprüfung und Bereichsüberprüfung (optional) const currentTime = Math.floor(Date.now() / 1000); @@ -323,10 +425,16 @@ class TibberLocal extends tibberHelper_1.TibberHelper { } // Konvertiere zu deutschem Zeitformat const date = new Date(n * 1000); - return date.toLocaleString("de-DE"); + return date.toLocaleString("de-DE"); // WiP: use system string instead of always German; use date-fns } } exports.TibberLocal = TibberLocal; +/** + * Parses a signed hexadecimal string and returns the corresponding number. + * + * @param hexStr - A string representing the hexadecimal value to parse. + * @returns A number representing the signed integer value of the hexadecimal input. + */ function parseSignedHex(hexStr) { let num = BigInt(`0x${hexStr}`); const bitLength = hexStr.length * 4; @@ -362,10 +470,21 @@ function parseSignedHex(hexStr) { } return Number(num.toString()); } +/** + * Retrieves the current time formatted as a string in "HH:mm:ss.SSS" format. + * + * @returns A string representing the current time in "HH:mm:ss.SSS" format. + */ function getCurrentTimeFormatted() { const now = new Date(); return (0, date_fns_1.format)(now, "HH:mm:ss.SSS"); } +/** + * Finds the DLMS unit corresponding to a given decimal code. + * + * @param decimalCode - A number representing the DLMS code to look up. + * @returns A string representing the unit associated with the DLMS code, or an empty string if the code is not found. + */ function findDlmsUnitByCode(decimalCode) { /* Static lookup table */ const dlmsUnits = [ @@ -438,8 +557,15 @@ function findDlmsUnitByCode(decimalCode) { const found = dlmsUnits.find((item) => item.code === decimalCode); return found ? found.unit : ""; } +/** + * Finds the name corresponding to a given OBIS code. + * + * @param code - A string representing the OBIS code to look up. + * @param obisCodesWithNames - An array of objects where each object contains a `code` and `name` property. + * @returns A string representing the name associated with the OBIS code, or "Unknown" if the code is not found. + */ function findObisCodeName(code, obisCodesWithNames) { const found = obisCodesWithNames.find((item) => item.code === code); - return found ? found.name : "Unbekannt"; + return found ? found.name : `Unknown`; } //# sourceMappingURL=tibberLocal.js.map \ No newline at end of file diff --git a/build/lib/tibberLocal.js.map b/build/lib/tibberLocal.js.map index 67b4c267..e1cdebc4 100644 --- a/build/lib/tibberLocal.js.map +++ b/build/lib/tibberLocal.js.map @@ -1 +1 @@ -{"version":3,"file":"tibberLocal.js","sourceRoot":"","sources":["../../src/lib/tibberLocal.ts"],"names":[],"mappings":";;;;;;AACA,kDAAiE;AACjE,uCAAsE;AACtE,iDAA8C;AAE9C,MAAa,WAAY,SAAQ,2BAAY;IAmC5C,YAAY,OAA8B;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QAlChB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAY,KAAK,CAAC;QAC1B,wBAAmB,GAAW,KAAK,CAAC;QACpC,oBAAe,GAAW,IAAI,CAAC;QAC/B,mDAAmD;QACnD,uBAAkB,GAAG;YACpB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE;YACvC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE;YAC9C,EAAE,I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AC,CAAC,SAAS,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/build/main.js b/build/main.js index f0a7d672..ed2ae20c 100644 --- a/build/main.js +++ b/build/main.js @@ -422,6 +422,9 @@ class Tibberlink extends utils.Adapter { for (const cronJob of this.cronList) { cronJob.stop(); } + if (this.config.UseLocalPulseData) { + //WiP call shutdown in tibberLocale + } // info.connect to false, when adapter is shut down this.setState("info.connection", false, true); callback(); diff --git a/build/main.js.map b/build/main.js.map index e7285e9a..27a68067 100644 --- a/build/main.js.map +++ b/build/main.js.map @@ -1 +1 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wGAAwG;AACxG,8DAAgD;AAChD,+BAA+B;AAC/B,uCAAkC;AAElC,2DAAwD;AACxD,6DAA0D;AAE1D,mDAAgD;AAChD,mDAAgD;AAEhD,MAAM,UAAW,SAAQ,KAAK,CAAC,OAAO;IAMrC,YAAmB,UAAyC,EAAE;QAC7D,KAAK,CAAC;YACL,GAAG,OAAO;YACV,IAAI,EAAE,YAAY;SAClB,CAAC,CAAC;QARJ,iBAAY,GAAgB,EAAE,CAAC;QAC/B,aAAQ,GAAW,EAAE,CAAC;QACtB,qBAAgB,GAAG,IAAI,mCAAgB,CAAC,IAAI,CAAC,CAAC;QAwT9C;;;;;;WAMG;QACK,mBAAc,GAAG,CAAC,UAAkB,EAAE,UAAkB,EAAU,EAAE;YAC3E,IAAI,UAAU,IAAI,UAAU;gBAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;YAC3F,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,UAAU,CAAC;YAC7E,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;QAC9C,CAAC,CAAC;QA5TD,IAAI,CAAC,EAAE,CAAC,OAAO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;aACD;iBAAM;gBACN,wBAAwB;gBACxB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;aACrC;SACD;QAAC,OAAO,CAAC,EAAE;YACX,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,iDAAiD,CAAC,EAAE,CAAC,CAAC;SACrE;IACF,CAAC;CACD;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE;IAC5B,yCAAyC;IACzC,MAAM,CAAC,OAAO,GAAG,CAAC,OAAkD,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC;CACjG;KAAM;IACN,wCAAwC;IACxC,CAAC,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,EAAE,CAAC;CAC3B"} \ No newline at end of file diff --git a/src/lib/tibberLocal.ts b/src/lib/tibberLocal.ts index 81a058af..d0f95085 100644 --- a/src/lib/tibberLocal.ts +++ b/src/lib/tibberLocal.ts @@ -44,22 +44,24 @@ export class TibberLocal extends TibberHelper { } async setupOnePulseLocal(pulse: number): Promise { + let meterMode: number = 0; try { if (this.adapter.config.PulseList[pulse].puName === undefined) { this.adapter.config.PulseList[pulse].puName = `Pulse Local`; } if (!this.TestMode) { - // run first time + //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.info(`Got Bridge metrics data for the first time: ${JSON.stringify(response)}`); - this.fetchPulseInfo(pulse, response, "", true); + this.adapter.log.info(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); + meterMode = this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { this.adapter.log.error(`Error polling and parsing Tibber Bridge metrics data for the first time: ${e}`); }); + //#endregion - // setup metrics job + //#region *** setup Tibber Bridge metrics job const jobBridgeMetrics = setInterval(() => { this.getPulseData(pulse) .then((response) => { @@ -71,22 +73,30 @@ export class TibberLocal extends TibberHelper { }); }, this.MetricsDataInterval); if (jobBridgeMetrics) this.intervalList.push(jobBridgeMetrics); - // - // setup data job + //#endregion + //#region *** setup Tibber Pulse data job const jobPulseLocal = setInterval(() => { // poll data and log as HEX string this.getDataAsHexString(pulse) .then((hexString) => { - this.extractAndParseSMLMessages(pulse, hexString); this.adapter.log.debug(`got HEX data from local pulse: ${hexString}`); // log data as HEX string this.checkAndSetValue(this.getStatePrefixLocal(pulse, "SMLDataHEX"), hexString, this.adapter.config.PulseList[pulse].puName); + switch (meterMode) { + case 3: + this.extractAndParseSMLMessages(pulse, hexString); + break; + case 4: + break; + default: + this.extractAndParseSMLMessages(pulse, hexString); + } }) .catch((e) => { this.adapter.log.warn(`Error local polling of Tibber Pulse RAW data: ${e}`); }); }, this.RawDataInterval); if (jobPulseLocal) this.intervalList.push(jobPulseLocal); - // + //#endregion } else { const parsedMessages = this.extractAndParseSMLMessages(99, this.TestData); this.adapter.log.warn(`Parsed messages from test data ${parsedMessages}`); @@ -96,6 +106,14 @@ export class TibberLocal extends TibberHelper { } } + /** + * Clears all active intervals. + * + * This method iterates over all interval jobs stored in `this.intervalList` and clears each one. + * If an error occurs during this process, it logs a warning message. + * + * @returns A promise that resolves when all intervals have been cleared. + */ async clearIntervals(): Promise { try { // Here we must clear all intervals that may still be active @@ -165,10 +183,24 @@ export class TibberLocal extends TibberHelper { } */ } - private fetchPulseInfo(pulse: number, obj: any, prefix: string = "", firstTime: boolean = false): void { + + /** + * Fetches and processes information from a given Tibber Bridge object. + * + * This method recursively iterates through the provided `obj`, processes specific keys, and updates the corresponding states. + * It handles different data types and formats them appropriately before updating the states. + * + * @param pulse - A number representing the pulse to fetch information for. + * @param obj - An object containing the pulse information to process. + * @param prefix - An optional string prefix to prepend to state keys (default is an empty string). + * @param firstTime - A boolean indicating if this is the first time fetching the information (default is false). + * @returns A number representing the meter mode. + */ + private fetchPulseInfo(pulse: number, obj: any, prefix: string = "", firstTime: boolean = false): number { + let meterMode: number = 0; if (!obj || typeof obj !== "object") { this.adapter.log.warn(`Got bad Pulse info data to fetch!: ${obj}`); // - return; + return meterMode; } for (const key in obj) { if (typeof obj[key] === "object") { @@ -213,6 +245,7 @@ export class TibberLocal extends TibberHelper { false, firstTime, ); + meterMode = obj[key]; if (obj[key] !== 3) this.adapter.log.warn(`Potential problems with Pulse meter mode ${obj[key]}`); } break; @@ -322,8 +355,16 @@ export class TibberLocal extends TibberHelper { } } } + return meterMode; } + /** + * Retrieves data as a hex string from a specified pulse device. + * + * @param pulse - A number representing the index of the Pulse device in the PulseList configuration. + * @returns A Promise that resolves with the data as a hex string if successful. + * @throws Will throw an error if the HTTP request fails. + */ private async getDataAsHexString(pulse: number): Promise { const auth = `Basic ${Buffer.from(`admin:${this.adapter.config.PulseList[pulse].tibberBridgePassword}`).toString("base64")}`; const options: AxiosRequestConfig = { @@ -332,9 +373,8 @@ export class TibberLocal extends TibberHelper { headers: { Authorization: auth, }, - responseType: "arraybuffer", // Wichtig für den Umgang mit Binärdaten + responseType: "arraybuffer", // important for handling binary data }; - try { const response: AxiosResponse = await axios(options); const buffer = Buffer.from(response.data); @@ -345,6 +385,7 @@ export class TibberLocal extends TibberHelper { throw error; } } + private async extractAndParseSMLMessages(pulse: number, transfer: string): Promise { interface SmlResult { name: string; @@ -375,12 +416,12 @@ export class TibberLocal extends TibberHelper { result.value = result.value / 100; } /* - if ("negSignPattern" in TibberConfig && TibberConfig.negSignPattern.length > 2) { - const obisCodeOb = obisCodesWithNames.find((item) => item.code === match[1]); + if ("negSignPattern" in TibberConfig && this.negSignPattern.length > 2) { + const obisCodeOb = this.obisCodesWithNames.find((item) => item.code === match[1]); if (obisCodeOb) { if (obisCodeOb.checkSign) { - if (transfer.includes(TibberConfig.negSignPattern)) { - //log(`Negativ!!!!`) + if (transfer.includes(this.negSignPattern)) { + //this.adapter.log.debug(`negative!!!!`) result.value = result.value * -1; } } @@ -394,6 +435,10 @@ export class TibberLocal extends TibberHelper { this.adapter.log.debug(`RAW: ${transfer}`); continue; } + if (result.unit == "Wh") { + result.unit = "kWh"; + result.value = Math.round(result.value / 100) / 10; + } this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, result.name), result.value, this.adapter.config.PulseList[pulse].puName, result.unit); this.adapter.log.debug(JSON.stringify(result)); const formattedMatch = match[0].replace(/(..)/g, "$1 ").trim(); @@ -402,6 +447,65 @@ export class TibberLocal extends TibberHelper { if (output.length > 0) this.adapter.log.debug(`Format for https://tasmota-sml-parser.dicp.net :\n ${output.join("")}`); } + /* + private async extractAndParseMode4Messages(pulse: number, transfer: string): Promise { + interface Measurement { + field: string; + value: string; + unit: string; + } + + function decodeProtocol(protocol: string): Measurement[] { + const measurements: Measurement[] = []; + + // Split the protocol by new line + const lines = protocol.split('\r\n'); + + for (const line of lines) { + // Check if the line is not empty + if (line.trim() !== '') { + // Convert hex to ASCII + const asciiLine = hexToAscii(line); + + // Parse the line to extract field, value, and unit + const match = asciiLine.match(/1-0:([^*]+)\*255\(([^*]+)\*(.+)\)/); + + if (match) { + const field = match[1]; + const value = match[2]; + const unit = match[3]; + + // Push the parsed measurement into the measurements array + measurements.push({ field, value, unit }); + } + } + } + + return measurements; + } + + function hexToAscii(hex: string): string { + let str = ''; + for (let i = 0; i < hex.length; i += 2) { + str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); + } + return str; + } + + // Example usage + const protocol = `2f45425a35444433325230364454415f3130370d0a312d303a302e302e302a323535283145425a30313031303033313331290d0a312d303a39362e312e302a323535283145425a30313031303033313331290d0a312d303a312e382e302a323535283030373435392e37383437313635322a6b5768290d0a312d303a312e382e312a323535283030303030312e3030332a6b5768290d0a312d303a312e382e322a323535283030373435382e3738312a6b5768290d0a312d303a322e382e302a323535283032373532312e33393931323739342a6b5768290d0a312d303a31362e372e302a323535283030303030322e36392a57290d0a312d303a33362e372e302a323535283030303133352e39352a57290d0a312d303a35362e372e302a323535283030303233392e39312a57290d0a312d303a37362e372e302a323535282d3030303337332e31372a57290d0a312d303a33322e372e302a323535283233362e312a56290d0a312d303a35322e372e302a323535283233352e372a56290d0a312d303a37322e372e302a323535283233392e312a56290d0a312d303a39362e352e302a323535283030314334313034290d0a302d303a39362e382e302a323535283036344641453235290d0a210d0a`; + + const decodedMeasurements = decodeProtocol(protocol); + console.log(decodedMeasurements); + } + */ + + /** + * Validates a Unix timestamp and converts it to a German date-time string. + * + * @param n - A number representing the Unix timestamp to validate and convert. + * @returns A string representing the date-time in German format if the timestamp is valid, otherwise returns false. + */ private isValidUnixTimestampAndConvert(n: number): false | string { // Typüberprüfung und Bereichsüberprüfung (optional) const currentTime = Math.floor(Date.now() / 1000); @@ -410,10 +514,16 @@ export class TibberLocal extends TibberHelper { } // Konvertiere zu deutschem Zeitformat const date = new Date(n * 1000); - return date.toLocaleString("de-DE"); + return date.toLocaleString("de-DE"); // WiP: use system string instead of always German; use date-fns } } +/** + * Parses a signed hexadecimal string and returns the corresponding number. + * + * @param hexStr - A string representing the hexadecimal value to parse. + * @returns A number representing the signed integer value of the hexadecimal input. + */ function parseSignedHex(hexStr: string): number { let num = BigInt(`0x${hexStr}`); const bitLength = hexStr.length * 4; @@ -439,11 +549,22 @@ function parseSignedHex(hexStr: string): number { return Number(num.toString()); } +/** + * Retrieves the current time formatted as a string in "HH:mm:ss.SSS" format. + * + * @returns A string representing the current time in "HH:mm:ss.SSS" format. + */ function getCurrentTimeFormatted(): string { const now = new Date(); return format(now, "HH:mm:ss.SSS"); } +/** + * Finds the DLMS unit corresponding to a given decimal code. + * + * @param decimalCode - A number representing the DLMS code to look up. + * @returns A string representing the unit associated with the DLMS code, or an empty string if the code is not found. + */ function findDlmsUnitByCode(decimalCode: number): string { /* Static lookup table */ const dlmsUnits = [ @@ -517,7 +638,14 @@ function findDlmsUnitByCode(decimalCode: number): string { return found ? found.unit : ""; } +/** + * Finds the name corresponding to a given OBIS code. + * + * @param code - A string representing the OBIS code to look up. + * @param obisCodesWithNames - An array of objects where each object contains a `code` and `name` property. + * @returns A string representing the name associated with the OBIS code, or "Unknown" if the code is not found. + */ function findObisCodeName(code: string, obisCodesWithNames: any): string { const found = obisCodesWithNames.find((item: any) => item.code === code); - return found ? found.name : "Unbekannt"; + return found ? found.name : `Unknown`; } diff --git a/src/main.ts b/src/main.ts index 77e17c20..57e198b7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -402,6 +402,9 @@ class Tibberlink extends utils.Adapter { for (const cronJob of this.cronList) { cronJob.stop(); } + if (this.config.UseLocalPulseData) { + //WiP call shutdown in tibberLocale + } // info.connect to false, when adapter is shut down this.setState("info.connection", false, true); callback(); From d6902b23511148f023c52673d9da824584317639 Mon Sep 17 00:00:00 2001 From: Hombach Date: Sun, 28 Jul 2024 00:40:16 +0200 Subject: [PATCH 4/7] 3.4.4 --- build/lib/tibberHelper.js | 9 +++++++++ build/lib/tibberHelper.js.map | 2 +- src/lib/tibberHelper.ts | 9 +++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/build/lib/tibberHelper.js b/build/lib/tibberHelper.js index 070f0e97..daf71f10 100644 --- a/build/lib/tibberHelper.js +++ b/build/lib/tibberHelper.js @@ -107,6 +107,15 @@ class TibberHelper { } return true; } + /** + * Checks if the given input variable is effectively empty. + * + * This method examines the provided `inputVar` to determine if it contains any meaningful data. + * It performs a series of transformations to strip out whitespace and common punctuation, then checks if the result is an empty string. + * + * @param inputVar - The state variable to check, which can be of type `ioBroker.State`, `null`, or `undefined`. + * @returns A boolean indicating whether the input variable is considered empty (`true` if empty, `false` otherwise). + */ isLikeEmpty(inputVar) { if (typeof inputVar !== "undefined" && inputVar !== null) { let sTemp = JSON.stringify(inputVar); diff --git a/build/lib/tibberHelper.js.map b/build/lib/tibberHelper.js.map index 7f894152..a5fd9194 100644 --- a/build/lib/tibberHelper.js.map +++ b/build/lib/tibberHelper.js.map @@ -1 +1 @@ -{"version":3,"file":"tibberHelper.js","sourceRoot":"","sources":["../../src/lib/tibberHelper.ts"],"names":[],"mappings":";;;AAEA,IAAY,UASX;AATD,WAAY,UAAU;IACrB,mDAAY,CAAA;IACZ,iEAAmB,CAAA;IAC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,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,mFAAmF;SAClH;aAAM;YACN,aAAa,GAAG,eAAe,CAAC,CAAC,4EAA4E;SAC7G;QACD,oFAAoF;QACpF,OAAO,UAAU,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,UAAU,IAAI,gBAAgB,uBAAuB,OAAO,OAAO,aAAa,EAAE,CAAC;IAClI,CAAC;CACD;AA/QD,oCA+QC"} \ No newline at end of file +{"version":3,"file":"tibberHelper.js","sourceRoot":"","sources":["../../src/lib/tibberHelper.ts"],"names":[],"mappings":";;;AAEA,IAAY,UASX;AATD,WAAY,UAAU;IACrB,mDAAY,CAAA;IACZ,iEAAmB,CAAA;IACnB,+DAAkB,CAAA;IAClB,yDAAe,CAAA;IACf,uEAAsB,CAAA;IACtB,qEAAqB,CAAA;IACrB,uEAAsB,CAAA;IACtB,uBAAuB;AACxB,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAED,SAAgB,sBAAsB,CAAC,QAAoB;IAC1D,QAAQ,QAAQ,EAAE;QACjB,KAAK,UAAU,CAAC,QAAQ;YACvB,OAAO,WAAW,CAAC;QACpB,KAAK,UAAU,CAAC,eAAe;YAC9B,OAAO,mBAAmB,CAAC;QAC5B,KAAK,UAAU,CAAC,cAAc;YAC7B,OAAO,kBAAkB,CAAC;QAC3B,KAAK,UAAU,CAAC,WAAW;YAC1B,OAAO,eAAe,CAAC;QACxB,KAAK,UAAU,CAAC,kBAAkB;YACjC,OAAO,uBAAuB,CAAC;QAChC,KAAK,UAAU,CAAC,iBAAiB;YAChC,OAAO,sBAAsB,CAAC;QAC/B,KAAK,UAAU,CAAC,kBAAkB;YACjC,OAAO,sBAAsB,CAAC;QAC/B,mCAAmC;QACnC,+BAA+B;QAC/B;YACC,OAAO,SAAS,CAAC;KAClB;AACF,CAAC;AArBD,wDAqBC;AAUD,MAAa,YAAY;IAGxB,YAAY,OAA8B;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;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AI,EAAE,CAAC,CAAC;aAC7E;SACD;IACF,CAAC;IAED;;;;;;OAMG;IACI,oBAAoB,CAAC,KAAU,EAAE,OAAe;QACtD,IAAI,aAAa,GAAG,EAAE,CAAC;QACvB,kEAAkE;QAClE,IAAI,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;YAChD,kEAAkE;YAClE,KAAK,MAAM,GAAG,IAAI,KAAK,CAAC,MAAM,EAAE;gBAC/B,IAAI,aAAa;oBAAE,aAAa,IAAI,IAAI,CAAC;gBACzC,aAAa,IAAI,GAAG,CAAC,OAAO,CAAC;aAC7B;SACD;aAAM,IAAI,KAAK,CAAC,OAAO,EAAE;YACzB,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,mFAAmF;SAClH;aAAM;YACN,aAAa,GAAG,eAAe,CAAC,CAAC,4EAA4E;SAC7G;QACD,oFAAoF;QACpF,OAAO,UAAU,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,UAAU,IAAI,gBAAgB,uBAAuB,OAAO,OAAO,aAAa,EAAE,CAAC;IAClI,CAAC;CACD;AAxRD,oCAwRC"} \ No newline at end of file diff --git a/src/lib/tibberHelper.ts b/src/lib/tibberHelper.ts index 1766b5f3..516c8ebd 100644 --- a/src/lib/tibberHelper.ts +++ b/src/lib/tibberHelper.ts @@ -119,6 +119,15 @@ export class TibberHelper { return true; } + /** + * Checks if the given input variable is effectively empty. + * + * This method examines the provided `inputVar` to determine if it contains any meaningful data. + * It performs a series of transformations to strip out whitespace and common punctuation, then checks if the result is an empty string. + * + * @param inputVar - The state variable to check, which can be of type `ioBroker.State`, `null`, or `undefined`. + * @returns A boolean indicating whether the input variable is considered empty (`true` if empty, `false` otherwise). + */ private isLikeEmpty(inputVar: ioBroker.State | null | undefined): boolean { if (typeof inputVar !== "undefined" && inputVar !== null) { let sTemp = JSON.stringify(inputVar); From 6fca5f21419b67900598dfdf3c439828872e97af Mon Sep 17 00:00:00 2001 From: Hombach Date: Sun, 28 Jul 2024 01:02:21 +0200 Subject: [PATCH 5/7] 3.4.4 --- build/lib/tibberLocal.js | 2 +- build/lib/tibberLocal.js.map | 2 +- src/lib/tibberLocal.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/lib/tibberLocal.js b/build/lib/tibberLocal.js index bb5067ec..eada3316 100644 --- a/build/lib/tibberLocal.js +++ b/build/lib/tibberLocal.js @@ -54,7 +54,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.info(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); + this.adapter.log.debug(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); meterMode = this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { diff --git a/build/lib/tibberLocal.js.map b/build/lib/tibberLocal.js.map index e1cdebc4..5e38d801 100644 --- a/build/lib/tibberLocal.js.map +++ b/build/lib/tibberLocal.js.map @@ -1 +1 @@ -{"version":3,"file":"tibberLocal.js","sourceRoot":"","sources":["../../src/lib/tibberLocal.ts"],"names":[],"mappings":";;;;;;AACA,kDAAiE;AACjE,uCAAsE;AACtE,iDAA8C;AAE9C,MAAa,WAAY,SAAQ,2BAAY;IAmC5C,YAAY,OAA8B;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QAlChB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAY,KAAK,CAAC;QAC1B,wBAAmB,GAAW,KAAK,CAAC;QACpC,oBAAe,GAAW,IAAI,CAAC;QAC/B,mDAAmD;QACnD,uBAAkB,GAAG;YACpB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE;YACvC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,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E,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE;QAC7E,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,0BAA0B,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE;QACxG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,6BAA6B,EAAE;KAChG,CAAC;IACF,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC;IAClE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,SAAS,gBAAgB,CAAC,IAAY,EAAE,kBAAuB;IAC9D,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IACzE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/src/lib/tibberLocal.ts b/src/lib/tibberLocal.ts index d0f95085..82580c5d 100644 --- a/src/lib/tibberLocal.ts +++ b/src/lib/tibberLocal.ts @@ -53,7 +53,7 @@ export class TibberLocal extends TibberHelper { //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { - this.adapter.log.info(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); + this.adapter.log.debug(`Polled local Tibber Bridge metrics for the first time: ${JSON.stringify(response)}`); meterMode = this.fetchPulseInfo(pulse, response, "", true); }) .catch((e) => { From 7e6fde9b96fbdbd501195c0251907b25cb5fe8db Mon Sep 17 00:00:00 2001 From: Hombach Date: Sun, 28 Jul 2024 01:23:51 +0200 Subject: [PATCH 6/7] 3.4.4 --- build/lib/tibberLocal.js | 10 ++++++---- build/lib/tibberLocal.js.map | 2 +- src/lib/tibberLocal.ts | 18 ++++++++++++++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/build/lib/tibberLocal.js b/build/lib/tibberLocal.js index eada3316..28ce20d6 100644 --- a/build/lib/tibberLocal.js +++ b/build/lib/tibberLocal.js @@ -51,6 +51,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { this.adapter.config.PulseList[pulse].puName = `Pulse Local`; } if (!this.TestMode) { + let firstDataRun = true; //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { @@ -84,13 +85,14 @@ class TibberLocal extends tibberHelper_1.TibberHelper { this.checkAndSetValue(this.getStatePrefixLocal(pulse, "SMLDataHEX"), hexString, this.adapter.config.PulseList[pulse].puName); switch (meterMode) { case 3: - this.extractAndParseSMLMessages(pulse, hexString); + this.extractAndParseSMLMessages(pulse, hexString, firstDataRun); break; case 4: break; default: - this.extractAndParseSMLMessages(pulse, hexString); + this.extractAndParseSMLMessages(pulse, hexString, firstDataRun); } + firstDataRun = false; }) .catch((e) => { this.adapter.log.warn(`Error local polling of Tibber Pulse RAW data: ${e}`); @@ -306,7 +308,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { throw error; } } - async extractAndParseSMLMessages(pulse, transfer) { + async extractAndParseSMLMessages(pulse, transfer, forceMode = false) { const messages = transfer.matchAll(/7707(0100[0-9a-fA-F].{5}?ff).{4,28}62([0-9a-fA-F]{2})52([0-9a-fA-F]{2})([0-9a-fA-F]{2})((?:[0-9a-fA-F]{2}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8}|[0-9a-fA-F]{10}|[0-9a-fA-F]{8}|[0-9a-fA-F]{16}))01(?=(77)|(0101)|(\n))/g); const output = []; for (const match of messages) { @@ -351,7 +353,7 @@ class TibberLocal extends tibberHelper_1.TibberHelper { result.unit = "kWh"; result.value = Math.round(result.value / 100) / 10; } - this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, result.name), result.value, this.adapter.config.PulseList[pulse].puName, result.unit); + this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, result.name), result.value, this.adapter.config.PulseList[pulse].puName, result.unit, false, false, forceMode); this.adapter.log.debug(JSON.stringify(result)); const formattedMatch = match[0].replace(/(..)/g, "$1 ").trim(); output.push(`${getCurrentTimeFormatted()}: ${formattedMatch}\n`); diff --git a/build/lib/tibberLocal.js.map b/build/lib/tibberLocal.js.map index 5e38d801..4b90d3d0 100644 --- a/build/lib/tibberLocal.js.map +++ b/build/lib/tibberLocal.js.map @@ -1 +1 @@ -{"version":3,"file":"tibberLocal.js","sourceRoot":"","sources":["../../src/lib/tibberLocal.ts"],"names":[],"mappings":";;;;;;AACA,kDAAiE;AACjE,uCAAsE;AACtE,iDAA8C;AAE9C,MAAa,WAAY,SAAQ,2BAAY;IAmC5C,YAAY,OAA8B;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QAlChB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAY,KAAK,CAAC;QAC1B,wBAAmB,GAAW,KAAK,CAAC;QACpC,oBAAe,GAAW,IAAI,CAAC;QAC/B,mDAAmD;QACnD,uBAAkB,GAAG;YACpB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE;YACvC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE;YACxD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE;YAC9C,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,sBAAsB,EAAE;YACtD,EAAE,IAAI,EAAE,cAAc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EAAE,EAAE,YAAY,EAAE,EAAE,EAAE;QAC7E,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,0BAA0B,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE;QACxG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,6BAA6B,EAAE;KAChG,CAAC;IACF,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC;IAClE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,SAAS,gBAAgB,CAAC,IAAY,EAAE,kBAAuB;IAC9D,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IACzE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/src/lib/tibberLocal.ts b/src/lib/tibberLocal.ts index 82580c5d..8000f9fc 100644 --- a/src/lib/tibberLocal.ts +++ b/src/lib/tibberLocal.ts @@ -50,6 +50,7 @@ export class TibberLocal extends TibberHelper { this.adapter.config.PulseList[pulse].puName = `Pulse Local`; } if (!this.TestMode) { + let firstDataRun: boolean = true; //#region *** get Tibber Bridge metrics first time this.getPulseData(pulse) .then((response) => { @@ -83,13 +84,14 @@ export class TibberLocal extends TibberHelper { this.checkAndSetValue(this.getStatePrefixLocal(pulse, "SMLDataHEX"), hexString, this.adapter.config.PulseList[pulse].puName); switch (meterMode) { case 3: - this.extractAndParseSMLMessages(pulse, hexString); + this.extractAndParseSMLMessages(pulse, hexString, firstDataRun); break; case 4: break; default: - this.extractAndParseSMLMessages(pulse, hexString); + this.extractAndParseSMLMessages(pulse, hexString, firstDataRun); } + firstDataRun = false; }) .catch((e) => { this.adapter.log.warn(`Error local polling of Tibber Pulse RAW data: ${e}`); @@ -386,7 +388,7 @@ export class TibberLocal extends TibberHelper { } } - private async extractAndParseSMLMessages(pulse: number, transfer: string): Promise { + private async extractAndParseSMLMessages(pulse: number, transfer: string, forceMode: boolean = false): Promise { interface SmlResult { name: string; value: number; @@ -439,7 +441,15 @@ export class TibberLocal extends TibberHelper { result.unit = "kWh"; result.value = Math.round(result.value / 100) / 10; } - this.checkAndSetValueNumber(this.getStatePrefixLocal(pulse, result.name), result.value, this.adapter.config.PulseList[pulse].puName, result.unit); + this.checkAndSetValueNumber( + this.getStatePrefixLocal(pulse, result.name), + result.value, + this.adapter.config.PulseList[pulse].puName, + result.unit, + false, + false, + forceMode, + ); this.adapter.log.debug(JSON.stringify(result)); const formattedMatch = match[0].replace(/(..)/g, "$1 ").trim(); output.push(`${getCurrentTimeFormatted()}: ${formattedMatch}\n`); From fee14799c562388cd98fd61b942a4880eabb5c02 Mon Sep 17 00:00:00 2001 From: Hombach Date: Sun, 28 Jul 2024 01:32:12 +0200 Subject: [PATCH 7/7] 3.4.4 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f665f31..79abca6a 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ If you enjoyed this project — or just feeling generous, consider buying me a b ! Note that missing version entries are typically dependency updates for improved security. -### 3.4.4 (2024-07-xx) +### 3.4.4 (2024-07-28) - (HombachC) local poll of data - change units Wh to kWh and round to 0,1kWh (#469)