iobroker.alpha-ess 2.1.3 → 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 +9 -1
- package/admin/alpha-ess.png +0 -0
- package/admin/jsonConfig.json +80 -9
- package/io-package.json +34 -30
- package/main.js +1 -1
- package/package.json +13 -11
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,14 @@ 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
|
+
|
|
68
|
+
### 2.1.4 (2024-08-13)
|
|
69
|
+
|
|
70
|
+
- (Gaspode) Updated some formal stuff
|
|
71
|
+
|
|
64
72
|
### 2.1.3 (2024-08-07)
|
|
65
73
|
|
|
66
74
|
- (Gaspode) Increased read timeout from 10 to 20 s
|
package/admin/alpha-ess.png
CHANGED
|
Binary file
|
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,34 @@
|
|
|
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
|
+
},
|
|
19
|
+
"2.1.4": {
|
|
20
|
+
"en": "Updated some formal stuff",
|
|
21
|
+
"de": "Einige Formalien aktualisiert",
|
|
22
|
+
"ru": "Обновление некоторых формальных вещей",
|
|
23
|
+
"pt": "Actualizado algumas coisas formais",
|
|
24
|
+
"nl": "Bijgewerkt wat formele dingen",
|
|
25
|
+
"fr": "Mise à jour de certains trucs formels",
|
|
26
|
+
"it": "Aggiornato alcune cose formali",
|
|
27
|
+
"es": "Actualizado algunas cosas formales",
|
|
28
|
+
"pl": "Aktualizacja niektórych formalnych rzeczy",
|
|
29
|
+
"uk": "Оновлено деякі формальні речі",
|
|
30
|
+
"zh-cn": "更新了一些正式的东西"
|
|
31
|
+
},
|
|
6
32
|
"2.1.3": {
|
|
7
33
|
"en": "Increased read timeout from 10s to 20s",
|
|
8
34
|
"de": "Read Timeout von 10 auf 20 Sekunden erhöht",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Aktualizacja roku Copyright",
|
|
68
94
|
"uk": "Оновлений рік авторського права",
|
|
69
95
|
"zh-cn": "更新版权年度"
|
|
70
|
-
},
|
|
71
|
-
"2.0.1": {
|
|
72
|
-
"en": "Adapted timeout to new API restrictions",
|
|
73
|
-
"de": "Timeout Werte an neue API-Beschränkungen angepasst",
|
|
74
|
-
"ru": "Адаптированное таймирование к новым ограничениям API",
|
|
75
|
-
"pt": "Timeout adaptado para novas restrições de API",
|
|
76
|
-
"nl": "Vertaling:",
|
|
77
|
-
"fr": "Timeout adapté aux nouvelles restrictions de l'API",
|
|
78
|
-
"it": "Adeguato timeout alle nuove restrizioni API",
|
|
79
|
-
"es": "Tiempo de adaptación a nuevas restricciones de API",
|
|
80
|
-
"pl": "Zastosowany czas do nowych ograniczeń API",
|
|
81
|
-
"uk": "Адаптивний час для нових обмежень API",
|
|
82
|
-
"zh-cn": "A. 取消新优惠制度限制的时间"
|
|
83
|
-
},
|
|
84
|
-
"2.0.0": {
|
|
85
|
-
"en": "Breaking Change: Removed support of Closed API",
|
|
86
|
-
"de": "Breaking Change: Entfernte Unterstützung von Closed API",
|
|
87
|
-
"ru": "Перерыв изменения: Удаленная поддержка Закрытого API",
|
|
88
|
-
"pt": "Mudança de ruptura: Suporte removido da API fechada",
|
|
89
|
-
"nl": "Vertaling: Verwijderde steun van gesloten API",
|
|
90
|
-
"fr": "Changement de rupture : Soutien retiré de l'API fermée",
|
|
91
|
-
"it": "Cambiamento di rottura: Supporto rimosso delle API chiuse",
|
|
92
|
-
"es": "Cambio de ruptura: Soporte extraído de API cerrada",
|
|
93
|
-
"pl": "Zmiana: Przewiduje wsparcie API Closed",
|
|
94
|
-
"uk": "Зміна несправностей: Видалити підтримку Закритого API",
|
|
95
|
-
"zh-cn": "打破变化: B. 取消对已结束的反补贴方案的支持"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -125,11 +125,14 @@
|
|
|
125
125
|
"Gaspode <gaspode69@online.de>"
|
|
126
126
|
],
|
|
127
127
|
"keywords": [
|
|
128
|
-
"photovoltaik"
|
|
128
|
+
"photovoltaik",
|
|
129
|
+
"alpha-ess"
|
|
129
130
|
],
|
|
130
|
-
"
|
|
131
|
+
"licenseInformation": {
|
|
132
|
+
"license": "MIT",
|
|
133
|
+
"type": "free"
|
|
134
|
+
},
|
|
131
135
|
"platform": "Javascript/Node.js",
|
|
132
|
-
"main": "main.js",
|
|
133
136
|
"icon": "alpha-ess.png",
|
|
134
137
|
"enabled": true,
|
|
135
138
|
"extIcon": "https://raw.githubusercontent.com/Gaspode69/ioBroker.alpha-ess/main/admin/alpha-ess.png",
|
|
@@ -137,6 +140,7 @@
|
|
|
137
140
|
"loglevel": "info",
|
|
138
141
|
"mode": "daemon",
|
|
139
142
|
"type": "energy",
|
|
143
|
+
"tier": 2,
|
|
140
144
|
"compact": true,
|
|
141
145
|
"connectionType": "cloud",
|
|
142
146
|
"dataSource": "poll",
|
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",
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"homepage": "https://github.com/Gaspode69/ioBroker.alpha-ess",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"keywords": [
|
|
12
|
-
"photovoltaik"
|
|
12
|
+
"photovoltaik",
|
|
13
|
+
"alpha-ess",
|
|
14
|
+
"ioBroker"
|
|
13
15
|
],
|
|
14
16
|
"repository": {
|
|
15
17
|
"type": "git",
|
|
@@ -19,37 +21,37 @@
|
|
|
19
21
|
"node": ">= 18"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@iobroker/adapter-core": "^3.
|
|
23
|
-
"axios": "^1.7.
|
|
24
|
+
"@iobroker/adapter-core": "^3.2.2",
|
|
25
|
+
"axios": "^1.7.7"
|
|
24
26
|
},
|
|
25
27
|
"devDependencies": {
|
|
26
28
|
"@alcalzone/release-script": "^3.8.0",
|
|
27
|
-
"@alcalzone/release-script-plugin-iobroker": "^3.7.
|
|
29
|
+
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
|
|
28
30
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
29
31
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
30
32
|
"@iobroker/adapter-dev": "^1.3.0",
|
|
31
33
|
"@iobroker/dev-server": "^0.7.3",
|
|
32
|
-
"@iobroker/testing": "^
|
|
34
|
+
"@iobroker/testing": "^5.0.0",
|
|
33
35
|
"@tsconfig/node14": "^14.1.2",
|
|
34
36
|
"@tsconfig/node18": "^18.2.4",
|
|
35
37
|
"@types/chai": "^4.3.11",
|
|
36
38
|
"@types/chai-as-promised": "^7.1.8",
|
|
37
|
-
"@types/mocha": "^10.0.
|
|
38
|
-
"@types/node": "^
|
|
39
|
+
"@types/mocha": "^10.0.9",
|
|
40
|
+
"@types/node": "^22.8.6",
|
|
39
41
|
"@types/proxyquire": "^1.3.31",
|
|
40
42
|
"@types/sinon": "^17.0.3",
|
|
41
43
|
"@types/sinon-chai": "^3.2.12",
|
|
42
44
|
"chai": "^4.5.0",
|
|
43
|
-
"chai-as-promised": "^
|
|
45
|
+
"chai-as-promised": "^7.1.2",
|
|
44
46
|
"eslint": "^8.57.0",
|
|
45
47
|
"eslint-config-prettier": "^9.1.0",
|
|
46
48
|
"eslint-plugin-prettier": "^5.1.3",
|
|
47
|
-
"mocha": "^10.
|
|
49
|
+
"mocha": "^10.8.2",
|
|
48
50
|
"prettier": "^3.3.3",
|
|
49
51
|
"proxyquire": "^2.1.3",
|
|
50
52
|
"sinon": "^18.0.0",
|
|
51
53
|
"sinon-chai": "^3.7.0",
|
|
52
|
-
"typescript": "~5.
|
|
54
|
+
"typescript": "~5.6.3"
|
|
53
55
|
},
|
|
54
56
|
"main": "main.js",
|
|
55
57
|
"files": [
|