iobroker.zendure-solarflow 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -24,7 +24,7 @@ You can read more about the API here: https://github.com/Zendure/developer-devic
24
24
  - Stop input if one battery drops into low voltage (battery protect). Works only when setting the output limit via the adapter
25
25
  - Control more than one Solarflow at the same time!
26
26
  - Get more precise calculations!
27
- - Works with all Zendure SolarFlow devices: HUB1200 (tested), HUB2000 and AIO (both untested)!
27
+ - Works with all Zendure SolarFlow devices: HUB1200, Hyper2000, HUB2000 and AIO! I can test only on HUB1200 as I don't own the other devices...
28
28
 
29
29
  ## Notes
30
30
 
@@ -34,6 +34,8 @@ You can read more about the API here: https://github.com/Zendure/developer-devic
34
34
 
35
35
  2. You will be logged out of the official iOS or Android App after logging in with the ioBroker adapter. This is a normal behavior. As a workaround you can create an second Zendure account with another e-mail and grant access to your Solarflow HUB to this account. Then use the second account for ioBroker / the Zendure Solarflow adapter.
36
36
 
37
+ 3. The Adapter will show a +10W use on battery if no solar input and device is online. This will reflect the "stand-by" usage of the device.
38
+
37
39
  ## Credits
38
40
 
39
41
  Credits goes to https://github.com/reinhard-brandstaedter/solarflow which helped a lot with the knowledge about the MQTT server from Zendure! Thanks!
@@ -45,129 +47,139 @@ If you find the adapter useful for you and want to support my work, feel free to
45
47
 
46
48
  [![Donate](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.com/paypalme/PeterFrommert)
47
49
 
48
- ## Changelog
50
+ ## Changelog
51
+
52
+ ### 1.9.2 (2024-11-21)
53
+
54
+ - Fix some state definitions
55
+
56
+ ### 1.9.1 (2024-11-21)
57
+
58
+ - Improvement for 'Low Voltage Block'.
59
+ - Changed the state "hubState" a an option value.
60
+
49
61
  ### 1.9.0 (2024-11-20)
50
62
 
51
- - New option to force Solarflow device to go offline when "Low Voltage Block"-option is used.
52
-
63
+ - New option to force Solarflow device to go offline when "Low Voltage Block"-option is used.
64
+
53
65
  ### 1.8.8 (2024-09-20)
54
66
 
55
67
  - Improve connection retry, expand the time with every retry attempt.
56
68
  - Start "restart adapter job" regardless of connection.
57
- - Fix Hyper setInputLimit with step
58
-
69
+ - Fix Hyper setInputLimit with step
70
+
59
71
  ### 1.8.7 (2024-09-09)
60
72
 
61
- - Fix missing control states for AIO
62
-
73
+ - Fix missing control states for AIO
74
+
63
75
  ### 1.8.6 (2024-09-06)
64
76
 
65
- - 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.
66
-
77
+ - 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.
78
+
67
79
  ### 1.8.5 (2024-08-26)
68
80
 
69
81
  - Fix missing states for new HUB Firmware when connected to ACE
70
- - Fix correct max value for AIO
71
-
82
+ - Fix correct max value for AIO
83
+
72
84
  ### 1.8.4 (2024-08-16)
73
85
 
74
86
  - Add support for Smart Plug, but only Power is available at the moment - unstable as often data is not updated by MQTT
75
- - Some code improvements
76
-
87
+ - Some code improvements
88
+
77
89
  ### 1.8.3 (2024-08-12)
78
90
 
79
91
  - Fix SOC and energyWhMax Value (counted by type of attached batteries)
80
92
  - Add Calculation for Grid Input (only for Ace 1500 and Hyper 2000)
81
- - Fix suggestions by ioBroker repository checker
82
-
93
+ - Fix suggestions by ioBroker repository checker
94
+
83
95
  ### 1.7.7 (2024-08-02)
84
96
 
85
- - Fix Input and Output limit for Hyper 2000
86
-
97
+ - Fix Input and Output limit for Hyper 2000
98
+
87
99
  ### 1.7.6 (2024-08-01)
88
100
 
89
101
  - Fix support for 'Hyper_Test' devices
90
- - Improved code for state creation
91
-
102
+ - Improved code for state creation
103
+
92
104
  ### 1.7.5 (2024-07-31)
93
105
 
94
106
  - Fix controlling AC mode for Hyper 2000 (set acMode to 1: Charge by AC, 2: Output to AC)
95
107
  - Show product name in channel name
96
108
  - Show battery type as state in packData
97
- - Show Hyper Temperature in States
98
-
109
+ - Show Hyper Temperature in States
110
+
99
111
  ### 1.7.4 (2024-07-31)
100
112
 
101
- - Set max value and step for setInputLimit
102
-
113
+ - Set max value and step for setInputLimit
114
+
103
115
  ### 1.7.3 (2024-07-30)
104
116
 
105
117
  - Fix AC input value for Hyper to max. 1200W
106
- - Fix dcSwitch and acSwitch value
107
-
118
+ - Fix dcSwitch and acSwitch value
119
+
108
120
  ### 1.7.2 (2024-07-29)
109
121
 
110
- - Fix acSwitch for ACE and Hyper
111
-
122
+ - Fix acSwitch for ACE and Hyper
123
+
112
124
  ### 1.7.1 (2024-07-29)
113
125
 
114
126
  - Fix missing ACE 1500 when connected with HUB1200 / HUB2000
115
- - Fix some missing states
116
-
127
+ - Fix some missing states
128
+
117
129
  ### 1.7.0 (2024-07-26)
118
130
 
119
131
  - Add support for Hyper 2000 and ACE 1500. Maybe not all states and control parameter are available. Still need to do some investigation.
120
- - Some minor bugfixes.
121
-
132
+ - Some minor bugfixes.
133
+
122
134
  ### 1.6.7 (2024-06-23)
123
135
 
124
- - Fix reconnect again. Adapter will now restart every 3 hours to cleanup fully.
125
-
136
+ - Fix reconnect again. Adapter will now restart every 3 hours to cleanup fully.
137
+
126
138
  ### 1.6.6 (2024-06-21)
127
139
 
128
- - Tweaked recurring refresh of access token.
129
-
140
+ - Tweaked recurring refresh of access token.
141
+
130
142
  ### 1.6.5 (2024-06-20)
131
143
 
132
- - Fix reconnect issue. Adapter will now restart if connection semms to be broken.
133
-
144
+ - Fix reconnect issue. Adapter will now restart if connection semms to be broken.
145
+
134
146
  ### 1.6.4 (2024-06-03)
135
147
 
136
- - Fix services
137
-
148
+ - Fix services
149
+
138
150
  ### 1.6.3 (2024-06-03)
139
151
 
140
- - Fixed reconnect when connection seems to be dead.
141
-
152
+ - Fixed reconnect when connection seems to be dead.
153
+
142
154
  ### 1.6.2 (2024-05-21)
143
155
 
144
- - Changed standby usage to 10W
145
-
156
+ - Changed standby usage to 10W
157
+
146
158
  ### 1.6.1 (2024-05-13)
147
159
 
148
160
  - Fix issue that sometime data is not updated
149
- - Add standby usage of HUB (20W) when solarinput is low
150
-
161
+ - Add standby usage of HUB (20W) when solarinput is low
162
+
151
163
  ### 1.5.3 (2024-04-19)
152
164
 
153
- - Fix autoRecover datatype issue
154
-
165
+ - Fix autoRecover datatype issue
166
+
155
167
  ### 1.5.2 (2024-04-17)
156
168
 
157
- - Minor bugfixes and improvements
158
-
169
+ - Minor bugfixes and improvements
170
+
159
171
  ### 1.5.0 (2024-04-12)
160
172
 
161
- - Add the possibility to connect to the 'Fallback' MQTT server known as 'Developer MQTT'. This server is read-only - so no control is possible!
162
-
173
+ - Add the possibility to connect to the 'Fallback' MQTT server known as 'Developer MQTT'. This server is read-only - so no control is possible!
174
+
163
175
  ### 1.4.0 (2024-04-03)
164
176
 
165
177
  - Add calculation states for solar input 1 & 2
166
178
  - Add states for wifiState, hubState, pvBrand and inverseMaxPower
167
179
  - Rename missleading title for input field 'Username' in settings to 'E-Mail'
168
180
  - 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
169
- - Fix password input in settings
170
-
181
+ - Fix password input in settings
182
+
171
183
  ### 1.3.0 (2024-03-26)
172
184
 
173
185
  - Fix calculation for outputPackEnergy and packInputEnergy
@@ -176,149 +188,149 @@ If you find the adapter useful for you and want to support my work, feel free to
176
188
  - Add state and control for bypass mode and automatic reset of bypass mode next day
177
189
  - Add states for pass (Bypass on/off), autoRecover (auto-mode for Bypass next day) and passMode (current bypass mode)
178
190
  - Add efficiency factor for calculations (96% charging, 92%-98%\* for discharging - based on measuring from VoltAmpereLux Youtube channel - THANKS!)
179
- - Changed calculations timeframe from 10secs to 30secs (performance related)
180
-
191
+ - Changed calculations timeframe from 10secs to 30secs (performance related)
192
+
181
193
  ### 1.2.5 (2024-03-19)
182
194
 
183
- - Fix error "Read-only" state written without ack-flag
184
-
195
+ - Fix error "Read-only" state written without ack-flag
196
+
185
197
  ### 1.2.4 (2024-03-18)
186
198
 
187
- - Use setInterval instead of cronjob for refreshing access token
188
-
199
+ - Use setInterval instead of cronjob for refreshing access token
200
+
189
201
  ### 1.2.3 (2024-03-15)
190
202
 
191
203
  - Fix ACK on onStateChange
192
- - Update Readme
193
-
204
+ - Update Readme
205
+
194
206
  ### 1.2.2 (2024-03-14)
195
207
 
196
208
  - Fix issue that renamed devices could not be found.
197
209
  - Add states for name, product name, serial ID and configured server.
198
210
  - Make "energyWhMax" State writable, so you can adjust the max Value.
199
- - Sent a warning if a device is configured for a server not in use.
200
-
211
+ - Sent a warning if a device is configured for a server not in use.
212
+
201
213
  ### 1.2.1 (2024-03-13)
202
214
 
203
215
  - Fix calculation of soc: Set energyMaxWh to current energyWh if Zendures SOC is 100%
204
- - Round SOC to max 1 digit after comma.
205
-
216
+ - Round SOC to max 1 digit after comma.
217
+
206
218
  ### 1.2.0 (2024-03-13)
207
219
 
208
220
  - EU server is working now.
209
221
  - Fix calculation errors in log when calculation is not used
210
222
  - More Debug Output
211
223
  - Filter SolarFlow devices, so no other devices (e.g. SmartPlugs) will be added.
212
- - Clear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password.
213
-
224
+ - Clear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password.
225
+
214
226
  ### 1.1.23 (2024-03-11)
215
227
 
216
228
  - Fix calculation of "energy in batteries"
217
- - Try to implement EU server - untested -
218
-
229
+ - Try to implement EU server - untested -
230
+
219
231
  ### 1.1.22 (2024-03-09)
220
232
 
221
- - Try to fix reset values at midnight
222
-
233
+ - Try to fix reset values at midnight
234
+
223
235
  ### 1.1.21 (2024-03-08)
224
236
 
225
- - Fix calculation timeframe
226
-
237
+ - Fix calculation timeframe
238
+
227
239
  ### 1.1.17 (2024-03-08)
228
240
 
229
241
  - Improve calculations
230
- - No autocomplete on settings
231
-
242
+ - No autocomplete on settings
243
+
232
244
  ### 1.1.15 (2024-03-06)
233
245
 
234
246
  - Calculations improved
235
- - Stop energy input on low voltage is now an option in settings
236
-
247
+ - Stop energy input on low voltage is now an option in settings
248
+
237
249
  ### 1.1.14 (2024-03-04)
238
250
 
239
251
  - Reorganize Code
240
252
  - Calculations are now optional and have to be enabled in settings
241
253
  - Calculation of SOC from voltage and energy go in and out of batteries
242
- - Stop energy feed if voltage drops under limit
243
-
254
+ - Stop energy feed if voltage drops under limit
255
+
244
256
  ### 1.1.11 (2024-03-01)
245
257
 
246
258
  - Fix Solar Input 1 and 2 from the new Zendure firmware
247
259
  - Fix remaining charging time
248
- - Fix calculations overwritten when data with 0 value comes in.
249
-
260
+ - Fix calculations overwritten when data with 0 value comes in.
261
+
250
262
  ### 1.1.8 (2024-02-29)
251
263
 
252
- - Fix calculation error
253
-
264
+ - Fix calculation error
265
+
254
266
  ### 1.1.7 (2024-02-29)
255
267
 
256
268
  - Add energy calculations for 'today'
257
- - Fix minutes display bug for remaining charge and discharge time
258
-
269
+ - Fix minutes display bug for remaining charge and discharge time
270
+
259
271
  ### 1.1.4 (2024-02-28)
260
272
 
261
- - Fix timeout issues
262
-
273
+ - Fix timeout issues
274
+
263
275
  ### 1.1.0 (2024-02-27)
264
276
 
265
277
  - Switched solar input 1 und 2 to adjust the behavior like the offical app
266
278
  - Added Calculations folder, remaining charge and discharge time is now available as formatted time
267
- - Added a note in the settings that this adapter only works with the global server
268
-
279
+ - Added a note in the settings that this adapter only works with the global server
280
+
269
281
  ### 1.0.7 (2024-01-16)
270
282
 
271
283
  - Add control for charge and discharge limit
272
- - Update Readme Screenshot
273
-
284
+ - Update Readme Screenshot
285
+
274
286
  ### 1.0.6 (2024-01-16)
275
287
 
276
- - Update Readme
277
-
288
+ - Update Readme
289
+
278
290
  ### 1.0.5 (2024-01-15)
279
291
 
280
- - Added state for both Solarflow PV inputs
281
-
292
+ - Added state for both Solarflow PV inputs
293
+
282
294
  ### 1.0.4 (2023-12-16)
283
295
 
284
- - Added Timeout for axios
285
-
296
+ - Added Timeout for axios
297
+
286
298
  ### 1.0.3 (2023-12-12)
287
299
 
288
- - Password is now encrypted. NOTE: You have to re-enter the password after adapter update!
289
-
300
+ - Password is now encrypted. NOTE: You have to re-enter the password after adapter update!
301
+
290
302
  ### 1.0.2 (2023-12-12)
291
303
 
292
304
  - Adapter improvements suggested by iobroker team
293
- - Fixed battery pack temperature (data is in kelvin, so now converting to celcius)
294
-
305
+ - Fixed battery pack temperature (data is in kelvin, so now converting to celcius)
306
+
295
307
  ### 1.0.1 (2023-11-03)
296
308
 
297
309
  - Fix translationscd so
298
310
  - Use 'extendObject' instead of 'setObjectNotExistsAsync'
299
- - First official release version
300
-
311
+ - First official release version
312
+
301
313
  ### 0.1.0-alpha.2 (2023-10-27)
302
314
 
303
- - Don't stop the adapter when no login information is provided!
304
-
315
+ - Don't stop the adapter when no login information is provided!
316
+
305
317
  ### 0.1.0-alpha.1 (2023-10-27)
306
318
 
307
- - Fix Typescript typos
308
-
319
+ - Fix Typescript typos
320
+
309
321
  ### 0.1.0-alpha.0 (2023-10-26)
310
322
 
311
323
  - Get battery information
312
- - 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.
313
-
324
+ - 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.
325
+
314
326
  ### 0.0.2 (2023-10-25)
315
327
 
316
- - Initital Release, retrieving Hub data, telemetry and setting the output limit works!
317
-
328
+ - Initital Release, retrieving Hub data, telemetry and setting the output limit works!
329
+
318
330
  ### 0.0.1 (2023-10-24)
319
331
 
320
- - First test
321
-
332
+ - First test
333
+
322
334
  ## License
323
335
 
324
336
  MIT License
@@ -341,4 +353,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
341
353
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
342
354
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
343
355
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
344
- SOFTWARE.
356
+ SOFTWARE.