From 8be41a57c60a459aa653ed5ca7fa299548c91b89 Mon Sep 17 00:00:00 2001 From: Nograx Date: Fri, 22 Mar 2024 19:44:18 +0100 Subject: [PATCH] chore: release v1.2.7 - Fix calculation for outputPackEnergy and packInputEnergy - Trigger full telemetry update on adapter start - Add state and control for buzzer switch - Add state and control for bypass mode and automatic reset of bypass mode next day --- README.md | 131 +++++++++++++++++++++++----------------------- io-package.json | 28 +++++----- package-lock.json | 4 +- package.json | 2 +- 4 files changed, 82 insertions(+), 83 deletions(-) diff --git a/README.md b/README.md index 7315dc6..59f26bb 100644 --- a/README.md +++ b/README.md @@ -37,162 +37,161 @@ If you find the adapter useful for you and want to support my work, feel free to [![Donate](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.com/paypalme/PeterFrommert) -## Changelog - -### **WORK IN PROGRESS** +## Changelog +### 1.2.7 (2024-03-22) - Fix calculation for outputPackEnergy and packInputEnergy - Trigger full telemetry update on adapter start - Add state and control for buzzer switch -- Add state and control for bypass mode and automatic reset of bypass mode next day - +- Add state and control for bypass mode and automatic reset of bypass mode next day + ### 1.2.6 (2024-03-20) - Add states for pass (Bypass on/off), autoRecover (auto-mode for Bypass next day) and passMode (current bypass mode) - Add efficiency factor for calculations (96% charging, 92%-98%\* for discharging - based on measuring from VoltAmpereLux Youtube channel - THANKS!) -- Changed calculations timeframe from 10secs to 30secs (performance related) - +- Changed calculations timeframe from 10secs to 30secs (performance related) + ### 1.2.5 (2024-03-19) -- Fix error "Read-only" state written without ack-flag - +- Fix error "Read-only" state written without ack-flag + ### 1.2.4 (2024-03-18) -- Use setInterval instead of cronjob for refreshing access token - +- Use setInterval instead of cronjob for refreshing access token + ### 1.2.3 (2024-03-15) - Fix ACK on onStateChange -- Update Readme - +- Update Readme + ### 1.2.2 (2024-03-14) - Fix issue that renamed devices could not be found. - Add states for name, product name, serial ID and configured server. - Make "energyWhMax" State writable, so you can adjust the max Value. -- Sent a warning if a device is configured for a server not in use. - +- Sent a warning if a device is configured for a server not in use. + ### 1.2.1 (2024-03-13) - Fix calculation of soc: Set energyMaxWh to current energyWh if Zendures SOC is 100% -- Round SOC to max 1 digit after comma. - +- Round SOC to max 1 digit after comma. + ### 1.2.0 (2024-03-13) - EU server is working now. - Fix calculation errors in log when calculation is not used - More Debug Output - Filter SolarFlow devices, so no other devices (e.g. SmartPlugs) will be added. -- Clear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password. - +- Clear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password. + ### 1.1.23 (2024-03-11) - Fix calculation of "energy in batteries" -- Try to implement EU server - untested - - +- Try to implement EU server - untested - + ### 1.1.22 (2024-03-09) -- Try to fix reset values at midnight - +- Try to fix reset values at midnight + ### 1.1.21 (2024-03-08) -- Fix calculation timeframe - +- Fix calculation timeframe + ### 1.1.17 (2024-03-08) - Improve calculations -- No autocomplete on settings - +- No autocomplete on settings + ### 1.1.15 (2024-03-06) - Calculations improved -- Stop energy input on low voltage is now an option in settings - +- Stop energy input on low voltage is now an option in settings + ### 1.1.14 (2024-03-04) - Reorganize Code - Calculations are now optional and have to be enabled in settings - Calculation of SOC from voltage and energy go in and out of batteries -- Stop energy feed if voltage drops under limit - +- Stop energy feed if voltage drops under limit + ### 1.1.11 (2024-03-01) - Fix Solar Input 1 and 2 from the new Zendure firmware - Fix remaining charging time -- Fix calculations overwritten when data with 0 value comes in. - +- Fix calculations overwritten when data with 0 value comes in. + ### 1.1.8 (2024-02-29) -- Fix calculation error - +- Fix calculation error + ### 1.1.7 (2024-02-29) - Add energy calculations for 'today' -- Fix minutes display bug for remaining charge and discharge time - +- Fix minutes display bug for remaining charge and discharge time + ### 1.1.4 (2024-02-28) -- Fix timeout issues - +- Fix timeout issues + ### 1.1.0 (2024-02-27) - Switched solar input 1 und 2 to adjust the behavior like the offical app - Added Calculations folder, remaining charge and discharge time is now available as formatted time -- Added a note in the settings that this adapter only works with the global server - +- Added a note in the settings that this adapter only works with the global server + ### 1.0.7 (2024-01-16) - Add control for charge and discharge limit -- Update Readme Screenshot - +- Update Readme Screenshot + ### 1.0.6 (2024-01-16) -- Update Readme - +- Update Readme + ### 1.0.5 (2024-01-15) -- Added state for both Solarflow PV inputs - +- Added state for both Solarflow PV inputs + ### 1.0.4 (2023-12-16) -- Added Timeout for axios - +- Added Timeout for axios + ### 1.0.3 (2023-12-12) -- Password is now encrypted. NOTE: You have to re-enter the password after adapter update! - +- Password is now encrypted. NOTE: You have to re-enter the password after adapter update! + ### 1.0.2 (2023-12-12) - Adapter improvements suggested by iobroker team -- Fixed battery pack temperature (data is in kelvin, so now converting to celcius) - +- Fixed battery pack temperature (data is in kelvin, so now converting to celcius) + ### 1.0.1 (2023-11-03) - Fix translationscd so - Use 'extendObjectAsync' instead of 'setObjectNotExistsAsync' -- First official release version - +- First official release version + ### 0.1.0-alpha.2 (2023-10-27) -- Don't stop the adapter when no login information is provided! - +- Don't stop the adapter when no login information is provided! + ### 0.1.0-alpha.1 (2023-10-27) -- Fix Typescript typos - +- Fix Typescript typos + ### 0.1.0-alpha.0 (2023-10-26) - Get battery information -- Reset states if no new data comes in (e.g. when Hub goes offline). Currently the last value still persist when Hub goes offline, so you may have 'pseudo' data in your states. - +- Reset states if no new data comes in (e.g. when Hub goes offline). Currently the last value still persist when Hub goes offline, so you may have 'pseudo' data in your states. + ### 0.0.2 (2023-10-25) -- Initital Release, retrieving Hub data, telemetry and setting the output limit works! - +- Initital Release, retrieving Hub data, telemetry and setting the output limit works! + ### 0.0.1 (2023-10-24) -- First test - +- First test + ## License MIT License @@ -215,4 +214,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. diff --git a/io-package.json b/io-package.json index 51bf57b..4d1974c 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "zendure-solarflow", - "version": "1.2.6", + "version": "1.2.7", "news": { + "1.2.7": { + "en": "Fix calculation for outputPackEnergy and packInputEnergy\nTrigger full telemetry update on adapter start\nAdd state and control for buzzer switch\nAdd state and control for bypass mode and automatic reset of bypass mode next day", + "de": "Fixberechnung für die Ausgabe PackEnergy und PackInputEnergy\nTrigger Full Telemetrie Update auf Adapterstart\nZustand und Steuerung für Summer Switch hinzufügen\nZustand und Steuerung für Bypass-Modus und automatische Rückstellung des Bypass-Modus am nächsten Tag hinzufügen", + "ru": "Исчисление на основе исходных данных PackEnergy и packInputEnergy\nТреггер полного обновления телеметрии на запуске адаптера\nДобавить состояние и управление для выключателя\nДобавить состояние и управление для шунт-режима и автоматическая перезагрузка режима шунтирования на следующий день", + "pt": "Cálculo fixo para saída PackEnergy e packInputEnergy\nAtivar atualização de telemetria completa no início do adaptador\nAdicionar estado e controle para interruptor de buzzer\nAdicionar estado e controle para o modo bypass e reset automático do modo bypass no dia seguinte", + "nl": "Fix berekening voor output PackEnergy en PackInputEnergy\nVolledige telemetrie-update van de adapter starten\nStatus en controle voor zoemerschakelaar toevoegen\nToevoegen status en controle voor bypass modus en automatische reset van bypass modus volgende dag", + "fr": "Correction du calcul de la sortie PackÉnergie et packInputÉnergie\nMise à jour complète de la télémétrie sur le démarrage de l'adaptateur\nAjouter l'état et le contrôle pour interrupteur de buzzer\nAjouter l'état et la commande pour le mode de contournement et la remise automatique du mode de contournement le lendemain", + "it": "Fissare il calcolo per l'output PackEnergy e packInputEnergia\nAggiornamento completo della telemetria del trigger all'avvio dell'adattatore\nAggiungi stato e controllo per interruttore buzzer\nAggiungi stato e controllo per la modalità bypass e reset automatico della modalità bypass il giorno successivo", + "es": "Cálculo fijo para la salida PackEnergía y paqueteInputEnergía\nTrigger actualización completa de telemetría en el comienzo del adaptador\nAñadir estado y control para interruptor de zumbido\nAgregar estado y control para modo bypass y reinicio automático del modo bypass al día siguiente", + "pl": "Napraw obliczenie dla wyjścia PackEnergy and packInputEnergy\nPełna aktualizacja telemetrii podczas uruchamiania adaptera\nDodaj stan i sterowanie przełącznika brzęczyka\nDodaj stan i sterowanie dla trybu bajpasu i automatycznego resetowania trybu bajpasu następnego dnia", + "uk": "Фіксований розрахунок на виході ПакетЕнергія та пакетІнпутаціяЕнергія\nТригер повного оновлення телеметрії на старті адаптера\nДодати стан та контроль за комутатором\nДодати стан та контроль за режимом обходу та автоматичним скиданням режиму обходу наступного дня", + "zh-cn": "修正输出计算 包能源与包投入能源\n适配器启动时触发全遥测更新\n为铃声开关添加状态和控制\n第二天添加绕行模式和绕行模式自动重置的状态和控制" + }, "1.2.6": { "en": "Add states for pass (Bypass on/off), autoRecover (auto-mode for Bypass next day) and passMode (current bypass mode)\nAdd efficiency factor for calculations (96% charging, 92%-98%* for discharging)\nChanged calculations timeframe from 10secs to 30secs (performance related)", "de": "Fügen Sie Zustände für Pass (Bypass on/off), autoRecover (Auto-Modus für Bypass nächsten Tag) und passMode (current bypass mode) hinzu\nEffizienzfaktor für Berechnungen hinzufügen (96% Aufladung, 92%-98%* zur Entladung)\nGeänderte Berechnungsdauer von 10 Sekunden auf 30 Sekunden (performance related)", @@ -80,19 +93,6 @@ "pl": "Fix obliczenia soc: Ustaw energyMaxWh na energię bieżącą Wh jeśli Zendures SOC wynosi 100%\nOkrągłe SOC do maksymalnie 1 cyfry po przecinku.", "uk": "Фіксований розрахунок СО: Настроювання енергіїMaxWh до поточної енергії Wh, якщо Zendures SOC 100%\nКруглий SOC до макс. 1 цифра після коми.", "zh-cn": "索克的固定计算 : 将能量MaxWh设定为当前能量 如果Zendures SOC是100%的话\n在逗号后将 SOC 转至最大 1 位数 ." - }, - "1.2.0": { - "en": "EU server is working now.\nFix calculation errors in log when calculation is not used\nMore Debug Output\nFilter SolarFlow devices, so no other devices (e.g. SmartPlugs) will be added.\nClear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password.", - "de": "EU-Server arbeitet jetzt.\nBerechnungsfehler im Log behoben, wenn die Berechnung nicht verwendet wird\nMehr Debug Ausgang\nFilter Solar Durchflussgeräte, so dass keine anderen Geräte (z.B. SmartPlugs) hinzugefügt werden.\nKlares Passwort bei geladenen Einstellungen, da verschlüsseltes Passwort in Eingabe geladen wird und zu einem falschen Passwort führt.", - "ru": "Сервер ЕС работает сейчас.\nИсправление ошибок расчета в журнале, когда не используется расчет\nMore Debug Выход\nФильтры Flow-устройства, поэтому никакие другие устройства (например, SmartPlugs) не будут добавлены.\nОчистить пароль при загрузке настроек, так как зашифрованный пароль загружается в ввод и приводит к неправильному паролю.", - "pt": "O servidor da UE está a funcionar agora.\nCorrigir erros de cálculo no log quando o cálculo não é usado\nMais saída de depuração\nFiltro solar Dispositivos de fluxo, então nenhum outro dispositivo (por exemplo, SmartPlugs) será adicionado.\nSenha clara quando as configurações carregadas, como a senha criptografada é carregada em entrada e leva a uma senha errada.", - "nl": "De EU-server werkt nu.\nFix rekenfouten in log wanneer berekening niet wordt gebruikt\nMeer debug-uitvoer\nFilterzonne Stroomapparaten, zodat er geen andere apparaten (bv. SmartPlugs) worden toegevoegd.\nWachtwoord wissen bij laden, aangezien versleuteld wachtwoord wordt geladen in invoer en leidt tot een verkeerd wachtwoord.", - "fr": "Le serveur de l'UE fonctionne maintenant.\nCorrection d'erreurs de calcul dans le journal lorsque le calcul n'est pas utilisé\nPlus de sortie de débogage\nFiltre solaire Dispositifs de débit, de sorte qu'aucun autre dispositif (par exemple SmartPlugs) ne sera ajouté.\nEffacer le mot de passe lorsque les paramètres sont chargés, car le mot de passe chiffré est chargé en entrée et mène à un mauvais mot de passe.", - "it": "Il server UE sta funzionando ora.\nFissare gli errori di calcolo nel registro quando il calcolo non viene utilizzato\nPiù Debug Output\nFiltro solare I dispositivi di flusso, quindi non verranno aggiunti altri dispositivi (ad esempio SmartPlugs).\nCancella password quando le impostazioni vengono caricate, poiché la password crittografata viene caricata in ingresso e porta a una password sbagliata.", - "es": "El servidor de la UE está trabajando ahora.\nFijar errores de cálculo en el registro cuando el cálculo no se utiliza\nMás Debug Output\nFiltro solar Dispositivos de flujo, por lo que no se añadirán otros dispositivos (por ejemplo, SmartPlugs).\nContraseña clara cuando se cargan los ajustes, ya que la contraseña cifrada se carga en entrada y conduce a una contraseña incorrecta.", - "pl": "Serwer UE działa.\nPopraw błędy obliczeniowe w dzienniku, gdy obliczenia nie są używane\nWięcej wyników debugowania\nFiltr słoneczny Urządzenia przepływowe, więc nie będą dodawane żadne inne urządzenia (np. SmartPlugs).\nWyczyść hasło podczas wczytywania ustawień, ponieważ szyfrowane hasło jest wczytywane do wejścia i prowadzi do błędnego hasła.", - "uk": "Сервер ЄС працює зараз.\nВиправлення помилок розрахунку в журналі при розрахунку не використовується\nДетальніше Debug Вихід\nФільтр Сонячний Пристрої потоку, тому не будуть додані інші пристрої (наприклад, SmartPlugs).\nОчистити пароль при навантаженні налаштувань, як зашифрований пароль завантажується в вхід і призводить до неправильного пароля.", - "zh-cn": "欧盟服务器正在工作.\n不使用计算时纠正日志中的计算错误\n更多调试输出\n过滤太阳 流设备,所以不会添加其他设备(如SmartPlugs).\n装入设置时清除密码, 因为加密密码被装入输入, 并导致错误的密码 ." } }, "title": "Zendure Solarflow", diff --git a/package-lock.json b/package-lock.json index 52f933e..f3bacfb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.zendure-solarflow", - "version": "1.2.6", + "version": "1.2.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "iobroker.zendure-solarflow", - "version": "1.2.6", + "version": "1.2.7", "license": "MIT", "dependencies": { "@iobroker/adapter-core": "^3.0.4", diff --git a/package.json b/package.json index 8bae883..642f372 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.zendure-solarflow", - "version": "1.2.6", + "version": "1.2.7", "description": "zendure-solarflow", "author": { "name": "Peter",