iobroker.alpha-ess 4.1.0 → 4.2.0

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
@@ -2,211 +2,153 @@
2
2
 
3
3
  # ioBroker.alpha-ess
4
4
 
5
- ![Number of Installations (latest)](http://iobroker.live/badges/alpha-ess-installed.svg)
6
- ![Number of Installations (stable)](http://iobroker.live/badges/alpha-ess-stable.svg)
7
- [![NPM version](http://img.shields.io/npm/v/iobroker.alpha-ess.svg)](https://www.npmjs.com/package/iobroker.alpha-ess)
5
+ ![Number of Installations (latest)](https://iobroker.live/badges/alpha-ess-installed.svg)
6
+ ![Number of Installations (stable)](https://iobroker.live/badges/alpha-ess-stable.svg)
7
+ [![NPM version](https://img.shields.io/npm/v/iobroker.alpha-ess.svg)](https://www.npmjs.com/package/iobroker.alpha-ess)
8
8
 
9
9
  [![Downloads](https://img.shields.io/npm/dm/iobroker.alpha-ess.svg)](https://www.npmjs.com/package/iobroker.alpha-ess)
10
10
  [![Known Vulnerabilities](https://snyk.io/test/github/Gaspode69/ioBroker.alpha-ess/badge.svg)](https://snyk.io/test/github/Gaspode69/ioBroker.alpha-ess)
11
11
 
12
- ## alpha-ess adapter for ioBroker
12
+ ## Alpha ESS adapter for ioBroker
13
13
 
14
- ---
14
+ This adapter connects ioBroker to the official [Alpha ESS Open API](https://open.alphaess.com/). It reads power, energy, system, battery configuration, and wallbox data. Supported battery and wallbox settings can also be changed from ioBroker.
15
15
 
16
- ### For support please open a GitHub issue or visit
16
+ The available values depend on the system model and on the functions exposed by Alpha ESS for that system.
17
17
 
18
- https://forum.iobroker.net/post/892023
19
- https://www.storion4you.de/thread/683
18
+ ## Features
20
19
 
21
- ---
20
+ - Realtime power data for PV, grid, load, battery, and connected charging equipment
21
+ - Daily energy totals and system information
22
+ - Charging and discharging schedules and SOC limits
23
+ - Summary values, including monthly and yearly statistics
24
+ - Fallback power data for systems without realtime API support
25
+ - Wallbox status, start/stop control, and current setting
26
+ - State quality information for connection and API errors
22
27
 
23
- This adapter logs into the web API of [Alpha-ESS](https://www.alphaess.com/) and retrieves information for your Alpha-ESS equipment.\
24
- Depending on your Alpha-ESS product, it is possible to get realtime data and configuration data for your equipment. Which data points are returned by the API depends on your Alpha-ESS equipment.
28
+ ## Requirements
25
29
 
26
- This adapter uses the Alpha-ESS Open API, which is an official and documented API for Alpha-ESS devices.
30
+ - ioBroker with js-controller 6.0.11 or newer and Admin 7.6.20 or newer
31
+ - Node.js 22 or newer
32
+ - An Alpha ESS account and a system registered in the Open API developer portal
33
+ - A personal application ID, application secret, and the serial number of the Alpha ESS system
27
34
 
28
- The quality attribute of each state is set accordingly to its status:
29
- | Quality | meaning |
30
- |:--------|:--------------------------------------------------|
31
- |0x00 |OK and up to date |
32
- |0x01 |value not updated due to unknown reason, see debug log |
33
- |0x02 |problem with online connection for this data point |
34
- |0x12 |adapter disconnected or stopped |
35
- |0x44 |API returned error or internal error, see debug log |
35
+ The adapter uses the cloud API and therefore requires internet access. It does not connect directly to the inverter or provide a Modbus connection.
36
36
 
37
- ## Settings:
37
+ ## Setup
38
38
 
39
- To be able to use the Alpha-ESS Open API, you have to register your Alpha-ESS device unter https://open.alphaess.com. Once registered, you get a developer ID and a developer key (called "Secret"). You will need these to have access to the Open API.
40
- How to find SN and Check code for registration is described here: https://github.com/alphaess-developer/alphacloud_open_api
39
+ 1. Sign in to the [Alpha ESS Open API portal](https://open.alphaess.com/) and register the system.
40
+ 2. Create or select a personal application to obtain its application ID and secret.
41
+ 3. Find the system serial number (SN) and check code. Alpha ESS documents the registration process in the [Open API repository](https://github.com/alphaess-developer/alphacloud_open_api).
42
+ 4. Install the adapter from the ioBroker adapter page and create an instance.
43
+ 5. Enter the application ID, application secret, and system serial number in the instance settings.
44
+ 6. Enable only the data groups required for the system and save the configuration.
41
45
 
42
- - **Personal application ID:** The application ID (see above)
43
- - **Personal application Secret:** The application Secret (see above)
44
- - **Alpha-ESS System ID:** The S/N (serial number) of your Alpha-ESS equipment
45
- - **Interval to read realtime data:** Unit: seconds.
46
- - **Interval to read energy data:** Unit: minutes.
47
- - **Interval to read charging settings:** Unit: minutes.
48
- - **Interval to read discharging settings:** Unit: minutes.
49
- - **Interval to read summary data:** Unit: minutes.
50
- - **Interval to read wallbox data:** Unit: minutes. Caution: Currently only one Wallbox is supported.
51
- - **Update unchanged states:** If this option is checked, states are changed even if the corresponding value is unchanged.
46
+ The application secret is stored as an encrypted and protected native setting by ioBroker. Do not publish it in issue reports or log excerpts.
52
47
 
53
- ## Disclaimer
54
-
55
- **All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal.**
56
-
57
- ## Changelog
58
- ### 4.1.0 (2026-02-14)
59
-
60
- - (Gaspode) Read and write wallbox current
61
-
62
- ### 4.0.0 (2025-11-01)
63
-
64
- - (Gaspode) Update dependencies, Node.js version 20 or later is now required
65
-
66
- ### 3.0.1 (2024-12-22)
67
-
68
- - (Gaspode) Optimizations of reading pseudo-realtime power data for slow systems
69
-
70
- ### 3.0.0 (2024-12-21)
71
-
72
- - (Gaspode) **Breaking Change:** Renamed state "Charging_period 1_end" to "Charging_period_1_end"
73
- - (Gaspode) Optimizations in configuration dialog
74
-
75
- ### 2.3.0 (2024-12-20)
76
-
77
- - (Gaspode) Provides the ability to read pseudo-realtime power data using the API function getTodayPowerBySn. This feature is useful for systems that lack "realtime data support." When activated, data is fetched every 5 minutes and stored in the "Recent" folder.
78
-
79
- ### 2.2.0 (2024-12-16)
80
-
81
- - (Gaspode) Provide system information data (getEssList)
82
-
83
- ### 2.1.6 (2024-12-01)
84
-
85
- - (Gaspode) Migrated to ESLint 9
86
-
87
- ### 2.1.5 (2024-11-14)
88
-
89
- - (Gaspode) Optimized GUI for all screen resolutions (responsive design)
90
-
91
- ### 2.1.4 (2024-08-13)
48
+ ## Configuration
92
49
 
93
- - (Gaspode) Updated some formal stuff
50
+ | Option | Unit | Description |
51
+ | --- | --- | --- |
52
+ | Personal application ID | — | Application ID from the Alpha ESS Open API portal |
53
+ | Personal application secret | — | Secret belonging to the application ID |
54
+ | Alpha ESS system ID | — | System serial number (SN) |
55
+ | Realtime data | seconds | Power and SOC values; minimum interval: 10 seconds |
56
+ | System information | seconds | Model and system metadata; minimum interval: 10 seconds |
57
+ | Recent power data | fixed | Fetches fallback power data every 5 minutes for systems without realtime support |
58
+ | Energy data | minutes | Daily energy totals; minimum interval: 5 minutes |
59
+ | Charging settings | minutes | Charging schedule and SOC limit; minimum interval: 1 minute |
60
+ | Discharging settings | minutes | Discharging schedule and cutoff SOC; minimum interval: 1 minute |
61
+ | Summary data | minutes | Statistical summaries; minimum interval: 5 minutes |
62
+ | Wallbox data | minutes | Wallbox status and start/stop control; minimum interval: 1 minute |
63
+ | Household Current | seconds | Household current setting; minimum interval: 10 seconds |
64
+ | Update unchanged states | — | Writes a new state update even when the value did not change |
94
65
 
95
- ### 2.1.3 (2024-08-07)
66
+ Short intervals create more cloud requests. Use the longest interval that is suitable for the automation and observe the limits of the Alpha ESS Open API.
96
67
 
97
- - (Gaspode) Increased read timeout from 10 to 20 s
68
+ ## Data points
98
69
 
99
- ### 2.1.2 (2024-08-07)
70
+ Enabled and supported data groups appear below `alpha-ess.<instance>`:
100
71
 
101
- - (Gaspode) Quality of states optimized
72
+ | Folder | Contents | Writable values |
73
+ | --- | --- | --- |
74
+ | `Realtime` | Current PV, grid, load, battery, and charging power | — |
75
+ | `Recent` | Five-minute fallback power data | — |
76
+ | `System` | System identification and metadata | — |
77
+ | `Energy` | Daily energy totals | — |
78
+ | `Settings_Charge` | Charging periods and charging SOC limit | All settings in this folder |
79
+ | `Settings_Discharge` | Discharging periods and cutoff SOC | All settings in this folder |
80
+ | `Summary` | Daily, monthly, yearly, and total statistics | — |
81
+ | `Wallbox` | Serial number, model, status, and charging control | `Charging_Start`, `Charging_Stop` |
82
+ | `Household_Current` | Household Current setting | `Current` |
102
83
 
103
- ### 2.1.1 (2024-08-07)
84
+ Folders and states are created only when the corresponding endpoint is enabled and the API returns the attribute. Unsupported or disabled states may therefore be absent.
104
85
 
105
- - (Gaspode) Do not longer report read timeouts as error. It should be enough to set the quality of concerned states to values according the table above and to display warnings, if values were not updated for a long time. To see details, debug log level must be enabled by the user.
86
+ ### Writing settings
106
87
 
107
- ### 2.1.0 (2024-08-01)
88
+ Write to a writable state with acknowledgement (`ack`) set to `false`, as ioBroker does for changes made in the Objects view or by `setState(id, value, false)`. The adapter sends the complete settings group to Alpha ESS and reads the values back after the request. Avoid several concurrent writes to values in the same group.
108
89
 
109
- - (Gaspode) Adapter requires node.js >= 18 and js-controller >= 5 now
110
- - (Gaspode) Dependencies updated
111
- - (Gaspode) Adapter logo updated. Alpha-ESS has kindly permitted to use the Alpha-ESS logo. This does not imply any affiliation with Alpha-ESS! Alpha-ESS is not the developer or provider of this adapter!
90
+ Wallbox support currently handles one wallbox per Alpha ESS system. Before automating charging, verify the accepted range and behavior for the installed wallbox model.
112
91
 
113
- ### 2.0.2 (2024-01-12)
92
+ The `Household_Current.Current` state represents **Household Current**. When migrating from a version before 4.2.0, the adapter deletes the obsolete `Wallbox_Current` folder and its states on startup. Update scripts and visualizations that use `Wallbox_Current.Current` to use `Household_Current.Current`. The existing activation and polling interval settings are retained.
114
93
 
115
- - (Gaspode) Updated Copyright year
94
+ ## State quality
116
95
 
117
- ### 2.0.1 (2024-01-03)
96
+ The `q` attribute shows whether a value is current:
118
97
 
119
- - (Gaspode) Adapted timeout to new API restrictions
98
+ | Quality | Meaning |
99
+ | --- | --- |
100
+ | `0x00` | Value is current |
101
+ | `0x01` | Value was not updated in the expected interval; see the debug log |
102
+ | `0x02` | Network or cloud connection problem |
103
+ | `0x12` | Adapter is stopped or disconnected |
104
+ | `0x44` | The API returned an error or the adapter detected an internal error |
120
105
 
121
- ### 2.0.0 (2023-12-02)
106
+ `info.connection` is `true` after a successful API response and `false` when communication fails.
122
107
 
123
- - (Gaspode) Breaking Change: Removed support of Closed API
108
+ ## Troubleshooting
124
109
 
125
- ### 1.3.0 (2023-11-22)
110
+ - **No states are created:** Confirm that the data group is enabled and check the debug log. Some Alpha ESS systems do not support every endpoint.
111
+ - **Authentication fails:** Verify the application ID and secret, then confirm that the system SN is registered for that application in the Open API portal.
112
+ - **Timestamp error (`6006`):** Synchronize the ioBroker host clock and timezone using NTP.
113
+ - **Values remain stale:** Inspect the state quality and debug log, increase the polling interval, and check whether the Alpha ESS cloud is reachable.
114
+ - **A written value changes back:** The API response is authoritative. Check the value range and format accepted by the system and avoid writing the same settings group concurrently.
126
115
 
127
- - (Gaspode) Support wallbox with Open API
128
- - (Gaspode) Start and stop charging of wallbox with Open API
116
+ When reporting a problem, include the adapter version, Node.js and js-controller versions, system model, affected state ID, and a debug log covering one failed request. Remove the application secret and other credentials first.
129
117
 
130
- ### 1.2.1 (2023-11-11)
118
+ ## Support
131
119
 
132
- - (Gaspode) Fixed severe error in ClosedAPI
120
+ - [GitHub issues](https://github.com/Gaspode69/ioBroker.alpha-ess/issues)
121
+ - [ioBroker forum thread](https://forum.iobroker.net/topic/60009/)
122
+ - [Storion4you community thread](https://www.storion4you.de/thread/683)
133
123
 
134
- ### 1.2.0 (2023-11-10)
135
-
136
- - (Gaspode) Added additional realtime attributes for OpenAPI
137
-
138
- ### 1.1.1 (2023-11-04)
139
-
140
- - (Gaspode) Closed API adapted to latest Alpha-ESS changes and enabled again
141
-
142
- ### 1.1.0 (2023-11-04)
143
-
144
- - (Gaspode) Closed API disabled (temporarily?) because API has been changed by Alpha-ESS
145
- - (Gaspode) Read back changed settings values 2 seconds after they have been changed
146
-
147
- ### 1.0.2 (2023-10-05)
148
-
149
- - (mcm1957) Updated required node version to 16 or newer
150
-
151
- ### 1.0.1 (2023-10-03)
152
-
153
- - (Gaspode) Adapted fetching energy values using 'Closed API' to latest API changes by Alpha-ESS
154
-
155
- ### 1.0.0 (2023-06-20)
156
-
157
- - (Gaspode) Support also the new official OpenAPI provided by Alpha-ESS
158
- - (Gaspode) Set state quality accordingly to status of data
159
- - (Gaspode) Writing charging and discharging settings implemented for 'Closed API' and OpenAPI
160
- - (Gaspode) Remove no more supported states at startup automatically
161
-
162
- ### 0.4.0 (2023-02-16)
163
-
164
- - (Gaspode) Optimized deletion of group states
165
- - (Gaspode) Added new Realtime state for pmeter_dc
166
-
167
- ### 0.3.0 (2023-02-11)
168
-
169
- - (Gaspode) Read selected statistical data
170
- - (Gaspode) Added Summary data
171
- - (Gaspode) Refactored complete implementation
172
- - (Gaspode) Changed the unit of settings for all intervals, except of realtime data, to minutes (Caution: settings are reset to defaults)
173
- - (Gaspode) Remove disabled states at adapter startup
174
- - (Gaspode) Removed no more supported value 'createtime' (state ID Realtime.Last_update).
175
- - (Gaspode) Optimized rounding for selected values
176
- - (Gaspode) Added states EV1_power, EV2_power, EV3_power and EV4_power to Realtime folder
177
-
178
- ### 0.1.0 (2023-01-15)
179
-
180
- - (Gaspode) First release for Latest repository
181
- - (Gaspode) Corrected typo in state ID Battery_SOC
182
- - (Gaspode) Implemented improvements as suggested in code review
183
- - (Gaspode) Slow down requests in case of permanent errors
184
- - (Gaspode) Changed adapter type from metering to energy
185
- - (Gaspode) Correction for NPM
186
- - (Gaspode) Enable NPM
124
+ ## Disclaimer
187
125
 
188
- ### 0.0.5
126
+ **All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal.**
189
127
 
190
- - (Gaspode) Use meaningful state names
191
- - (Gaspode) Use suitable state roles
192
- - (Gaspode) Added new state for Alpha-ESS settings parameter 'upsReserve'
128
+ ## Changelog
129
+ ### 4.2.0 (2026-11-29)
130
+ - (Gaspode) **Breaking change:** Renamed `Wallbox_Current.Current` to `Household_Current.Current` and corrected its description; the obsolete folder is deleted automatically
131
+ - (Gaspode) Adapter requires Node.js 22 or newer
132
+ - (Gaspode) Added Node.js 26 tests and updated development tooling
133
+ - (Gaspode) Improved setup, configuration, data point, and troubleshooting documentation
134
+ - (Gaspode) Improved the configuration layout on small screens
193
135
 
194
- ### 0.0.4
136
+ ### 4.1.0 (2026-02-14)
195
137
 
196
- - (Gaspode) use axios to perform Alpha-ESS API calls instead of deprecated request
197
- - (Gaspode) New option "Update unchanged states" added
138
+ - (Gaspode) Read and write Household Current (originally described as wallbox current)
198
139
 
199
- ### 0.0.3
140
+ ### 4.0.0 (2025-11-01)
200
141
 
201
- - (Gaspode) refactored API calls, added daily energy values
142
+ - (Gaspode) Update dependencies, Node.js version 20 or later is now required
202
143
 
203
- ### 0.0.2
144
+ ### 3.0.1 (2024-12-22)
204
145
 
205
- - (Gaspode) corrected api call for realtime data
146
+ - (Gaspode) Optimizations of reading pseudo-realtime power data for slow systems
206
147
 
207
- ### 0.0.1
148
+ ### 3.0.0 (2024-12-21)
208
149
 
209
- - (Gaspode) initial release
150
+ - (Gaspode) **Breaking Change:** Renamed state "Charging_period 1_end" to "Charging_period_1_end"
151
+ - (Gaspode) Optimizations in configuration dialog
210
152
 
211
153
  ## License
212
154
 
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Intervall zum Lesen der Ladeeinstellungen [min]",
15
15
  "Interval to read discharging settings": "Intervall zum Lesen der Entladeeinstellungen [min]",
16
16
  "Interval to read wallbox data": "Intervall zum Auslesen der Wallbox-Daten [min]",
17
- "Interval to read wallbox current data": "Intervall zum Lesen der Wallbox-Stromvorgabe [sec]",
17
+ "Interval to read wallbox current data": "Intervall zum Lesen von Household Current (Haushaltsstrom) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Entschuldigung. Closed API wird aufgrund von Änderungen durch Alpha-ESS derzeit nicht unterstützt!",
19
19
  "Interval to read system information data": "Intervall zum Lesen von Systeminformationsdaten [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Lese alle 5 Minuten Pseudo-Echtzeit-Leistungsdaten (für Systeme ohne Echtzeitdatenunterstützung)"
@@ -15,7 +15,7 @@
15
15
  "Interval to read charging settings": "Interval to read charging settings [min]",
16
16
  "Interval to read discharging settings": "Interval to read discharging settings [min]",
17
17
  "Interval to read wallbox data": "Interval to read wallbox data [min]",
18
- "Interval to read wallbox current data": "Interval to read wallbox current data [sec]",
18
+ "Interval to read wallbox current data": "Interval to read Household Current [sec]",
19
19
  "Sorry. Closed API currently not supported!": "Sorry. Closed API currently not supported due to changes by Alpha-ESS!",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Get recent power data every 5 minutes (for systems with no realtime data support)"
21
21
  }
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Intervalo para leer la configuración de carga",
15
15
  "Interval to read discharging settings": "Intervalo para leer la configuración de descarga",
16
16
  "Interval to read wallbox data": "Intervalo para leer los datos del wallbox [min]",
17
- "Interval to read wallbox current data": "Intervalo para leer el ajuste de corriente doméstica de la wallbox [sec]",
17
+ "Interval to read wallbox current data": "Intervalo de lectura de Household Current (corriente doméstica) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Lo siento. ¡La API cerrada actualmente no es compatible debido a cambios realizados por Alpha-ESS!",
19
19
  "Interval to read system information data": "Intervalo para leer datos de información del sistema [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Obtenga datos de energía recientes cada 5 minutos (para sistemas sin soporte de datos en tiempo real)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Intervalle pour lire les paramètres de charge",
15
15
  "Interval to read discharging settings": "Intervalle pour lire les paramètres de décharge",
16
16
  "Interval to read wallbox data": "Intervalle de lecture des données de la wallbox [min]",
17
- "Interval to read wallbox current data": "Intervalle de lecture du réglage du courant domestique de la wallbox [sec]",
17
+ "Interval to read wallbox current data": "Intervalle de lecture de Household Current (courant domestique) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Désolé. API fermée actuellement non prise en charge en raison de modifications apportées par Alpha-ESS !",
19
19
  "Interval to read system information data": "Intervalle de lecture des données d'informations système [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Obtenez des données de puissance récentes toutes les 5 minutes (pour les systèmes sans prise en charge des données en temps réel)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Intervallo per leggere le impostazioni di ricarica",
15
15
  "Interval to read discharging settings": "Intervallo per leggere le impostazioni di scarica",
16
16
  "Interval to read wallbox data": "Intervallo per leggere i dati della Wallbox [min]",
17
- "Interval to read wallbox current data": "Intervallo per leggere l'impostazione della corrente domestica della wallbox [sec]",
17
+ "Interval to read wallbox current data": "Intervallo di lettura di Household Current (corrente domestica) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Scusa. API chiusa attualmente non supportata a causa di modifiche apportate da Alpha-ESS!",
19
19
  "Interval to read system information data": "Intervallo per leggere i dati delle informazioni di sistema [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Ottieni dati energetici recenti ogni 5 minuti (per sistemi senza supporto dati in tempo reale)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Interval om laadinstellingen te lezen",
15
15
  "Interval to read discharging settings": "Interval om ontlaadinstellingen te lezen",
16
16
  "Interval to read wallbox data": "Interval voor het lezen van wallbox-gegevens [min]",
17
- "Interval to read wallbox current data": "Interval voor het lezen van de wallbox-huishoudstroominstelling [sec]",
17
+ "Interval to read wallbox current data": "Interval voor het lezen van Household Current (huishoudstroom) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Sorry. Gesloten API momenteel niet ondersteund vanwege wijzigingen door Alpha-ESS!",
19
19
  "Interval to read system information data": "Interval voor het lezen van systeeminformatiegegevens [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Ontvang elke 5 minuten recente stroomgegevens (voor systemen zonder realtime gegevensondersteuning)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Interwał odczytu ustawień ładowania",
15
15
  "Interval to read discharging settings": "Interwał odczytu ustawień rozładowania",
16
16
  "Interval to read wallbox data": "Interwał odczytu danych wallboxa [min]",
17
- "Interval to read wallbox current data": "Interwał odczytu ustawienia prądu domowego wallboxa [sec]",
17
+ "Interval to read wallbox current data": "Interwał odczytu Household Current (prądu domowego) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Przepraszam. Zamknięte API obecnie nie jest obsługiwane ze względu na zmiany wprowadzone przez Alpha-ESS!",
19
19
  "Interval to read system information data": "Interwał odczytu danych informacyjnych systemu [s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Uzyskaj najnowsze dane dotyczące zasilania co 5 minut (w przypadku systemów bez obsługi danych w czasie rzeczywistym)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Intervalo para ler as configurações de carregamento",
15
15
  "Interval to read discharging settings": "Intervalo para ler as configurações de descarga",
16
16
  "Interval to read wallbox data": "Intervalo para leitura dos dados da Wallbox [min]",
17
- "Interval to read wallbox current data": "Intervalo para ler a configuração de corrente doméstica da wallbox [sec]",
17
+ "Interval to read wallbox current data": "Intervalo de leitura de Household Current (corrente doméstica) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Desculpe. API fechada atualmente não suportada devido a alterações do Alpha-ESS!",
19
19
  "Interval to read system information data": "Intervalo para leitura de dados de informações do sistema",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Obtenha dados de energia recentes a cada 5 minutos (para sistemas sem suporte de dados em tempo real)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Интервал чтения настроек зарядки",
15
15
  "Interval to read discharging settings": "Интервал чтения настроек разрядки",
16
16
  "Interval to read wallbox data": "Интервал чтения данных Wallbox [мин]",
17
- "Interval to read wallbox current data": "Интервал чтения настройки бытового тока Wallbox [sec]",
17
+ "Interval to read wallbox current data": "Интервал чтения Household Current (тока домохозяйства) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "Извини. Закрытый API в настоящее время не поддерживается из-за изменений Alpha-ESS!",
19
19
  "Interval to read system information data": "Интервал чтения данных системной информации [с]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Получайте последние данные о питании каждые 5 минут (для систем без поддержки данных в реальном времени)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "Інтервал зчитування параметрів заряджання",
15
15
  "Interval to read discharging settings": "Інтервал зчитування параметрів розрядки",
16
16
  "Interval to read wallbox data": "Інтервал зчитування даних Wallbox [хв]",
17
- "Interval to read wallbox current data": "Інтервал зчитування налаштування домашнього струму Wallbox [sec]",
17
+ "Interval to read wallbox current data": "Інтервал зчитування Household Current (струму домогосподарства) [sec]",
18
18
  "Sorry. Closed API currently not supported!": "вибач Закритий API наразі не підтримується через зміни Alpha-ESS!",
19
19
  "Interval to read system information data": "Інтервал читання системної інформації [с]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "Отримувати останні дані про живлення кожні 5 хвилин (для систем без підтримки даних у реальному часі)"
@@ -14,7 +14,7 @@
14
14
  "Interval to read charging settings": "读取充电设置的间隔",
15
15
  "Interval to read discharging settings": "读取放电设置的间隔",
16
16
  "Interval to read wallbox data": "读取 Wallbox 数据的时间间隔 [min]",
17
- "Interval to read wallbox current data": "读取 Wallbox 家庭电流设置的时间间隔 [sec]",
17
+ "Interval to read wallbox current data": "读取 Household Current(家庭电流)的时间间隔 [sec]",
18
18
  "Sorry. Closed API currently not supported!": "对不起。由于 Alpha-ESS 的更改,目前不支持封闭 API!",
19
19
  "Interval to read system information data": "读取系统信息数据的时间间隔[s]",
20
20
  "Get recent power data every 5 minutes (for systems with no realtime data)": "每 5 分钟获取一次最新电量数据(适用于不支持实时数据的系统)"
@@ -34,7 +34,7 @@
34
34
  "disabled": "data.apiType == 3"
35
35
  },
36
36
  "oAEnableRealtime": {
37
- "xs": 1.1,
37
+ "xs": 12,
38
38
  "sm": 0.6,
39
39
  "md": 0.4,
40
40
  "lg": 0.2,
@@ -43,7 +43,7 @@
43
43
  "newLine": true
44
44
  },
45
45
  "oAIntervalRealtime": {
46
- "xs": 9.9,
46
+ "xs": 12,
47
47
  "sm": 7.4,
48
48
  "md": 3.6,
49
49
  "lg": 2.8,
@@ -55,7 +55,7 @@
55
55
  "disabled": "!data.oAEnableRealtime"
56
56
  },
57
57
  "oAEnableEssList": {
58
- "xs": 1.1,
58
+ "xs": 12,
59
59
  "sm": 0.6,
60
60
  "md": 0.4,
61
61
  "lg": 0.2,
@@ -64,7 +64,7 @@
64
64
  "newLine": true
65
65
  },
66
66
  "oAIntervalEssList": {
67
- "xs": 9.9,
67
+ "xs": 12,
68
68
  "sm": 7.4,
69
69
  "md": 3.6,
70
70
  "lg": 2.8,
@@ -76,7 +76,7 @@
76
76
  "disabled": "!data.oAEnableEssList"
77
77
  },
78
78
  "oAEnableEnergy": {
79
- "xs": 1.1,
79
+ "xs": 12,
80
80
  "sm": 0.6,
81
81
  "md": 0.4,
82
82
  "lg": 0.2,
@@ -85,7 +85,7 @@
85
85
  "newLine": true
86
86
  },
87
87
  "oAIntervalEnergyMins": {
88
- "xs": 9.9,
88
+ "xs": 12,
89
89
  "sm": 7.4,
90
90
  "md": 3.6,
91
91
  "lg": 2.8,
@@ -97,7 +97,7 @@
97
97
  "disabled": "!data.oAEnableEnergy"
98
98
  },
99
99
  "oAEnableSettingsCharge": {
100
- "xs": 1.1,
100
+ "xs": 12,
101
101
  "sm": 0.6,
102
102
  "md": 0.4,
103
103
  "lg": 0.2,
@@ -106,7 +106,7 @@
106
106
  "newLine": true
107
107
  },
108
108
  "oAIntervalSettingsChargeMins": {
109
- "xs": 9.9,
109
+ "xs": 12,
110
110
  "sm": 7.4,
111
111
  "md": 3.6,
112
112
  "lg": 2.8,
@@ -118,7 +118,7 @@
118
118
  "disabled": "!data.oAEnableSettingsCharge"
119
119
  },
120
120
  "oAEnableSettingsDischarge": {
121
- "xs": 1.1,
121
+ "xs": 12,
122
122
  "sm": 0.6,
123
123
  "md": 0.4,
124
124
  "lg": 0.2,
@@ -127,7 +127,7 @@
127
127
  "newLine": true
128
128
  },
129
129
  "oAIntervalSettingsDischargeMins": {
130
- "xs": 9.9,
130
+ "xs": 12,
131
131
  "sm": 7.4,
132
132
  "md": 3.6,
133
133
  "lg": 2.8,
@@ -139,7 +139,7 @@
139
139
  "disabled": "!data.oAEnableSettingsDischarge"
140
140
  },
141
141
  "oAEnableSummary": {
142
- "xs": 1.1,
142
+ "xs": 12,
143
143
  "sm": 0.6,
144
144
  "md": 0.4,
145
145
  "lg": 0.2,
@@ -148,7 +148,7 @@
148
148
  "newLine": true
149
149
  },
150
150
  "oAIntervalSummaryMins": {
151
- "xs": 9.9,
151
+ "xs": 12,
152
152
  "sm": 7.4,
153
153
  "md": 3.6,
154
154
  "lg": 2.8,
@@ -170,7 +170,7 @@
170
170
  "label": "Get recent power data every 5 minutes (for systems with no realtime data)"
171
171
  },
172
172
  "oAEnableWallbox": {
173
- "xs": 1.1,
173
+ "xs": 12,
174
174
  "sm": 0.6,
175
175
  "md": 0.4,
176
176
  "lg": 0.2,
@@ -179,7 +179,7 @@
179
179
  "newLine": true
180
180
  },
181
181
  "oAIntervalWallboxMins": {
182
- "xs": 9.9,
182
+ "xs": 12,
183
183
  "sm": 7.4,
184
184
  "md": 3.6,
185
185
  "lg": 2.8,
@@ -191,7 +191,7 @@
191
191
  "disabled": "!data.oAEnableWallbox"
192
192
  },
193
193
  "oAEnableWallboxCurrent": {
194
- "xs": 1.1,
194
+ "xs": 12,
195
195
  "sm": 0.6,
196
196
  "md": 0.4,
197
197
  "lg": 0.2,
@@ -200,7 +200,7 @@
200
200
  "newLine": true
201
201
  },
202
202
  "oAIntervalWallboxCurrent": {
203
- "xs": 9.9,
203
+ "xs": 12,
204
204
  "sm": 7.4,
205
205
  "md": 3.6,
206
206
  "lg": 2.8,
package/io-package.json CHANGED
@@ -1,20 +1,33 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "alpha-ess",
4
- "version": "4.1.0",
4
+ "version": "4.2.0",
5
5
  "news": {
6
+ "4.2.0": {
7
+ "en": "**Breaking change:** Renamed `Wallbox_Current.Current` to `Household_Current.Current` and corrected its description; the obsolete folder is deleted automatically\nAdapter requires Node.js 22 or newer\nAdded Node.js 26 tests and updated development tooling\nImproved setup, configuration, data point, and troubleshooting documentation\nImproved the configuration layout on small screens",
8
+ "de": "**Wichtige Änderung: ** `Wallbox_Current.Current` in `Household_Current.Current` umbenannt und die Beschreibung korrigiert; der veraltete Ordner wird automatisch gelöscht\nAdapter benötigt Node.js 22 oder neuer\nNode.js 26 Tests und neue Entwicklungstools hinzugefügt\nVerbesserte Dokumentation zu Setup, Konfiguration, Datenpunkt und Fehlerbehebung\nDas Layout auf kleinen Bildschirmen wurde verbessert",
9
+ "ru": "**Критическое изменение: ** Переименовал «Wallbox_Current.Current` в `Household_Current.Current` и исправил его описание; устаревшая папка автоматически удаляется\nДля адаптера требуется Node.js 22 или новее\nДобавлены 26 тестов Node.js и обновлены инструменты разработки\nУлучшенная документация по установке, конфигурации, точкам данных и устранению неполадок\nУлучшена компоновка конфигурации на небольших экранах",
10
+ "pt": "**Alteração importante: ** Renomeou `Wallbox_Current.Current` para `Household_Current.Current` e corrigiu sua descrição; a pasta obsoleta é excluída automaticamente\nO adaptador exige Node.js 22 ou maior\nAdicionou testes Node.js 26 e atualizou a ferramenta\nDocumentação aprimorada de instalação, data point e solução de problemas\nMelhorou a configuração em telas pequenas",
11
+ "nl": "**Belangrijke wijziging: ** Heeft `Wallbox_Current.Current` hernoemd naar `Household_Current.Current` en de beschrijving gecorrigeerd; de verouderde map wordt automatisch verwijderd\nVoor de adapter is Node.js 22 of hoger vereist\n26 tests van Node.js en bijgewerkte ontwikkeltools toegevoegd\nVerbeterde documentatie voor installatie, configuratie, datapunt en probleemoplossing\nDe indeling van de configuratie op kleine schermen verbeterd",
12
+ "fr": "**Dernière modification :** A renommé `Wallbox_Current.Current` en `Household_Current.Current` et sa description a été corrigée ; le dossier obsolète est automatiquement supprimé\nL'adaptateur nécessite Node.js 22 ou plus\nAjout de 26 tests sur Node.js et d'outils de développement mis à jour\nConfiguration, point de données et documentation de dépannage améliorés\nAmélioration de la configuration sur les petits écrans",
13
+ "it": "**Ultima modifica: ** Rinominato `Wallbox_Current` in `Household_Current` e corretta la descrizione; la cartella obsoleta viene eliminata automaticamente\nL'adattatore richiede Node.js 2 o più\nNode.js ha aggiunto 26 test e tool di sviluppo\nDocumentazione migliorata su setup, configurazione, data point e risoluzione problemi\nÈ stata migliorata la configurazione su schermi piccoli",
14
+ "es": "**Cambio de última hora: ** Cambió el nombre de `Wallbox_Current.Current` por `Household_Current.Current` y se corrigió su descripción; la carpeta obsoleta se elimina automáticamente\nEl adaptador requiere Node.js 22 o más\nSe han añadido 26 pruebas de Node.js y se han actualizado\nDocumentación mejorada de montaje, puntos de datos y solución de problemas\nMejoró el diseño de la configuración en pantallas pequeñas",
15
+ "pl": "**Przerwana zmiana: ** Zmiana nazwy `Wallbox_Current.Current` na `Household_Current.Current` i poprawiona jego opis; przestarzały folder jest usuwany automatycznie\nAdapter wymaga pliku Node.js 22 lub nowszego\nDodano testy Node.js 26 i zaktualizowane narzędzia programistyczne\nUlepszona konfiguracja, konfiguracja, punkt danych i dokumentacja rozwiązywania problemów\nPoprawiono układ konfiguracji na małych ekranach",
16
+ "uk": "**Порушення зміни: ** Перейменовано `Wallbox_Current.Current` на `Household_Current.Current` і виправлено її опис; застаріла папка видаляється автоматично\nАдаптер вимагає Node.js 22 або новішої версії\nДодано тести Node.js 26 і оновлені інструменти розробки\nПокращена документація щодо налаштування, конфігурації, точки даних та усунення неполадок\nПокращено компонування конфігурації на невеликих екранах",
17
+ "zh-cn": "**重大更改:** 将 `Wallbox_Current.Current` 重命名为 `Household_Current.Current.Current` 并更正了其描述;过时的文件夹被自动删除\n适配器需要 Node.js 22 或更高版本\n添加了 Node.js 26 个测试并更新了开发工具\n改进了设置、配置、数据点和故障排除文档\n改进了小屏幕上的配置布局"
18
+ },
6
19
  "4.1.0": {
7
- "en": "Read and write wallbox current",
8
- "de": "Lesen und schreiben der Wallbox Stromvotgabee",
9
- "ru": "Читать и писать Wallbox Current",
10
- "pt": "Ler e escrever o wallbox actual",
11
- "nl": "Wallbox stroom lezen en schrijven",
12
- "fr": "Lecture et écriture du courant wallbox",
13
- "it": "Leggere e scrivere la corrente wallbox",
14
- "es": "Leer y escribir corriente de caja de pared",
15
- "pl": "Odczyt i zapis prądu tapety",
16
- "uk": "Читання та написати струмок",
17
- "zh-cn": "读写壁框当前"
20
+ "en": "Read and write Household Current",
21
+ "de": "Lesen und Schreiben von Household Current (Haushaltsstrom)",
22
+ "ru": "Чтение и запись Household Current (тока домохозяйства)",
23
+ "pt": "Ler e escrever Household Current (corrente doméstica)",
24
+ "nl": "Household Current (huishoudstroom) lezen en schrijven",
25
+ "fr": "Lecture et écriture de Household Current (courant domestique)",
26
+ "it": "Lettura e scrittura di Household Current (corrente domestica)",
27
+ "es": "Leer y escribir Household Current (corriente doméstica)",
28
+ "pl": "Odczyt i zapis Household Current (prądu domowego)",
29
+ "uk": "Читання та запис Household Current (струму домогосподарства)",
30
+ "zh-cn": "读取和写入 Household Current(家庭电流)"
18
31
  },
19
32
  "4.0.0": {
20
33
  "en": "Update dependencies, Node.js version 20 or later is now required",
@@ -80,19 +93,6 @@
80
93
  "pl": "Dostarczanie informacji systemowych (GetesList)",
81
94
  "uk": "Забезпечити інформацію про систему (getEssList)",
82
95
  "zh-cn": "提供系统信息m数据( getEsList)"
83
- },
84
- "2.1.6": {
85
- "en": "Migrated to ESLint 9",
86
- "de": "Zu ESLint 9 migriert",
87
- "ru": "Migrated to ESLint 9",
88
- "pt": "Migrado para ESLint 9",
89
- "nl": "Verplaatst naar ESLint 9",
90
- "fr": "Migrées à ESLint 9",
91
- "it": "Migrato a ESLint 9",
92
- "es": "Migrated to ESLint 9",
93
- "pl": "Migrant to ESLint 9",
94
- "uk": "Міграція до ESLint 9",
95
- "zh-cn": "迁移到 ESLint 9"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -154,7 +154,7 @@
154
154
  ],
155
155
  "globalDependencies": [
156
156
  {
157
- "admin": ">=7.6.17"
157
+ "admin": ">=7.6.20"
158
158
  }
159
159
  ]
160
160
  },
package/main.js CHANGED
@@ -8,7 +8,7 @@
8
8
  // you need to create an adapter
9
9
  const utils = require('@iobroker/adapter-core');
10
10
 
11
- const crypto = require('crypto');
11
+ const crypto = require('node:crypto');
12
12
  const axios = require('axios');
13
13
 
14
14
  const OA_BaseURI = 'https://openapi.alphaess.com/api';
@@ -771,8 +771,8 @@ class OpenAPI {
771
771
  ],
772
772
  },
773
773
  {
774
- Group: 'Wallbox_Current',
775
- fnct: this.getWallboxCurrentData.bind(this),
774
+ Group: 'Household_Current',
775
+ fnct: this.getHouseholdCurrentData.bind(this),
776
776
  writeFnct: this.writeConfigInfo.bind(this),
777
777
  writeTimeoutIntervalInS: 0,
778
778
  requestName: 'setEvChargerCurrentsBySn',
@@ -784,7 +784,7 @@ class OpenAPI {
784
784
  alphaAttrName: 'currentsetting',
785
785
  role: 'level.current',
786
786
  id: 'Current',
787
- name: 'Wallbox household current setting',
787
+ name: 'Household Current setting',
788
788
  type: 'number',
789
789
  unit: 'A',
790
790
  writeable: true,
@@ -1083,7 +1083,7 @@ class OpenAPI {
1083
1083
  /**
1084
1084
  * @param group Group name
1085
1085
  */
1086
- async getWallboxCurrentData(group) {
1086
+ async getHouseholdCurrentData(group) {
1087
1087
  try {
1088
1088
  await this.adapter.stopGroupTimeout(group);
1089
1089
 
@@ -1460,9 +1460,10 @@ class AlphaEss extends utils.Adapter {
1460
1460
  if (await this.isMigrationNecessary()) {
1461
1461
  this.log.info('States will be migrated.');
1462
1462
 
1463
- // Remove no longer supported groups:
1464
- await this.delObjectAsync('Settings', { recursive: true });
1465
- await this.delObjectAsync('StatisticsToday', { recursive: true });
1463
+ // Remove no longer supported groups, including the pre-4.2.0 current group.
1464
+ for (const group of ['Settings', 'StatisticsToday', 'Wallbox_Current']) {
1465
+ await this.delObjectAsync(group, { recursive: true });
1466
+ }
1466
1467
  }
1467
1468
 
1468
1469
  if (this.config.appID && this.config.appSecret && this.config.systemId) {
@@ -1734,8 +1735,8 @@ class AlphaEss extends utils.Adapter {
1734
1735
  }
1735
1736
  if (vParts.length >= 3) {
1736
1737
  const major = Number.parseInt(vParts[0]);
1737
- //const minor = Number.parseInt(vParts[1]);
1738
- if (major >= 3) {
1738
+ const minor = Number.parseInt(vParts[1]);
1739
+ if (major > 4 || (major === 4 && minor >= 2)) {
1739
1740
  return false;
1740
1741
  }
1741
1742
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.alpha-ess",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Read and write data from and to Alpha ESS systems.",
5
5
  "author": {
6
6
  "name": "Gaspode",
@@ -18,26 +18,25 @@
18
18
  "url": "https://github.com/Gaspode69/ioBroker.alpha-ess.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">= 20"
21
+ "node": ">= 22"
22
22
  },
23
23
  "dependencies": {
24
- "@iobroker/adapter-core": "^3.3.2",
25
- "axios": "^1.13.2"
24
+ "@iobroker/adapter-core": "^3.4.3",
25
+ "axios": "^1.15.2"
26
26
  },
27
27
  "devDependencies": {
28
- "@alcalzone/release-script": "^5.0.0",
29
- "@alcalzone/release-script-plugin-iobroker": "^4.0.0",
30
- "@alcalzone/release-script-plugin-license": "^4.0.0",
31
- "@alcalzone/release-script-plugin-manual-review": "^4.0.0",
28
+ "@alcalzone/release-script": "^5.2.1",
29
+ "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
30
+ "@alcalzone/release-script-plugin-license": "^5.2.2",
31
+ "@alcalzone/release-script-plugin-manual-review": "^5.2.0",
32
32
  "@iobroker/adapter-dev": "^1.5.0",
33
33
  "@iobroker/dev-server": "^0.8.0",
34
- "@iobroker/eslint-config": "^2.2.0",
35
- "@iobroker/testing": "^5.2.2",
36
- "@tsconfig/node14": "^14.1.8",
37
- "@tsconfig/node18": "^18.2.6",
38
- "@types/node": "^25.0.1",
34
+ "@iobroker/eslint-config": "^2.3.4",
35
+ "@iobroker/testing": "^6.3.4",
36
+ "@tsconfig/node22": "^22.0.7",
37
+ "@types/node": "^22.20.5",
39
38
  "@types/proxyquire": "^1.3.31",
40
- "baseline-browser-mapping": "^2.9.19",
39
+ "baseline-browser-mapping": "^2.11.38",
41
40
  "proxyquire": "^2.1.3",
42
41
  "typescript": "~5.8.3"
43
42
  },