Skip to content

Commit

Permalink
Fix missing control states for AIO
Browse files Browse the repository at this point in the history
  • Loading branch information
Nograx committed Sep 9, 2024
1 parent 32e3316 commit c0fe690
Show file tree
Hide file tree
Showing 16 changed files with 234 additions and 206 deletions.
221 changes: 113 additions & 108 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,115 +45,120 @@ 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
## Changelog

### **WORK IN PROGRESS**

- 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
Expand All @@ -162,149 +167,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
Expand All @@ -327,4 +332,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.
2 changes: 1 addition & 1 deletion admin/build/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/constants/aceStates.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c0fe690

Please sign in to comment.