iobroker.amtronwallbox 0.3.6 → 1.0.1

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.
Files changed (41) hide show
  1. package/README.md +9 -73
  2. package/admin/i18n/de.json +23 -0
  3. package/admin/i18n/en.json +23 -0
  4. package/admin/i18n/es.json +23 -0
  5. package/admin/i18n/fr.json +23 -0
  6. package/admin/i18n/it.json +23 -0
  7. package/admin/i18n/nl.json +23 -0
  8. package/admin/i18n/pl.json +23 -0
  9. package/admin/i18n/pt.json +23 -0
  10. package/admin/i18n/ru.json +23 -0
  11. package/admin/i18n/uk.json +23 -0
  12. package/admin/i18n/zh-cn.json +23 -0
  13. package/admin/jsonConfig.json5 +44 -3
  14. package/build/lib/amtron_MHCP.js +1199 -0
  15. package/build/lib/amtron_MHCP.js.map +1 -0
  16. package/build/lib/amtron_rest.js +1009 -0
  17. package/build/lib/amtron_rest.js.map +1 -0
  18. package/build/lib/amtronwallbox.js +17 -0
  19. package/build/lib/amtronwallbox.js.map +1 -0
  20. package/build/lib/base.js +299 -0
  21. package/build/lib/base.js.map +1 -0
  22. package/build/lib/types.js +3 -0
  23. package/build/lib/types.js.map +1 -0
  24. package/build/main.js +179 -0
  25. package/build/main.js.map +1 -0
  26. package/io-package.json +29 -29
  27. package/package.json +25 -15
  28. package/admin/i18n/de/translations.json +0 -19
  29. package/admin/i18n/en/translations.json +0 -19
  30. package/admin/i18n/es/translations.json +0 -19
  31. package/admin/i18n/fr/translations.json +0 -19
  32. package/admin/i18n/it/translations.json +0 -19
  33. package/admin/i18n/nl/translations.json +0 -19
  34. package/admin/i18n/pl/translations.json +0 -19
  35. package/admin/i18n/pt/translations.json +0 -19
  36. package/admin/i18n/ru/translations.json +0 -19
  37. package/admin/i18n/uk/translations.json +0 -19
  38. package/admin/i18n/zh-cn/translations.json +0 -19
  39. package/admin/words.js +0 -28
  40. package/lib/support_tools.js +0 -348
  41. package/main.js +0 -2597
package/README.md CHANGED
@@ -56,6 +56,14 @@ Note: Since the boxes have different interfaces, it may be that not all interfac
56
56
  Placeholder for the next version (at the beginning of the line):
57
57
  ### **WORK IN PROGRESS**
58
58
  -->
59
+ ### 1.0.1 (2026-07-11)
60
+ * (copilot) Adapter requires node.js >= 22 now
61
+ * (René) update dependencies + changes based on adapter checker
62
+
63
+ ### 1.0.0 (2026-04-25)
64
+ * (René) see issue ##423: parser for ChargeControl overworked, compatibility with new datapoints of v5.33 of wallbox firmware
65
+ * (René) adapter rewritten in typescript
66
+
59
67
  ### 0.3.6 (2026-03-15)
60
68
  * (René) update dependencies + changes based on adapter checker
61
69
 
@@ -65,79 +73,7 @@ Note: Since the boxes have different interfaces, it may be that not all interfac
65
73
  ### 0.3.4 (2025-10-21)
66
74
  * (René) update dependencies + changes based on adapter checker
67
75
 
68
- ### 0.3.3 (2025-10-04)
69
- * (René) update dependencies + changes based on adapter checker
70
-
71
- ### 0.3.2 (2025-06-28)
72
- * (René) update dependencies
73
- * (René) new testing
74
-
75
- ### 0.3.1 (2025-02-27)
76
- * (René) changes requested by adapter checker
77
- * (René) dependencies updated
78
-
79
- ### 0.3.0 (2024-12-17)
80
- * (René) see issue #284: test with nodejs@22
81
- * (René) update dependencies
82
- * (René) migration to jsonConfig
83
-
84
- ### 0.2.16 (2024-08-24)
85
- * (René) update dependencies
86
- * (René) bug fixes based on adapter checker recommendation
87
-
88
- ### 0.2.15 (2024-05-28)
89
- * (René) change of dependencies
90
- * (René) show cron job in log after creation
91
-
92
- ### 0.2.14 (2024-01-12)
93
- * (René) dependencies updated
94
-
95
- ### 0.2.13 (2023-12-23)
96
- * (René) just a sentry test
97
-
98
- ### 0.2.12 (2023-12-23)
99
- * (René) see issue #162: ignore unused data from wallbox
100
-
101
- ### 0.2.11 (2023-12-16)
102
- * (René) type of adapter changed back to "energy"
103
-
104
- ### 0.2.9 (2023-12-16)
105
- * (René) dependencies updated
106
-
107
- ### 0.2.8 (2023-11-26)
108
- * (René) role of states overworked
109
-
110
- ### 0.2.7 (2023-11-19)
111
- * (René) dependencies updated
112
-
113
- ### 0.2.6 (2023-09-23)
114
- * (René) bug fix for reported exceptions by sentry
115
-
116
- ### 0.2.5 (2023-08-27)
117
- * (René) smaller bug fixes, see issue #59
118
-
119
- ### 0.2.4 (2023-07-30)
120
- * (René) dependencies updated
121
-
122
- ### 0.2.3 (2023-06-01)
123
- * (René) some changes to fullfill requirements to bring the adapter to latest
124
-
125
- ### 0.2.2 (2023-04-07)
126
- * (René) dependencies updated
127
-
128
- ### 0.2.0 (2023-01-31)
129
- * (René) see issue #1: write data to XTRA wallbox (experimentel)
130
-
131
- ### 0.1.0 (2022-12-18)
132
- * (René) see issue #1: support of XTRA
133
-
134
- ### 0.0.3 (2022-08-18)
135
- * (René) some bug fixes
136
- * (René) change to cron
137
- * (René) update of dependencies
138
-
139
- ### 0.0.1 (2022-05-19)
140
- * (René) initial release
76
+ [Older changelogs can be found there](CHANGELOG_OLD.md)
141
77
 
142
78
  ## License
143
79
  MIT License
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "API-Schlüssel",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compakt",
5
+ "IP Address": "IP-Adresse des Systems",
6
+ "IPAddress": "IP Adresse",
7
+ "IsActive": "aktiv",
8
+ "Main settings": "Haupteinstellungen",
9
+ "Type": "Typ",
10
+ "Type of system": "Art des Systems",
11
+ "Wallbox settings": "Wallbox-Einstellungen",
12
+ "Xtra": "Xtra",
13
+ "configuration": "Konfiguration",
14
+ "current installed firmware version": "aktuell installierte Firmware-Version",
15
+ "enable system": "dieses System aktivieren",
16
+ "name": "Name",
17
+ "page-systems": "Systeme",
18
+ "readInterval": "Leseintervall [min]",
19
+ "readInterval_help": "Intervall in Minuten, wie oft Daten von der Wallbox gelesen werden sollen",
20
+ "system API key": "System-API-Schlüssel (wird nicht für ChargeControl verwendet)",
21
+ "system name": "Systemname",
22
+ "systems": "Systeme"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Api Key",
3
+ "IP Address": "IP address of the system",
4
+ "IPAddress": "IP-Address",
5
+ "IsActive": "active",
6
+ "Main settings": "Main settings",
7
+ "Type": "type",
8
+ "Type of system": "Type of System",
9
+ "Wallbox settings": "Wallbox settings",
10
+ "configuration": "configuration",
11
+ "enable system": "enable this system",
12
+ "name": "name",
13
+ "page-systems": "Systems",
14
+ "readInterval": "read intervall [min]",
15
+ "readInterval_help": "interval in minutes, how often data should be read from the wallbox",
16
+ "system API key": "system API key, (not used for ChargeControl)",
17
+ "system name": "system name",
18
+ "systems": "systems",
19
+ "Compact": "Compact",
20
+ "ChargeControl": "ChargeControl",
21
+ "Xtra": "Xtra",
22
+ "current installed firmware version": "current installed firmware version"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Clave API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "dirección IP del sistema",
6
+ "IPAddress": "Dirección IP",
7
+ "IsActive": "activo",
8
+ "Main settings": "Ajustes principales",
9
+ "Type": "escribe",
10
+ "Type of system": "Tipo de sistema",
11
+ "Wallbox settings": "Configuración de la caja de empotrar",
12
+ "Xtra": "Xtra",
13
+ "configuration": "configuración",
14
+ "current installed firmware version": "versión actual del firmware instalado",
15
+ "enable system": "habilitar este sistema",
16
+ "name": "nombre",
17
+ "page-systems": "Sistemas",
18
+ "readInterval": "intervalo de lectura [min]",
19
+ "readInterval_help": "intervalo en minutos, con qué frecuencia se deben leer los datos del wallbox",
20
+ "system API key": "Clave API del sistema (no utilizada para ChargeControl)",
21
+ "system name": "nombre del sistema",
22
+ "systems": "sistemas"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Clé API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "Adresse IP du système",
6
+ "IPAddress": "Adresse IP",
7
+ "IsActive": "actif",
8
+ "Main settings": "Réglages principaux",
9
+ "Type": "taper",
10
+ "Type of system": "Type de système",
11
+ "Wallbox settings": "Paramètres de la boîte murale",
12
+ "Xtra": "Xtra",
13
+ "configuration": "configuration",
14
+ "current installed firmware version": "version actuelle du micrologiciel installé",
15
+ "enable system": "activer ce système",
16
+ "name": "Nom",
17
+ "page-systems": "Systèmes",
18
+ "readInterval": "intervalle de lecture [min]",
19
+ "readInterval_help": "intervalle en minutes, à quelle fréquence les données doivent être lues depuis la wallbox",
20
+ "system API key": "clé API du système (non utilisée pour ChargeControl)",
21
+ "system name": "nom du système",
22
+ "systems": "systèmes"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Chiave API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "Indirizzo IP del sistema",
6
+ "IPAddress": "Indirizzo IP",
7
+ "IsActive": "attivo",
8
+ "Main settings": "Impostazioni principali",
9
+ "Type": "genere",
10
+ "Type of system": "Tipo di sistema",
11
+ "Wallbox settings": "Impostazioni della cassetta a muro",
12
+ "Xtra": "Xtra",
13
+ "configuration": "configurazione",
14
+ "current installed firmware version": "versione firmware attualmente installata",
15
+ "enable system": "abilitare questo sistema",
16
+ "name": "nome",
17
+ "page-systems": "Sistemi",
18
+ "readInterval": "intervallo di lettura [min]",
19
+ "readInterval_help": "intervallo in minuti, la frequenza con cui i dati devono essere letti dalla wallbox",
20
+ "system API key": "Chiave API di sistema (non utilizzata per ChargeControl)",
21
+ "system name": "nome del sistema",
22
+ "systems": "sistemi"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "API sleutel",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "IP-adres van het systeem",
6
+ "IPAddress": "IP adres",
7
+ "IsActive": "actief",
8
+ "Main settings": "Belangrijkste instellingen",
9
+ "Type": "type",
10
+ "Type of system": "Type systeem",
11
+ "Wallbox settings": "Wallbox-instellingen",
12
+ "Xtra": "Xtra",
13
+ "configuration": "configuratie",
14
+ "current installed firmware version": "huidige geïnstalleerde firmwareversie",
15
+ "enable system": "schakel dit systeem in",
16
+ "name": "naam",
17
+ "page-systems": "Systemen",
18
+ "readInterval": "lees interval [min]",
19
+ "readInterval_help": "interval in minuten, hoe vaak gegevens uit de wallbox moeten worden gelezen",
20
+ "system API key": "systeem-API-sleutel, (niet gebruikt voor ChargeControl)",
21
+ "system name": "systeem naam",
22
+ "systems": "systemen"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Klucz API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "Adres IP systemu",
6
+ "IPAddress": "Adres IP",
7
+ "IsActive": "aktywny",
8
+ "Main settings": "Ustawienia główne",
9
+ "Type": "rodzaj",
10
+ "Type of system": "Typ systemu",
11
+ "Wallbox settings": "Ustawienia Wallboxa",
12
+ "Xtra": "Xtra",
13
+ "configuration": "konfiguracja",
14
+ "current installed firmware version": "aktualnie zainstalowana wersja oprogramowania sprzętowego",
15
+ "enable system": "włączyć ten system",
16
+ "name": "Nazwa",
17
+ "page-systems": "Systemy",
18
+ "readInterval": "interwał odczytu [min]",
19
+ "readInterval_help": "interwał w minutach, jak często mają być odczytywane dane z wallboxa",
20
+ "system API key": "klucz API systemu (nieużywany w przypadku ChargeControl)",
21
+ "system name": "nazwa systemu",
22
+ "systems": "systemy"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Chave API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "Endereço IP do sistema",
6
+ "IPAddress": "Endereço de IP",
7
+ "IsActive": "ativo",
8
+ "Main settings": "Configurações principais",
9
+ "Type": "modelo",
10
+ "Type of system": "Tipo de sistema",
11
+ "Wallbox settings": "Configurações da caixa de embutir",
12
+ "Xtra": "Xtra",
13
+ "configuration": "configuração",
14
+ "current installed firmware version": "versão atual do firmware instalado",
15
+ "enable system": "ativar este sistema",
16
+ "name": "nome",
17
+ "page-systems": "Sistemas",
18
+ "readInterval": "intervalo de leitura [min]",
19
+ "readInterval_help": "intervalo em minutos, com que frequência os dados devem ser lidos do wallbox",
20
+ "system API key": "chave API do sistema, (não usada para ChargeControl)",
21
+ "system name": "nome do sistema",
22
+ "systems": "sistemas"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "API-ключ",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "IP-адрес системы",
6
+ "IPAddress": "Айпи адрес",
7
+ "IsActive": "активный",
8
+ "Main settings": "Основные параметры",
9
+ "Type": "тип",
10
+ "Type of system": "Тип системы",
11
+ "Wallbox settings": "Настройки настенного ящика",
12
+ "Xtra": "Xtra",
13
+ "configuration": "конфигурация",
14
+ "current installed firmware version": "текущая установленная версия прошивки",
15
+ "enable system": "включить эту систему",
16
+ "name": "имя",
17
+ "page-systems": "Системы",
18
+ "readInterval": "интервал чтения [мин]",
19
+ "readInterval_help": "интервал в минутах, как часто следует читать данные из Wallbox",
20
+ "system API key": "ключ системного API (не используется для ChargeControl)",
21
+ "system name": "имя системы",
22
+ "systems": "системы"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "Ключ API",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "IP-адреса системи",
6
+ "IPAddress": "IP-адреса",
7
+ "IsActive": "активний",
8
+ "Main settings": "Основні налаштування",
9
+ "Type": "типу",
10
+ "Type of system": "Тип системи",
11
+ "Wallbox settings": "Налаштування Wallbox",
12
+ "Xtra": "Xtra",
13
+ "configuration": "конфігурація",
14
+ "current installed firmware version": "поточна встановлена ​​версія прошивки",
15
+ "enable system": "увімкнути цю систему",
16
+ "name": "назва",
17
+ "page-systems": "Системи",
18
+ "readInterval": "інтервал читання [хв]",
19
+ "readInterval_help": "інтервал у хвилинах, як часто дані слід зчитувати з Wallbox",
20
+ "system API key": "системний ключ API (не використовується для ChargeControl)",
21
+ "system name": "ім'я системи",
22
+ "systems": "системи"
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "ApiKey": "API 密钥",
3
+ "ChargeControl": "ChargeControl",
4
+ "Compact": "Compact",
5
+ "IP Address": "系统IP地址",
6
+ "IPAddress": "IP地址",
7
+ "IsActive": "积极的",
8
+ "Main settings": "主要设置",
9
+ "Type": "类型",
10
+ "Type of system": "系统类型",
11
+ "Wallbox settings": "墙盒设置",
12
+ "Xtra": "Xtra",
13
+ "configuration": "配置",
14
+ "current installed firmware version": "当前安装的固件版本",
15
+ "enable system": "启用该系统",
16
+ "name": "姓名",
17
+ "page-systems": "系统",
18
+ "readInterval": "读取间隔 [分钟]",
19
+ "readInterval_help": "间隔(以分钟为单位),从 Wallbox 读取数据的频率",
20
+ "system API key": "系统 API 密钥(不用于 ChargeControl)",
21
+ "system name": "系统名称",
22
+ "systems": "系统"
23
+ }
@@ -16,6 +16,47 @@
16
16
  "lg": 1.2,
17
17
  "xl": 1.2
18
18
  },
19
+
20
+ "currentversiontxt": {
21
+ "type": "staticText",
22
+ "newLine": true,
23
+ "text": "current installed version",
24
+ "xs": 12,
25
+ "sm": 2,
26
+ "md": 2,
27
+ "lg": 2,
28
+ "xl": 2
29
+ },
30
+
31
+ "currentversion": {
32
+ "type": "textSendTo",
33
+ "label": "current installed firmware version",
34
+ "command": "checkCurrentVersion",
35
+ "jsonData": "{\"test\": \"aaa\", \"test2\": \"bbb\" }",
36
+ "alsoDependsOn": [ "checkCurrentVersion" ],
37
+ "xs": 12,
38
+ "sm": 12,
39
+ "md": 6,
40
+ "lg": 4,
41
+ "xl": 4
42
+
43
+ },
44
+
45
+
46
+ "URLFirmware": {
47
+ "type": "staticLink",
48
+ "text": "link to Software download page",
49
+ "href": "https://www.mennekes.de/emobility/services/software-updates/?_gl=1*15k0mir*_up*MQ..*_gs*MQ..&gclid=Cj0KCQjw7IjOBhDyARIsAFzrWQyt4Zh48z24nNrfbinvm6sW1uqWkjwcxPb97d2Vh9WUyqkLEChGGHAaAlVWEALw_wcB",
50
+ "button": true,
51
+ "icon": "info",
52
+ "newLine": true,
53
+ "xs": 12,
54
+ "sm": 12,
55
+ "md": 6,
56
+ "lg": 4,
57
+ "xl": 4
58
+ },
59
+
19
60
  "dividerHdr1": {
20
61
  "newLine": true,
21
62
  "type": "header",
@@ -107,15 +148,15 @@
107
148
  "default": false,
108
149
  "options": [
109
150
  {
110
- "label": { "en": "Compact" },
151
+ "label": "Compact",
111
152
  "value": "Compact"
112
153
  },
113
154
  {
114
- "label": { "en": "ChargeControl" },
155
+ "label": "ChargeControl",
115
156
  "value": "ChargeControl"
116
157
  },
117
158
  {
118
- "label": { "en": "Xtra" },
159
+ "label": "Xtra",
119
160
  "value": "Xtra"
120
161
  }
121
162
  ]