From 9e90b9f7ade7b45618ae5d4da877f5b09db9dd40 Mon Sep 17 00:00:00 2001 From: Nograx Date: Mon, 9 Sep 2024 11:06:51 +0200 Subject: [PATCH] chore: release v1.8.7 - Fix missing control states for AIO --- README.md | 223 +++++++++++++++++++++++----------------------- io-package.json | 28 +++--- package-lock.json | 4 +- package.json | 2 +- 4 files changed, 128 insertions(+), 129 deletions(-) diff --git a/README.md b/README.md index 44c1e37..30ffdd6 100644 --- a/README.md +++ b/README.md @@ -45,120 +45,119 @@ 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** - -- Fix missing control states for AIO +## Changelog +### 1.8.7 (2024-09-09) +- Fix missing control states for AIO + ### 1.8.6 (2024-09-06) -- Change login method: Added a retry loop for connecting to Zendure Cloud, if the Cloud Service "hangs" or is not available it will retry the connection 3 times. - +- Change login method: Added a retry loop for connecting to Zendure Cloud, if the Cloud Service "hangs" or is not available it will retry the connection 3 times. + ### 1.8.5 (2024-08-26) - Fix missing states for new HUB Firmware when connected to ACE -- Fix correct max value for AIO - +- Fix correct max value for AIO + ### 1.8.4 (2024-08-16) - Add support for Smart Plug, but only Power is available at the moment - unstable as often data is not updated by MQTT -- Some code improvements - +- Some code improvements + ### 1.8.3 (2024-08-12) - Fix SOC and energyWhMax Value (counted by type of attached batteries) - Add Calculation for Grid Input (only for Ace 1500 and Hyper 2000) -- Fix suggestions by ioBroker repository checker - +- Fix suggestions by ioBroker repository checker + ### 1.7.7 (2024-08-02) -- Fix Input and Output limit for Hyper 2000 - +- Fix Input and Output limit for Hyper 2000 + ### 1.7.6 (2024-08-01) - Fix support for 'Hyper_Test' devices -- Improved code for state creation - +- Improved code for state creation + ### 1.7.5 (2024-07-31) - Fix controlling AC mode for Hyper 2000 (set acMode to 1: Charge by AC, 2: Output to AC) - Show product name in channel name - Show battery type as state in packData -- Show Hyper Temperature in States - +- Show Hyper Temperature in States + ### 1.7.4 (2024-07-31) -- Set max value and step for setInputLimit - +- Set max value and step for setInputLimit + ### 1.7.3 (2024-07-30) - Fix AC input value for Hyper to max. 1200W -- Fix dcSwitch and acSwitch value - +- Fix dcSwitch and acSwitch value + ### 1.7.2 (2024-07-29) -- Fix acSwitch for ACE and Hyper - +- Fix acSwitch for ACE and Hyper + ### 1.7.1 (2024-07-29) - Fix missing ACE 1500 when connected with HUB1200 / HUB2000 -- Fix some missing states - +- Fix some missing states + ### 1.7.0 (2024-07-26) - Add support for Hyper 2000 and ACE 1500. Maybe not all states and control parameter are available. Still need to do some investigation. -- Some minor bugfixes. - +- Some minor bugfixes. + ### 1.6.7 (2024-06-23) -- Fix reconnect again. Adapter will now restart every 3 hours to cleanup fully. - +- Fix reconnect again. Adapter will now restart every 3 hours to cleanup fully. + ### 1.6.6 (2024-06-21) -- Tweaked recurring refresh of access token. - +- Tweaked recurring refresh of access token. + ### 1.6.5 (2024-06-20) -- Fix reconnect issue. Adapter will now restart if connection semms to be broken. - +- Fix reconnect issue. Adapter will now restart if connection semms to be broken. + ### 1.6.4 (2024-06-03) -- Fix services - +- Fix services + ### 1.6.3 (2024-06-03) -- Fixed reconnect when connection seems to be dead. - +- Fixed reconnect when connection seems to be dead. + ### 1.6.2 (2024-05-21) -- Changed standby usage to 10W - +- Changed standby usage to 10W + ### 1.6.1 (2024-05-13) - Fix issue that sometime data is not updated -- Add standby usage of HUB (20W) when solarinput is low - +- Add standby usage of HUB (20W) when solarinput is low + ### 1.5.3 (2024-04-19) -- Fix autoRecover datatype issue - +- Fix autoRecover datatype issue + ### 1.5.2 (2024-04-17) -- Minor bugfixes and improvements - +- Minor bugfixes and improvements + ### 1.5.0 (2024-04-12) -- Add the possibility to connect to the 'Fallback' MQTT server known as 'Developer MQTT'. This server is read-only - so no control is possible! - +- Add the possibility to connect to the 'Fallback' MQTT server known as 'Developer MQTT'. This server is read-only - so no control is possible! + ### 1.4.0 (2024-04-03) - Add calculation states for solar input 1 & 2 - Add states for wifiState, hubState, pvBrand and inverseMaxPower - Rename missleading title for input field 'Username' in settings to 'E-Mail' - Fix energyWh, energyWhMax and SOC in calculations if "Low Voltage Check" is not used, it will set the calculation soc to 0 if minSoc (discharge limit) is reached -- Fix password input in settings - +- Fix password input in settings + ### 1.3.0 (2024-03-26) - Fix calculation for outputPackEnergy and packInputEnergy @@ -167,149 +166,149 @@ If you find the adapter useful for you and want to support my work, feel free to - Add state and control for bypass mode and automatic reset of bypass mode next day - 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 'extendObject' 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 @@ -332,4 +331,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 0f8d9ef..fff31a5 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "zendure-solarflow", - "version": "1.8.6", + "version": "1.8.7", "news": { + "1.8.7": { + "en": "Fix missing control states for AIO", + "de": "Fehlende Kontrollzustände für AIO behoben", + "ru": "Исправление недостающих состояний управления для AIO", + "pt": "Corrigir estados de controle ausentes para AIO", + "nl": "Fix ontbrekende controlestaten voor AIO", + "fr": "Correction des états de contrôle manquants pour AIO", + "it": "Fissare gli stati di controllo mancanti per AIO", + "es": "Fijar estados de control perdidos para AIO", + "pl": "Napraw brakujące stany kontroli dla AIO", + "uk": "Виправлення відсутніх контрольних станів для AIO", + "zh-cn": "为 AIO 修复缺失的控制状态" + }, "1.8.6": { "en": "Change login method: Added a retry loop for connecting to Zendure Cloud, if the Cloud Service \"hangs\" or is not available it will retry the connection 3 times.", "de": "Login-Methode ändern: Hinzugefügt eine Retry-Loop für die Verbindung mit Zendure Cloud, wenn der Cloud Service \"Ändert\" oder nicht verfügbar ist, wird es die Verbindung 3 mal wiederherzustellen.", @@ -80,19 +93,6 @@ "pl": "Napraw obsługę urządzeń 'Hyper _ Test'\nUlepszony kodeks tworzenia państwa", "uk": "Фіксована підтримка пристроїв «Hyper_Test»\nПокращений код для державного створення", "zh-cn": "修正“ Hyper_ test” 设备的支持\n改进国家创建的代码" - }, - "1.7.5": { - "en": "Fix controlling AC mode for Hyper 2000 (set acMode to 1: Charge by AC, 2: Output to AC)\nShow product name in channel name\nShow battery type as state in packData\nShow Hyper Temperature in States", - "de": "Fix Controlling AC-Modus für Hyper 2000 (Set acMode auf 1: Lade durch AC, 2: Ausgabe auf AC)\nProduktname in Kanalname anzeigen\nBatterietyp als Zustand in packData anzeigen\nHypertemperatur in den Staaten anzeigen", - "ru": "Fix-управляющий режим переменного тока для Hyper 2000 (настройка acMode до 1: Зарядка AC, 2: Выход к AC)\nПоказать имя продукта в названии канала\nПоказать тип батареи как состояние в упаковкеДата\nПоказать гипертемпературу в Штатах", - "pt": "Fix control modo AC para Hyper 2000 (set acMode para 1: Carga por AC, 2: Saída para AC)\nMostrar nome do produto no nome do canal\nMostrar tipo de bateria como estado em packData\nMostrar temperatura de Hyper nos Estados Unidos", - "nl": "Fix controlling AC mode voor Hyper 2000 (set acMode to 1: Charge by AC, 2: Output to AC)\nProductnaam tonen in kanaalnaam\nAccutype tonen als status in packData\nHypertemperatuur in staten tonen", - "fr": "Correction de la commande du mode AC pour Hyper 2000 (réglage acMode à 1: Charge par AC, 2: Sortie vers AC)\nAfficher le nom du produit dans le nom du canal\nAfficher le type de batterie comme état dans packDonnées\nAfficher l'hypertempérature dans les états", - "it": "Fissare la modalità AC di controllo per Hyper 2000 (impostare acMode 1: Carica tramite AC, 2: Uscita su AC)\nMostra il nome del prodotto nel nome del canale\nMostra il tipo di batteria come stato in packData\nMostra Hyper Temperature negli Stati", - "es": "Fijar el modo AC controlador para Hyper 2000 (set acMode a 1: Carga por AC, 2: Salida a AC)\nMostrar nombre del producto en nombre del canal\nMostrar tipo de batería como estado en packData\nMostrar hipertemperatura en Estados Unidos", - "pl": "Poprawiony tryb sterowania AC dla Hyper 2000 (ustawić acMode do 1: Ładowanie przez AC, 2: Wyjście do AC)\nPokaż nazwę produktu w nazwie kanału\nPokaż typ baterii jako stan w packData\nPokaż temperaturę Hyper w Stanach", - "uk": "Фіксований контрольний режим змінного струму для Hyper 2000 (set acMode до 1: Charge by AC, 2: Вихід до змінного струму)\nПоказати назву продукту в назві каналів\nПоказати тип акумулятора як стан у пачціData\nПоказати гіпертемпературу в США", - "zh-cn": "用于 Hyper 2000 的控制 AC 模式( 设置 acMode 到 1: 由 AC 充电, 2: 输出到 AC)\n在频道名称中显示产品名称\n在 packData 中显示电池类型\n在州内显示超温" } }, "titleLang": { diff --git a/package-lock.json b/package-lock.json index 35dfc9d..7687d91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.zendure-solarflow", - "version": "1.8.6", + "version": "1.8.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "iobroker.zendure-solarflow", - "version": "1.8.6", + "version": "1.8.7", "license": "GPL-3.0-only", "dependencies": { "@iobroker/adapter-core": "^3.1.6", diff --git a/package.json b/package.json index 01c3bee..4bd3c67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.zendure-solarflow", - "version": "1.8.6", + "version": "1.8.7", "description": "zendure-solarflow", "author": { "name": "Peter",