iobroker.alpha-ess 2.1.4 → 2.1.5
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 +5 -1
- package/admin/jsonConfig.json +80 -9
- package/io-package.json +14 -14
- package/main.js +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ How to find SN and Check code for registration is described here: https://github
|
|
|
47
47
|
|
|
48
48
|
- **Personal application ID:** The application ID (see above)
|
|
49
49
|
- **Personal application Secret:** The application Secret (see above)
|
|
50
|
-
- **Alpha-ESS System ID:** The
|
|
50
|
+
- **Alpha-ESS System ID:** The S/N (serial number) of your Alpha-ESS equipment
|
|
51
51
|
- **Interval to read realtime data:** Unit: seconds.
|
|
52
52
|
- **Interval to read energy data:** Unit: minutes.
|
|
53
53
|
- **Interval to read charging settings:** Unit: minutes.
|
|
@@ -61,6 +61,10 @@ How to find SN and Check code for registration is described here: https://github
|
|
|
61
61
|
**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.**
|
|
62
62
|
|
|
63
63
|
## Changelog
|
|
64
|
+
### 2.1.5 (2024-11-14)
|
|
65
|
+
|
|
66
|
+
- (Gaspode) Optimized GUI for all screen resolutions (responsive design)
|
|
67
|
+
|
|
64
68
|
### 2.1.4 (2024-08-13)
|
|
65
69
|
|
|
66
70
|
- (Gaspode) Updated some formal stuff
|
package/admin/jsonConfig.json
CHANGED
|
@@ -3,30 +3,51 @@
|
|
|
3
3
|
"type": "panel",
|
|
4
4
|
"items": {
|
|
5
5
|
"appID": {
|
|
6
|
-
"
|
|
6
|
+
"xs": 11,
|
|
7
|
+
"sm": 8,
|
|
8
|
+
"md": 4,
|
|
9
|
+
"lg": 3,
|
|
10
|
+
"xl": 3,
|
|
7
11
|
"type": "text",
|
|
8
12
|
"label": "Personal APP ID",
|
|
9
13
|
"newLine": true
|
|
10
14
|
},
|
|
11
15
|
"appSecret": {
|
|
12
|
-
"
|
|
16
|
+
"xs": 11,
|
|
17
|
+
"sm": 8,
|
|
18
|
+
"md": 4,
|
|
19
|
+
"lg": 3,
|
|
20
|
+
"xl": 3,
|
|
13
21
|
"type": "password",
|
|
14
22
|
"label": "Personal APP Secret",
|
|
15
23
|
"newLine": true
|
|
16
24
|
},
|
|
17
25
|
"systemId": {
|
|
18
|
-
"
|
|
26
|
+
"xs": 11,
|
|
27
|
+
"sm": 8,
|
|
28
|
+
"md": 4,
|
|
29
|
+
"lg": 3,
|
|
30
|
+
"xl": 3,
|
|
19
31
|
"type": "text",
|
|
20
32
|
"label": "Alpha ESS System ID",
|
|
21
33
|
"newLine": true,
|
|
22
34
|
"disabled": "data.apiType == 3"
|
|
23
35
|
},
|
|
24
36
|
"oAEnableRealtime": {
|
|
37
|
+
"xs": 1.1,
|
|
38
|
+
"sm": 0.6,
|
|
39
|
+
"md": 0.4,
|
|
40
|
+
"lg": 0.2,
|
|
41
|
+
"xl": 0.2,
|
|
25
42
|
"type": "checkbox",
|
|
26
43
|
"newLine": true
|
|
27
44
|
},
|
|
28
45
|
"oAIntervalRealtime": {
|
|
29
|
-
"
|
|
46
|
+
"xs": 9.9,
|
|
47
|
+
"sm": 7.4,
|
|
48
|
+
"md": 3.6,
|
|
49
|
+
"lg": 2.8,
|
|
50
|
+
"xl": 2.8,
|
|
30
51
|
"min": 10,
|
|
31
52
|
"type": "number",
|
|
32
53
|
"label": "Interval to read realtime data",
|
|
@@ -34,11 +55,20 @@
|
|
|
34
55
|
"disabled": "!data.oAEnableRealtime"
|
|
35
56
|
},
|
|
36
57
|
"oAEnableEnergy": {
|
|
58
|
+
"xs": 1.1,
|
|
59
|
+
"sm": 0.6,
|
|
60
|
+
"md": 0.4,
|
|
61
|
+
"lg": 0.2,
|
|
62
|
+
"xl": 0.2,
|
|
37
63
|
"type": "checkbox",
|
|
38
64
|
"newLine": true
|
|
39
65
|
},
|
|
40
66
|
"oAIntervalEnergyMins": {
|
|
41
|
-
"
|
|
67
|
+
"xs": 9.9,
|
|
68
|
+
"sm": 7.4,
|
|
69
|
+
"md": 3.6,
|
|
70
|
+
"lg": 2.8,
|
|
71
|
+
"xl": 2.8,
|
|
42
72
|
"min": 5,
|
|
43
73
|
"type": "number",
|
|
44
74
|
"label": "Interval to read energy data",
|
|
@@ -46,11 +76,20 @@
|
|
|
46
76
|
"disabled": "!data.oAEnableEnergy"
|
|
47
77
|
},
|
|
48
78
|
"oAEnableSettingsCharge": {
|
|
79
|
+
"xs": 1.1,
|
|
80
|
+
"sm": 0.6,
|
|
81
|
+
"md": 0.4,
|
|
82
|
+
"lg": 0.2,
|
|
83
|
+
"xl": 0.2,
|
|
49
84
|
"type": "checkbox",
|
|
50
85
|
"newLine": true
|
|
51
86
|
},
|
|
52
87
|
"oAIntervalSettingsChargeMins": {
|
|
53
|
-
"
|
|
88
|
+
"xs": 9.9,
|
|
89
|
+
"sm": 7.4,
|
|
90
|
+
"md": 3.6,
|
|
91
|
+
"lg": 2.8,
|
|
92
|
+
"xl": 2.8,
|
|
54
93
|
"min": 1,
|
|
55
94
|
"type": "number",
|
|
56
95
|
"label": "Interval to read charging settings",
|
|
@@ -58,11 +97,20 @@
|
|
|
58
97
|
"disabled": "!data.oAEnableSettingsCharge"
|
|
59
98
|
},
|
|
60
99
|
"oAEnableSettingsDischarge": {
|
|
100
|
+
"xs": 1.1,
|
|
101
|
+
"sm": 0.6,
|
|
102
|
+
"md": 0.4,
|
|
103
|
+
"lg": 0.2,
|
|
104
|
+
"xl": 0.2,
|
|
61
105
|
"type": "checkbox",
|
|
62
106
|
"newLine": true
|
|
63
107
|
},
|
|
64
108
|
"oAIntervalSettingsDischargeMins": {
|
|
65
|
-
"
|
|
109
|
+
"xs": 9.9,
|
|
110
|
+
"sm": 7.4,
|
|
111
|
+
"md": 3.6,
|
|
112
|
+
"lg": 2.8,
|
|
113
|
+
"xl": 2.8,
|
|
66
114
|
"min": 1,
|
|
67
115
|
"type": "number",
|
|
68
116
|
"label": "Interval to read discharging settings",
|
|
@@ -70,11 +118,20 @@
|
|
|
70
118
|
"disabled": "!data.oAEnableSettingsDischarge"
|
|
71
119
|
},
|
|
72
120
|
"oAEnableSummary": {
|
|
121
|
+
"xs": 1.1,
|
|
122
|
+
"sm": 0.6,
|
|
123
|
+
"md": 0.4,
|
|
124
|
+
"lg": 0.2,
|
|
125
|
+
"xl": 0.2,
|
|
73
126
|
"type": "checkbox",
|
|
74
127
|
"newLine": true
|
|
75
128
|
},
|
|
76
129
|
"oAIntervalSummaryMins": {
|
|
77
|
-
"
|
|
130
|
+
"xs": 9.9,
|
|
131
|
+
"sm": 7.4,
|
|
132
|
+
"md": 3.6,
|
|
133
|
+
"lg": 2.8,
|
|
134
|
+
"xl": 2.8,
|
|
78
135
|
"min": 5,
|
|
79
136
|
"type": "number",
|
|
80
137
|
"label": "Interval to read summary data",
|
|
@@ -82,11 +139,20 @@
|
|
|
82
139
|
"disabled": "!data.oAEnableSummary"
|
|
83
140
|
},
|
|
84
141
|
"oAEnableWallbox": {
|
|
142
|
+
"xs": 1.1,
|
|
143
|
+
"sm": 0.6,
|
|
144
|
+
"md": 0.4,
|
|
145
|
+
"lg": 0.2,
|
|
146
|
+
"xl": 0.2,
|
|
85
147
|
"type": "checkbox",
|
|
86
148
|
"newLine": true
|
|
87
149
|
},
|
|
88
150
|
"oAIntervalWallboxMins": {
|
|
89
|
-
"
|
|
151
|
+
"xs": 9.9,
|
|
152
|
+
"sm": 7.4,
|
|
153
|
+
"md": 3.6,
|
|
154
|
+
"lg": 2.8,
|
|
155
|
+
"xl": 2.8,
|
|
90
156
|
"min": 1,
|
|
91
157
|
"type": "number",
|
|
92
158
|
"label": "Interval to read wallbox data",
|
|
@@ -94,6 +160,11 @@
|
|
|
94
160
|
"disabled": "!data.oAEnableWallbox"
|
|
95
161
|
},
|
|
96
162
|
"updateUnchangedStates": {
|
|
163
|
+
"xs": 11,
|
|
164
|
+
"sm": 8,
|
|
165
|
+
"md": 4,
|
|
166
|
+
"lg": 3,
|
|
167
|
+
"xl": 3,
|
|
97
168
|
"type": "checkbox",
|
|
98
169
|
"label": "Update unchanged states",
|
|
99
170
|
"newLine": true
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "alpha-ess",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.5",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.1.5": {
|
|
7
|
+
"en": "Optimized GUI for all screen resolutions (responsive design)",
|
|
8
|
+
"de": "GUI für alle Bildschirmauflösungen optimiert (Responsive Design)",
|
|
9
|
+
"ru": "Оптимизированный графический интерфейс для всех экранных решений (ответственный дизайн)",
|
|
10
|
+
"pt": "GUI otimizada para todas as resoluções de tela (design responsivo)",
|
|
11
|
+
"nl": "Geoptimaliseerde GUI voor alle schermresoluties (responsief ontwerp)",
|
|
12
|
+
"fr": "IGU optimisé pour toutes les résolutions d'écran (conception sensible)",
|
|
13
|
+
"it": "GUI ottimizzata per tutte le risoluzioni dello schermo (progetto reattivo)",
|
|
14
|
+
"es": "Optimizado GUI para todas las resoluciones de pantalla (diseño responsable)",
|
|
15
|
+
"pl": "Zoptymalizowany interfejs graficzny dla wszystkich rozdzielczości ekranu (responsible design)",
|
|
16
|
+
"uk": "Оптимізований графічний інтерфейс для всіх дозволів екрану (відповідальний дизайн)",
|
|
17
|
+
"zh-cn": "优化所有屏幕分辨率的图形用户界面(响应设计)"
|
|
18
|
+
},
|
|
6
19
|
"2.1.4": {
|
|
7
20
|
"en": "Updated some formal stuff",
|
|
8
21
|
"de": "Einige Formalien aktualisiert",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Aktualizacja roku Copyright",
|
|
81
94
|
"uk": "Оновлений рік авторського права",
|
|
82
95
|
"zh-cn": "更新版权年度"
|
|
83
|
-
},
|
|
84
|
-
"2.0.1": {
|
|
85
|
-
"en": "Adapted timeout to new API restrictions",
|
|
86
|
-
"de": "Timeout Werte an neue API-Beschränkungen angepasst",
|
|
87
|
-
"ru": "Адаптированное таймирование к новым ограничениям API",
|
|
88
|
-
"pt": "Timeout adaptado para novas restrições de API",
|
|
89
|
-
"nl": "Vertaling:",
|
|
90
|
-
"fr": "Timeout adapté aux nouvelles restrictions de l'API",
|
|
91
|
-
"it": "Adeguato timeout alle nuove restrizioni API",
|
|
92
|
-
"es": "Tiempo de adaptación a nuevas restricciones de API",
|
|
93
|
-
"pl": "Zastosowany czas do nowych ograniczeń API",
|
|
94
|
-
"uk": "Адаптивний час для нових обмежень API",
|
|
95
|
-
"zh-cn": "A. 取消新优惠制度限制的时间"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/main.js
CHANGED
|
@@ -1649,7 +1649,7 @@ class AlphaEss extends utils.Adapter {
|
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Set quality for all existing states of given group
|
|
1651
1651
|
* @param {string} group
|
|
1652
|
-
* @param {
|
|
1652
|
+
* @param {0 | 1 | 2 | 68 | 18 | 16 | 32 | 64 | 128 | 17 | 65 | 129 | 66 | 130 | 132 | undefined} q
|
|
1653
1653
|
*/
|
|
1654
1654
|
async setQualityForGroup(group, q) {
|
|
1655
1655
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.alpha-ess",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "Read and write data from and to Alpha ESS systems.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Gaspode",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"node": ">= 18"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@iobroker/adapter-core": "^3.
|
|
25
|
-
"axios": "^1.7.
|
|
24
|
+
"@iobroker/adapter-core": "^3.2.2",
|
|
25
|
+
"axios": "^1.7.7"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@alcalzone/release-script": "^3.8.0",
|
|
29
|
-
"@alcalzone/release-script-plugin-iobroker": "^3.7.
|
|
29
|
+
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
|
|
30
30
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
31
31
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
32
32
|
"@iobroker/adapter-dev": "^1.3.0",
|
|
33
33
|
"@iobroker/dev-server": "^0.7.3",
|
|
34
|
-
"@iobroker/testing": "^
|
|
34
|
+
"@iobroker/testing": "^5.0.0",
|
|
35
35
|
"@tsconfig/node14": "^14.1.2",
|
|
36
36
|
"@tsconfig/node18": "^18.2.4",
|
|
37
37
|
"@types/chai": "^4.3.11",
|
|
38
38
|
"@types/chai-as-promised": "^7.1.8",
|
|
39
|
-
"@types/mocha": "^10.0.
|
|
40
|
-
"@types/node": "^
|
|
39
|
+
"@types/mocha": "^10.0.9",
|
|
40
|
+
"@types/node": "^22.8.6",
|
|
41
41
|
"@types/proxyquire": "^1.3.31",
|
|
42
42
|
"@types/sinon": "^17.0.3",
|
|
43
43
|
"@types/sinon-chai": "^3.2.12",
|
|
44
44
|
"chai": "^4.5.0",
|
|
45
|
-
"chai-as-promised": "^
|
|
45
|
+
"chai-as-promised": "^7.1.2",
|
|
46
46
|
"eslint": "^8.57.0",
|
|
47
47
|
"eslint-config-prettier": "^9.1.0",
|
|
48
48
|
"eslint-plugin-prettier": "^5.1.3",
|
|
49
|
-
"mocha": "^10.
|
|
49
|
+
"mocha": "^10.8.2",
|
|
50
50
|
"prettier": "^3.3.3",
|
|
51
51
|
"proxyquire": "^2.1.3",
|
|
52
52
|
"sinon": "^18.0.0",
|
|
53
53
|
"sinon-chai": "^3.7.0",
|
|
54
|
-
"typescript": "~5.
|
|
54
|
+
"typescript": "~5.6.3"
|
|
55
55
|
},
|
|
56
56
|
"main": "main.js",
|
|
57
57
|
"files": [
|