iobroker.alpha-ess 0.4.0 → 1.0.0-alpha.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 +79 -35
- package/admin/i18n/de/translations.json +8 -4
- package/admin/i18n/en/translations.json +5 -1
- package/admin/i18n/es/translations.json +5 -1
- package/admin/i18n/fr/translations.json +5 -1
- package/admin/i18n/it/translations.json +5 -1
- package/admin/i18n/nl/translations.json +5 -1
- package/admin/i18n/pl/translations.json +5 -1
- package/admin/i18n/pt/translations.json +5 -1
- package/admin/i18n/ru/translations.json +5 -1
- package/admin/i18n/uk/translations.json +5 -1
- package/admin/i18n/zh-cn/translations.json +5 -1
- package/admin/jsonConfig.json +161 -12
- package/io-package.json +52 -30
- package/main.js +1537 -770
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|

|
|
2
|
+
|
|
2
3
|
# ioBroker.alpha-ess
|
|
3
4
|
|
|
4
5
|

|
|
@@ -21,77 +22,120 @@ All other data points are ignored. During adapter start these data points are lo
|
|
|
21
22
|
Basically, it is possible to change selected configuration settings using the Alpha ESS Web API. This is not implemented yet.
|
|
22
23
|
|
|
23
24
|
## Settings:
|
|
24
|
-
|
|
25
|
-
**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
**
|
|
31
|
-
**
|
|
25
|
+
|
|
26
|
+
**Used API:** Choose between the inofficial "Closed" API and the official "Open" API (under development)
|
|
27
|
+
Depending on the selected API there are different settings available.
|
|
28
|
+
|
|
29
|
+
**Closed API Settings:**
|
|
30
|
+
|
|
31
|
+
- **Username:** The username of your Alpha ESS Account
|
|
32
|
+
- **Password:** The password of your Alpha ESS Account
|
|
33
|
+
- **Alpha ESS System ID:** The system Identifier of your Alpha ESS equipment
|
|
34
|
+
- **Interval to read realtime data:** Unit: seconds.
|
|
35
|
+
- **Interval to read energy data:** Unit: minutes.
|
|
36
|
+
- **Interval to read settings data:** Unit: minutes.
|
|
37
|
+
- **Interval to read statistical data for the current day:** Unit: minutes.
|
|
38
|
+
- **Interval to read summary data:** Unit: minutes.
|
|
32
39
|
|
|
33
40
|
It is possible to use a demo account provided by Alpha ESS. The credentials (user name, system id) are set as default values within the adapter.
|
|
34
41
|
The password is stored encrypted and must therefore be entered manually: demo
|
|
35
42
|
|
|
43
|
+
**Open API Settings:**
|
|
44
|
+
To be able to use the new 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. Currently I have no information if this will be changed in the future.
|
|
45
|
+
|
|
46
|
+
- **Personal application ID:** The application ID (see above)
|
|
47
|
+
- **Personal application Secret:** The application Secret (see above)
|
|
48
|
+
- **Alpha ESS System ID:** The system Identifier of your Alpha ESS equipment
|
|
49
|
+
- **Interval to read realtime data:** Unit: seconds.
|
|
50
|
+
- **Interval to read energy data:** Unit: minutes.
|
|
51
|
+
- **Interval to read charging settings:** Unit: minutes.
|
|
52
|
+
- **Interval to read discharging settings:** Unit: minutes.
|
|
53
|
+
- **Interval to read summary data:** Unit: minutes.
|
|
54
|
+
|
|
36
55
|
## Disclaimer
|
|
56
|
+
|
|
37
57
|
**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.**
|
|
38
58
|
|
|
39
59
|
## Changelog
|
|
60
|
+
### 1.0.0-alpha.0 (2023-04-11)
|
|
61
|
+
|
|
62
|
+
- (Gaspode) Support also the new official OpenAPI provided by Alpha-ESS
|
|
63
|
+
|
|
64
|
+
### 0.5.0 (2023-03-05)
|
|
65
|
+
|
|
66
|
+
- (Gaspode) Remove no more supported states at startup automatically
|
|
67
|
+
- (Gaspode) Prepared data migration for future versions
|
|
68
|
+
|
|
40
69
|
### 0.4.0 (2023-02-16)
|
|
41
|
-
|
|
42
|
-
|
|
70
|
+
|
|
71
|
+
- (Gaspode) Optimized deletion of group states
|
|
72
|
+
- (Gaspode) Added new Realtime state for pmeter_dc
|
|
43
73
|
|
|
44
74
|
### 0.3.0 (2023-02-11)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
75
|
+
|
|
76
|
+
- (Gaspode) Rearranged statistical data and added more values. Many thanks to [Thorsten](https://github.com/ThorstenBoettler) for his valuable contribution in testing the early alpha versions of this release and providing informative suggestions and recommendations for new data points.
|
|
77
|
+
- (Gaspode) Added Summary data
|
|
78
|
+
- (Gaspode) Refactored complete implementation
|
|
79
|
+
- (Gaspode) Changed the unit of settings for all intervals, except of realtime data, to minutes (Caution: settings are reset to defaults)
|
|
80
|
+
- (Gaspode) Remove disabled states at adapter startup
|
|
81
|
+
- (Gaspode) Removed no more supported value 'createtime' (state ID Realtime.Last_update).
|
|
82
|
+
- (Gaspode) Optimized rounding for selected values
|
|
52
83
|
|
|
53
84
|
### 0.2.1-beta.0 (2023-01-31)
|
|
54
|
-
|
|
85
|
+
|
|
86
|
+
- (Gaspode) Read selected statistical data
|
|
55
87
|
|
|
56
88
|
### 0.2.0 (2023-01-19)
|
|
57
|
-
|
|
89
|
+
|
|
90
|
+
- (Gaspode) Added states EV1_power, EV2_power, EV3_power and EV4_power to Realtime folder
|
|
58
91
|
|
|
59
92
|
### 0.1.0 (2023-01-15)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
93
|
+
|
|
94
|
+
- (Gaspode) First release for Latest repository
|
|
95
|
+
- (Gaspode) Corrected typo in state ID Battery_SOC
|
|
96
|
+
- (Gaspode) Implemented improvements as suggested in code review
|
|
63
97
|
|
|
64
98
|
### 0.0.6-beta.5 (2023-01-07)
|
|
65
|
-
|
|
99
|
+
|
|
100
|
+
- (Gaspode) Slow down requests in case of permanent errors
|
|
66
101
|
|
|
67
102
|
### 0.0.6-beta.4 (2023-01-03)
|
|
68
|
-
|
|
103
|
+
|
|
104
|
+
- (Gaspode) Changed adapter type from metering to energy
|
|
69
105
|
|
|
70
106
|
### 0.0.6-beta.3 (2023-01-02)
|
|
71
|
-
|
|
107
|
+
|
|
108
|
+
- (Gaspode) Correction for NPM
|
|
72
109
|
|
|
73
110
|
### 0.0.6-beta.2 (2023-01-02)
|
|
74
|
-
|
|
111
|
+
|
|
112
|
+
- (Gaspode) Enable NPM
|
|
75
113
|
|
|
76
114
|
### 0.0.5
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
115
|
+
|
|
116
|
+
- (Gaspode) Use meaningful state names
|
|
117
|
+
- (Gaspode) Use suitable state roles
|
|
118
|
+
- (Gaspode) Added new state for Alpha ESS settings parameter 'upsReserve'
|
|
80
119
|
|
|
81
120
|
### 0.0.4
|
|
82
|
-
|
|
83
|
-
|
|
121
|
+
|
|
122
|
+
- (Gaspode) use axios to perform Alpha ESS API calls instead of deprecated request
|
|
123
|
+
- (Gaspode) New option "Update unchanged states" added
|
|
84
124
|
|
|
85
125
|
### 0.0.3
|
|
86
|
-
|
|
126
|
+
|
|
127
|
+
- (Gaspode) refactored API calls, added daily energy values
|
|
87
128
|
|
|
88
129
|
### 0.0.2
|
|
89
|
-
|
|
130
|
+
|
|
131
|
+
- (Gaspode) corrected api call for realtime data
|
|
90
132
|
|
|
91
133
|
### 0.0.1
|
|
92
|
-
|
|
134
|
+
|
|
135
|
+
- (Gaspode) initial release
|
|
93
136
|
|
|
94
137
|
## License
|
|
138
|
+
|
|
95
139
|
MIT License
|
|
96
140
|
|
|
97
141
|
Copyright (c) 2023 Gaspode <gaspode69@online.de>
|
|
@@ -112,4 +156,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
112
156
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
113
157
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
114
158
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
115
|
-
SOFTWARE.
|
|
159
|
+
SOFTWARE.
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
"Password": "Passwort",
|
|
5
5
|
"Alpha ESS System ID": "Alpha ESS-System-ID",
|
|
6
6
|
"Interval to read realtime data": "Intervall zum Lesen von Echtzeitdaten [s]",
|
|
7
|
-
"Interval to read energy data": "Intervall zum
|
|
7
|
+
"Interval to read energy data": "Intervall zum Lesen von Energiedaten [min]",
|
|
8
8
|
"Interval to read settings data": "Intervall zum Lesen von Einstellungsdaten [min]",
|
|
9
|
-
"Interval to read statistical data (today)": "Intervall zum Lesen
|
|
10
|
-
"Interval to read summary data": "Intervall zum Lesen
|
|
11
|
-
"Update unchanged states": "Unveränderte Zustände aktualisieren"
|
|
9
|
+
"Interval to read statistical data (today)": "Intervall zum Lesen von statistischen Daten (heute) [min]",
|
|
10
|
+
"Interval to read summary data": "Intervall zum Lesen von Zusammenfassungsdaten [min]",
|
|
11
|
+
"Update unchanged states": "Unveränderte Zustände aktualisieren",
|
|
12
|
+
"Personal APP ID": "Persönliche Application ID",
|
|
13
|
+
"Personal APP Secret": "Persönliches Application Secret",
|
|
14
|
+
"Interval to read charging settings": "Intervall zum Lesen der Ladeeinstellungen [min]",
|
|
15
|
+
"Interval to read discharging settings": "Intervall zum Lesen der Entladeeinstellungen [min]"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Interval to read settings data [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Interval to read statistical data (today) [min]",
|
|
10
10
|
"Interval to read summary data": "Interval to read summary data [min]",
|
|
11
|
-
"Update unchanged states": "Update unchanged states"
|
|
11
|
+
"Update unchanged states": "Update unchanged states",
|
|
12
|
+
"Personal APP ID": "Personal Application ID",
|
|
13
|
+
"Personal APP Secret": "Personal Application Secret",
|
|
14
|
+
"Interval to read charging settings": "Interval to read charging settings [min]",
|
|
15
|
+
"Interval to read discharging settings": "Interval to read discharging settings [min]"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Intervalo para leer los datos de configuración [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Intervalo para leer datos estadísticos (hoy) [min]",
|
|
10
10
|
"Interval to read summary data": "Intervalo para leer datos de resumen [min]",
|
|
11
|
-
"Update unchanged states": "Actualizar estados sin cambios"
|
|
11
|
+
"Update unchanged states": "Actualizar estados sin cambios",
|
|
12
|
+
"Personal APP ID": "ID de aplicación personal",
|
|
13
|
+
"Personal APP Secret": "Secreto de aplicación personal",
|
|
14
|
+
"Interval to read charging settings": "Intervalo para leer la configuración de carga",
|
|
15
|
+
"Interval to read discharging settings": "Intervalo para leer la configuración de descarga"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Intervalle pour lire les données de paramètres [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Intervalle pour lire les données statistiques (aujourd'hui) [min]",
|
|
10
10
|
"Interval to read summary data": "Intervalle pour lire les données récapitulatives [min]",
|
|
11
|
-
"Update unchanged states": "Mettre à jour les états inchangés"
|
|
11
|
+
"Update unchanged states": "Mettre à jour les états inchangés",
|
|
12
|
+
"Personal APP ID": "ID de candidature personnel",
|
|
13
|
+
"Personal APP Secret": "Secret d'application personnel",
|
|
14
|
+
"Interval to read charging settings": "Intervalle pour lire les paramètres de charge",
|
|
15
|
+
"Interval to read discharging settings": "Intervalle pour lire les paramètres de décharge"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Intervallo per leggere i dati delle impostazioni [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Intervallo di lettura dei dati statistici (oggi) [min]",
|
|
10
10
|
"Interval to read summary data": "Intervallo di lettura dei dati di riepilogo [min]",
|
|
11
|
-
"Update unchanged states": "Aggiorna stati invariati"
|
|
11
|
+
"Update unchanged states": "Aggiorna stati invariati",
|
|
12
|
+
"Personal APP ID": "ID applicazione personale",
|
|
13
|
+
"Personal APP Secret": "Segreto dell'applicazione personale",
|
|
14
|
+
"Interval to read charging settings": "Intervallo per leggere le impostazioni di ricarica",
|
|
15
|
+
"Interval to read discharging settings": "Intervallo per leggere le impostazioni di scarica"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Interval om instellingsgegevens te lezen [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Interval om statistische gegevens te lezen (vandaag) [min]",
|
|
10
10
|
"Interval to read summary data": "Interval om samenvattingsgegevens te lezen [min]",
|
|
11
|
-
"Update unchanged states": "Update ongewijzigde statussen"
|
|
11
|
+
"Update unchanged states": "Update ongewijzigde statussen",
|
|
12
|
+
"Personal APP ID": "Persoonlijke applicatie-ID",
|
|
13
|
+
"Personal APP Secret": "Persoonlijk toepassingsgeheim",
|
|
14
|
+
"Interval to read charging settings": "Interval om laadinstellingen te lezen",
|
|
15
|
+
"Interval to read discharging settings": "Interval om ontlaadinstellingen te lezen"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Interwał odczytu danych ustawień [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Interwał odczytu danych statystycznych (dziś) [min]",
|
|
10
10
|
"Interval to read summary data": "Interwał odczytu danych podsumowujących [min]",
|
|
11
|
-
"Update unchanged states": "Zaktualizuj niezmienione stany"
|
|
11
|
+
"Update unchanged states": "Zaktualizuj niezmienione stany",
|
|
12
|
+
"Personal APP ID": "Osobisty identyfikator aplikacji",
|
|
13
|
+
"Personal APP Secret": "Tajny wniosek osobisty",
|
|
14
|
+
"Interval to read charging settings": "Interwał odczytu ustawień ładowania",
|
|
15
|
+
"Interval to read discharging settings": "Interwał odczytu ustawień rozładowania"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Intervalo para ler os dados de configuração [min]",
|
|
9
9
|
"Interval to read statistical data (today)": "Intervalo para ler dados estatísticos (hoje) [min]",
|
|
10
10
|
"Interval to read summary data": "Intervalo para ler os dados resumidos [min]",
|
|
11
|
-
"Update unchanged states": "Atualizar estados inalterados"
|
|
11
|
+
"Update unchanged states": "Atualizar estados inalterados",
|
|
12
|
+
"Personal APP ID": "ID de aplicativo pessoal",
|
|
13
|
+
"Personal APP Secret": "Segredo de aplicativo pessoal",
|
|
14
|
+
"Interval to read charging settings": "Intervalo para ler as configurações de carregamento",
|
|
15
|
+
"Interval to read discharging settings": "Intervalo para ler as configurações de descarga"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Интервал чтения данных настроек [мин]",
|
|
9
9
|
"Interval to read statistical data (today)": "Интервал чтения статистических данных (сегодня) [мин]",
|
|
10
10
|
"Interval to read summary data": "Интервал чтения сводных данных [мин]",
|
|
11
|
-
"Update unchanged states": "Обновить неизмененные состояния"
|
|
11
|
+
"Update unchanged states": "Обновить неизмененные состояния",
|
|
12
|
+
"Personal APP ID": "Идентификатор личного приложения",
|
|
13
|
+
"Personal APP Secret": "Секрет личного приложения",
|
|
14
|
+
"Interval to read charging settings": "Интервал чтения настроек зарядки",
|
|
15
|
+
"Interval to read discharging settings": "Интервал чтения настроек разрядки"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "Інтервал зчитування даних налаштувань [хв]",
|
|
9
9
|
"Interval to read statistical data (today)": "Інтервал читання статистичних даних (сьогодні) [хв]",
|
|
10
10
|
"Interval to read summary data": "Інтервал читання підсумкових даних [хв.]",
|
|
11
|
-
"Update unchanged states": "Оновити незмінні стани"
|
|
11
|
+
"Update unchanged states": "Оновити незмінні стани",
|
|
12
|
+
"Personal APP ID": "Персональний ID програми",
|
|
13
|
+
"Personal APP Secret": "Особистий секрет програми",
|
|
14
|
+
"Interval to read charging settings": "Інтервал зчитування параметрів заряджання",
|
|
15
|
+
"Interval to read discharging settings": "Інтервал зчитування параметрів розрядки"
|
|
12
16
|
}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
"Interval to read settings data": "读取设置数据的间隔[分钟]",
|
|
9
9
|
"Interval to read statistical data (today)": "读取统计数据的间隔(今天)[min]",
|
|
10
10
|
"Interval to read summary data": "读取摘要数据的间隔[分钟]",
|
|
11
|
-
"Update unchanged states": "更新未改变的状态"
|
|
11
|
+
"Update unchanged states": "更新未改变的状态",
|
|
12
|
+
"Personal APP ID": "个人申请编号",
|
|
13
|
+
"Personal APP Secret": "个人申请秘诀",
|
|
14
|
+
"Interval to read charging settings": "读取充电设置的间隔",
|
|
15
|
+
"Interval to read discharging settings": "读取放电设置的间隔"
|
|
12
16
|
}
|
package/admin/jsonConfig.json
CHANGED
|
@@ -2,17 +2,43 @@
|
|
|
2
2
|
"i18n": true,
|
|
3
3
|
"type": "panel",
|
|
4
4
|
"items": {
|
|
5
|
+
"apiType": {
|
|
6
|
+
"sm": 5,
|
|
7
|
+
"type": "select",
|
|
8
|
+
"label": "Select API",
|
|
9
|
+
"newLine": true,
|
|
10
|
+
"options": [
|
|
11
|
+
{ "label": "Closed API", "value": 0 },
|
|
12
|
+
{ "label": "Open API", "value": 1 }
|
|
13
|
+
]
|
|
14
|
+
},
|
|
5
15
|
"username": {
|
|
6
16
|
"sm": 5,
|
|
7
17
|
"type": "text",
|
|
8
18
|
"label": "Username",
|
|
9
|
-
"newLine": true
|
|
19
|
+
"newLine": true,
|
|
20
|
+
"hidden": "data.apiType == 1"
|
|
10
21
|
},
|
|
11
22
|
"password": {
|
|
12
23
|
"sm": 5,
|
|
13
24
|
"type": "password",
|
|
14
25
|
"label": "Password",
|
|
15
|
-
"newLine": true
|
|
26
|
+
"newLine": true,
|
|
27
|
+
"hidden": "data.apiType == 1"
|
|
28
|
+
},
|
|
29
|
+
"appID": {
|
|
30
|
+
"sm": 5,
|
|
31
|
+
"type": "text",
|
|
32
|
+
"label": "Personal APP ID",
|
|
33
|
+
"newLine": true,
|
|
34
|
+
"hidden": "data.apiType == 0"
|
|
35
|
+
},
|
|
36
|
+
"appSecret": {
|
|
37
|
+
"sm": 5,
|
|
38
|
+
"type": "password",
|
|
39
|
+
"label": "Personal APP Secret",
|
|
40
|
+
"newLine": true,
|
|
41
|
+
"hidden": "data.apiType == 0"
|
|
16
42
|
},
|
|
17
43
|
"systemId": {
|
|
18
44
|
"sm": 5,
|
|
@@ -22,58 +48,181 @@
|
|
|
22
48
|
},
|
|
23
49
|
"enableRealtimedata": {
|
|
24
50
|
"type": "checkbox",
|
|
25
|
-
"newLine": true
|
|
51
|
+
"newLine": true,
|
|
52
|
+
"hidden": "data.apiType == 1"
|
|
26
53
|
},
|
|
27
54
|
"intervalRealtimedata": {
|
|
28
55
|
"sm": 5,
|
|
29
56
|
"min": 10,
|
|
30
57
|
"type": "number",
|
|
31
58
|
"label": "Interval to read realtime data",
|
|
32
|
-
"newLine": false
|
|
59
|
+
"newLine": false,
|
|
60
|
+
"disabled": "!data.enableRealtimedata",
|
|
61
|
+
"hidden": "data.apiType == 1"
|
|
33
62
|
},
|
|
34
63
|
"enableEnergydata": {
|
|
35
64
|
"type": "checkbox",
|
|
36
|
-
"newLine": true
|
|
65
|
+
"newLine": true,
|
|
66
|
+
"hidden": "data.apiType == 1"
|
|
37
67
|
},
|
|
38
68
|
"intervalEnergydataMins": {
|
|
39
69
|
"sm": 5,
|
|
40
70
|
"min": 1,
|
|
41
71
|
"type": "number",
|
|
42
72
|
"label": "Interval to read energy data",
|
|
43
|
-
"newLine": false
|
|
73
|
+
"newLine": false,
|
|
74
|
+
"disabled": "!data.enableEnergydata",
|
|
75
|
+
"hidden": "data.apiType == 1"
|
|
44
76
|
},
|
|
45
77
|
"enableSettingsdata": {
|
|
46
78
|
"type": "checkbox",
|
|
47
|
-
"newLine": true
|
|
79
|
+
"newLine": true,
|
|
80
|
+
"hidden": "data.apiType == 1"
|
|
81
|
+
},
|
|
82
|
+
"enableSettingsCharge": {
|
|
83
|
+
"type": "checkbox",
|
|
84
|
+
"newLine": true,
|
|
85
|
+
"hidden": "true"
|
|
86
|
+
},
|
|
87
|
+
"enableSettingsDisCharge": {
|
|
88
|
+
"type": "checkbox",
|
|
89
|
+
"newLine": true,
|
|
90
|
+
"hidden": "true"
|
|
48
91
|
},
|
|
49
92
|
"intervalSettingsdataMins": {
|
|
50
93
|
"sm": 5,
|
|
51
94
|
"min": 1,
|
|
52
95
|
"type": "number",
|
|
53
96
|
"label": "Interval to read settings data",
|
|
54
|
-
"newLine": false
|
|
97
|
+
"newLine": false,
|
|
98
|
+
"disabled": "!data.enableSettingsdata",
|
|
99
|
+
"hidden": "data.apiType == 1"
|
|
55
100
|
},
|
|
56
101
|
"enableStatisticalTodaydata": {
|
|
57
102
|
"type": "checkbox",
|
|
58
|
-
"newLine": true
|
|
103
|
+
"newLine": true,
|
|
104
|
+
"hidden": "data.apiType == 1"
|
|
59
105
|
},
|
|
60
106
|
"intervalStatisticalTodaydataMins": {
|
|
61
107
|
"sm": 5,
|
|
62
108
|
"min": 1,
|
|
63
109
|
"type": "number",
|
|
64
110
|
"label": "Interval to read statistical data (today)",
|
|
65
|
-
"newLine": false
|
|
111
|
+
"newLine": false,
|
|
112
|
+
"disabled": "!data.enableStatisticalTodaydata",
|
|
113
|
+
"hidden": "data.apiType == 1"
|
|
66
114
|
},
|
|
67
115
|
"enableSummarydata": {
|
|
68
116
|
"type": "checkbox",
|
|
69
|
-
"newLine": true
|
|
117
|
+
"newLine": true,
|
|
118
|
+
"hidden": "data.apiType == 1"
|
|
70
119
|
},
|
|
71
120
|
"intervalSummarydataMins": {
|
|
72
121
|
"sm": 5,
|
|
73
122
|
"min": 5,
|
|
74
123
|
"type": "number",
|
|
75
124
|
"label": "Interval to read summary data",
|
|
76
|
-
"newLine": false
|
|
125
|
+
"newLine": false,
|
|
126
|
+
"disabled": "!data.enableSummarydata",
|
|
127
|
+
"hidden": "data.apiType == 1"
|
|
128
|
+
},
|
|
129
|
+
"oAEnableRealtime": {
|
|
130
|
+
"type": "checkbox",
|
|
131
|
+
"newLine": true,
|
|
132
|
+
"hidden": "data.apiType == 0"
|
|
133
|
+
},
|
|
134
|
+
"oAIntervalRealtime": {
|
|
135
|
+
"sm": 5,
|
|
136
|
+
"min": 10,
|
|
137
|
+
"type": "number",
|
|
138
|
+
"label": "Interval to read realtime data",
|
|
139
|
+
"newLine": false,
|
|
140
|
+
"disabled": "!data.oAEnableRealtime",
|
|
141
|
+
"hidden": "data.apiType == 0"
|
|
142
|
+
},
|
|
143
|
+
"oAEnableEnergy": {
|
|
144
|
+
"type": "checkbox",
|
|
145
|
+
"newLine": true,
|
|
146
|
+
"hidden": "data.apiType == 0"
|
|
147
|
+
},
|
|
148
|
+
"oAIntervalEnergyMins": {
|
|
149
|
+
"sm": 5,
|
|
150
|
+
"min": 1,
|
|
151
|
+
"type": "number",
|
|
152
|
+
"label": "Interval to read energy data",
|
|
153
|
+
"newLine": false,
|
|
154
|
+
"disabled": "!data.oAEnableEnergy",
|
|
155
|
+
"hidden": "data.apiType == 0"
|
|
156
|
+
},
|
|
157
|
+
"oAEnableStatisticsToday": {
|
|
158
|
+
"type": "checkbox",
|
|
159
|
+
"newLine": true,
|
|
160
|
+
"hidden": "true"
|
|
161
|
+
},
|
|
162
|
+
"oAIntervalStatisticsTodayMins": {
|
|
163
|
+
"sm": 5,
|
|
164
|
+
"min": 1,
|
|
165
|
+
"type": "number",
|
|
166
|
+
"label": "Interval to read statistical data (today)",
|
|
167
|
+
"newLine": false,
|
|
168
|
+
"disabled": "!data.oAEnableStatisticsToday",
|
|
169
|
+
"hidden": "true"
|
|
170
|
+
},
|
|
171
|
+
"oAEnableSettings": {
|
|
172
|
+
"type": "checkbox",
|
|
173
|
+
"newLine": true,
|
|
174
|
+
"hidden": "true"
|
|
175
|
+
},
|
|
176
|
+
"oAIntervalSettingsMins": {
|
|
177
|
+
"sm": 5,
|
|
178
|
+
"min": 1,
|
|
179
|
+
"type": "number",
|
|
180
|
+
"label": "Interval to read settings data",
|
|
181
|
+
"newLine": false,
|
|
182
|
+
"disabled": "!data.oAEnableSettings",
|
|
183
|
+
"hidden": "true"
|
|
184
|
+
},
|
|
185
|
+
"oAEnableSettingsCharge": {
|
|
186
|
+
"type": "checkbox",
|
|
187
|
+
"newLine": true,
|
|
188
|
+
"hidden": "data.apiType == 0"
|
|
189
|
+
},
|
|
190
|
+
"oAIntervalSettingsChargeMins": {
|
|
191
|
+
"sm": 5,
|
|
192
|
+
"min": 1,
|
|
193
|
+
"type": "number",
|
|
194
|
+
"label": "Interval to read charging settings",
|
|
195
|
+
"newLine": false,
|
|
196
|
+
"disabled": "!data.oAEnableSettingsCharge",
|
|
197
|
+
"hidden": "data.apiType == 0"
|
|
198
|
+
},
|
|
199
|
+
"oAEnableSettingsDischarge": {
|
|
200
|
+
"type": "checkbox",
|
|
201
|
+
"newLine": true,
|
|
202
|
+
"hidden": "data.apiType == 0"
|
|
203
|
+
},
|
|
204
|
+
"oAIntervalSettingsDischargeMins": {
|
|
205
|
+
"sm": 5,
|
|
206
|
+
"min": 1,
|
|
207
|
+
"type": "number",
|
|
208
|
+
"label": "Interval to read discharging settings",
|
|
209
|
+
"newLine": false,
|
|
210
|
+
"disabled": "!data.oAEnableSettingsDischarge",
|
|
211
|
+
"hidden": "data.apiType == 0"
|
|
212
|
+
},
|
|
213
|
+
"oAEnableSummary": {
|
|
214
|
+
"type": "checkbox",
|
|
215
|
+
"newLine": true,
|
|
216
|
+
"hidden": "data.apiType == 0"
|
|
217
|
+
},
|
|
218
|
+
"oAIntervalSummaryMins": {
|
|
219
|
+
"sm": 5,
|
|
220
|
+
"min": 1,
|
|
221
|
+
"type": "number",
|
|
222
|
+
"label": "Interval to read summary data",
|
|
223
|
+
"newLine": false,
|
|
224
|
+
"disabled": "!data.oAEnableSummary",
|
|
225
|
+
"hidden": "data.apiType == 0"
|
|
77
226
|
},
|
|
78
227
|
"updateUnchangedStates": {
|
|
79
228
|
"type": "checkbox",
|