iobroker.amtronwallbox 0.2.7 → 0.2.8

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "plugins": [ "iobroker", "license" ]
3
+ }
package/README.md CHANGED
@@ -19,7 +19,7 @@ For more details and for information how to disable the error reporting see [Sen
19
19
 
20
20
  [![paypal](https://www.paypalobjects.com/en_US/DK/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=34ESBMJ932QZC)
21
21
 
22
- The adapter serves as an interface to various Amtron wallboxes. The data provided by the box is read out and made available as a data point in the adapter.
22
+ The adapter serves as an interface to various [Amtron wallboxes](https://www.mennekes.de/emobility/produkte/amtron-wallboxen/). The data provided by the box is read out and made available as a data point in the adapter.
23
23
  The data is only processed locally, a cloud connection is not necessary. For wallboxes that also support write access, the adapter can write data (e.g. charging current).
24
24
  The following Amtron wallboxes are supported:
25
25
  * Amtron Xtra
@@ -44,39 +44,46 @@ Note: Since the boxes have different interfaces, it may be that not all interfac
44
44
  <!--
45
45
  Placeholder for the next version (at the beginning of the line):
46
46
  ### **WORK IN PROGRESS**
47
- -->
47
+ -->
48
+
49
+ ### **WORK IN PROGRESS**
50
+
51
+
52
+ ### 0.2.8 (2023-11-26)
53
+ * (René) role of states overworked
54
+
48
55
  ### 0.2.7 (2023-11-19)
49
- * (René) dependencies updated
50
-
56
+ * (René) dependencies updated
57
+
51
58
  ### 0.2.6 (2023-09-23)
52
- * (René) bug fix for reported exceptions by sentry
53
-
59
+ * (René) bug fix for reported exceptions by sentry
60
+
54
61
  ### 0.2.5 (2023-08-27)
55
- * (René) smaller bug fixes, see issue #59
56
-
62
+ * (René) smaller bug fixes, see issue #59
63
+
57
64
  ### 0.2.4 (2023-07-30)
58
- * (René) dependencies updated
59
-
65
+ * (René) dependencies updated
66
+
60
67
  ### 0.2.3 (2023-06-01)
61
- * (René) some changes to fullfill requirements to bring the adapter to latest
62
-
68
+ * (René) some changes to fullfill requirements to bring the adapter to latest
69
+
63
70
  ### 0.2.2 (2023-04-07)
64
- * (René) dependencies updated
65
-
71
+ * (René) dependencies updated
72
+
66
73
  ### 0.2.0 (2023-01-31)
67
- * (René) see issue #1: write data to XTRA wallbox (experimentel)
68
-
74
+ * (René) see issue #1: write data to XTRA wallbox (experimentel)
75
+
69
76
  ### 0.1.0 (2022-12-18)
70
- * (René) see issue #1: support of XTRA
71
-
77
+ * (René) see issue #1: support of XTRA
78
+
72
79
  ### 0.0.3 (2022-08-18)
73
80
  * (René) some bug fixes
74
81
  * (René) change to cron
75
- * (René) update of dependencies
76
-
82
+ * (René) update of dependencies
83
+
77
84
  ### 0.0.1 (2022-05-19)
78
- * (René) initial release
79
-
85
+ * (René) initial release
86
+
80
87
  ## License
81
88
  MIT License
82
89
 
@@ -98,4 +105,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
98
105
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
99
106
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
100
107
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
101
- SOFTWARE.
108
+ SOFTWARE.
package/io-package.json CHANGED
@@ -1,169 +1,169 @@
1
- {
2
- "common": {
3
- "name": "amtronwallbox",
4
- "version": "0.2.7",
5
- "news": {
6
- "0.2.7": {
7
- "en": "dependencies updated",
8
- "de": "Abhängigkeiten aktualisiert",
9
- "ru": "зависимости обновлены",
10
- "pt": "dependências atualizadas",
11
- "nl": "afhankelijkheden bijgewerkt",
12
- "fr": "dépendances mises à jour",
13
- "it": "dipendenze aggiornate",
14
- "es": "dependencias actualizadas",
15
- "pl": "zależności zostały zaktualizowane",
16
- "uk": "залежності оновлено",
17
- "zh-cn": "依赖项已更新"
18
- },
19
- "0.2.6": {
20
- "en": "further preparation for latest repository",
21
- "de": "Weitere Vorbereitungen für das neueste Repository",
22
- "ru": "дальнейшая подготовка к последнему репозиторию",
23
- "pt": "preparação adicional para o repositório mais recente",
24
- "nl": "verdere voorbereiding voor de nieuwste repository",
25
- "fr": "préparation supplémentaire pour le dernier référentiel",
26
- "it": "ulteriore preparazione per l'ultimo repository",
27
- "es": "mayor preparación para el último repositorio",
28
- "pl": "dalsze przygotowania do najnowszego repozytorium",
29
- "uk": "подальша підготовка до останнього сховища",
30
- "zh-cn": "为最新存储库做进一步准备"
31
- },
32
- "0.2.5": {
33
- "en": "smaller bug fixes",
34
- "de": "kleinere Fehlerbehebungen",
35
- "ru": "мелкие исправления ошибок",
36
- "pt": "correções de bugs menores",
37
- "nl": "kleinere bugfixes",
38
- "fr": "petites corrections de bugs",
39
- "it": "correzioni di bug minori",
40
- "es": "correcciones de errores más pequeñas",
41
- "pl": "mniejsze poprawki błędów",
42
- "uk": "менші виправлення помилок",
43
- "zh-cn": "较小的错误修复"
44
- },
45
- "0.2.4": {
46
- "en": "dependencies updated",
47
- "de": "Abhängigkeiten aktualisiert",
48
- "ru": "зависимости обновлены",
49
- "pt": "dependências atualizadas",
50
- "nl": "afhankelijkheden bijgewerkt",
51
- "fr": "dépendances mises à jour",
52
- "it": "dipendenze aggiornate",
53
- "es": "dependencias actualizadas",
54
- "pl": "zaktualizowane zależności",
55
- "uk": "залежності оновлено",
56
- "zh-cn": "依赖项已更新"
57
- },
58
- "0.2.3": {
59
- "en": "some changes to fullfill requirements to bring the adapter to latest",
60
- "de": "Einige Änderungen an den Erfüllungsanforderungen, um den Adapter auf den neuesten Stand zu bringen",
61
- "ru": "некоторые изменения в требованиях к полному заполнению, чтобы привести адаптер к последней версии",
62
- "pt": "algumas mudanças para atender aos requisitos para trazer o adaptador para o mais recente",
63
- "nl": "enkele wijzigingen om aan de vereisten te voldoen om de adapter naar de nieuwste versie te brengen",
64
- "fr": "quelques modifications aux exigences de remplissage pour mettre l'adaptateur à jour",
65
- "it": "alcune modifiche ai requisiti di riempimento per portare l'adattatore al più recente",
66
- "es": "algunos cambios en los requisitos de cumplimiento para llevar el adaptador a la versión más reciente",
67
- "pl": "niektóre zmiany w celu spełnienia wymagań, aby adapter był najnowszy",
68
- "uk": "деякі зміни у повному виконанні вимог, щоб адаптувати адаптер до останньої версії",
69
- "zh-cn": "对 fullfill 要求的一些更改以使适配器达到最新"
70
- },
71
- "0.2.2": {
72
- "en": "dependencies updated",
73
- "de": "Abhängigkeiten aktualisiert",
74
- "ru": "зависимости обновлены",
75
- "pt": "dependências atualizadas",
76
- "nl": "afhankelijkheden bijgewerkt",
77
- "fr": "dépendances mises à jour",
78
- "it": "dipendenze aggiornate",
79
- "es": "dependencias actualizadas",
80
- "pl": "zaktualizowane zależności",
81
- "uk": "залежності оновлено",
82
- "zh-cn": "依赖更新"
83
- },
84
- "0.2.0": {
85
- "en": "write data to XTRA wallbox",
86
- "de": "Daten in die XTRA Wallbox schreiben",
87
- "ru": "записать данные в XTRA Wallbox",
88
- "pt": "gravar dados na caixa de embutir XTRA",
89
- "nl": "schrijf gegevens naar XTRA wallbox",
90
- "fr": "écrire des données sur la wallbox XTRA",
91
- "it": "scrivere i dati nella wallbox XTRA",
92
- "es": "escribir datos en la caja de pared XTRA",
93
- "pl": "zapis danych do stacji ładowania XTRA",
94
- "uk": "записати дані на XTRA wallbox",
95
- "zh-cn": "将数据写入 XTRA wallbox"
96
- }
97
- },
98
- "titleLang": {
99
- "en": "control of AMTRON wallbox",
100
- "de": "Steuerung der AMTRON Wallbox",
101
- "ru": "управление настенной коробкой AMTRON",
102
- "pt": "controle da caixa de parede AMTRON",
103
- "nl": "bediening van AMTRON wallbox",
104
- "fr": "commande de la wallbox AMTRON",
105
- "it": "controllo della wallbox AMTRON",
106
- "es": "control de la caja de empotrar AMTRON",
107
- "pl": "sterowanie wallboxem AMTRON",
108
- "zh-cn": "AMTRON 墙盒的控制",
109
- "uk": "управління AMTRON wallbox"
110
- },
111
- "desc": {
112
- "en": "read statistic information and set configuration values on AMTRON wallboxes from Mennekes",
113
- "de": "Statistikinformationen lesen und Konfigurationswerte auf AMTRON-Wallboxen von Mennekes einstellen",
114
- "ru": "читать статистическую информацию и задавать значения конфигурации на настенных ящиках AMTRON от Mennekes",
115
- "pt": "leia informações estatísticas e defina valores de configuração em caixas de parede AMTRON da Mennekes",
116
- "nl": "lees statistische informatie en stel configuratiewaarden in op AMTRON wallboxes van Mennekes",
117
- "fr": "lire les informations statistiques et définir les valeurs de configuration sur les boîtiers muraux AMTRON de Mennekes",
118
- "it": "leggere le informazioni statistiche e impostare i valori di configurazione sulle wallbox AMTRON di Mennekes",
119
- "es": "leer información estadística y establecer valores de configuración en los wallboxes AMTRON de Mennekes",
120
- "pl": "odczytywanie informacji statystycznych i ustawianie wartości konfiguracyjnych w stacjach naściennych AMTRON firmy Mennekes",
121
- "zh-cn": "从 Mennekes 读取 AMTRON 墙盒上的统计信息并设置配置值",
122
- "uk": "читати статистичну інформацію та встановлювати значення конфігурації на AMTRON wallbox від Mennekes"
123
- },
124
- "platform": "Javascript/Node.js",
125
- "mode": "daemon",
126
- "icon": "amtronwallbox.png",
127
- "enabled": true,
128
- "messagebox": false,
129
- "extIcon": "https://raw.githubusercontent.com/rg-engineering/ioBroker.amtronwallbox/master/admin/amtronwallbox.png",
130
- "keywords": [
131
- "amtron",
132
- "mennekes",
133
- "wallbox"
134
- ],
135
- "readme": "https://github.com/rg-engineering/ioBroker.amtronwallbox/blob/master/README.md",
136
- "loglevel": "info",
137
- "stopBeforeUpdate": true,
138
- "type": "vehicle",
139
- "license": "MIT",
140
- "materialize": true,
141
- "dependencies": [
142
- {
143
- "js-controller": ">=2.0.0"
144
- }
145
- ],
146
- "plugins": {
147
- "sentry": {
148
- "dsn": "https://9062b5ac97dc4ee08af43fb2513eb6c8@o390433.ingest.sentry.io/4505104266297344"
149
- }
150
- },
151
- "compact": true,
152
- "authors": [
153
- {
154
- "name": "René G.",
155
- "email": "info@rg-engineering.eu"
156
- }
157
- ],
158
- "connectionType": "local",
159
- "dataSource": "push",
160
- "adminUI": {
161
- "config": "materialize"
162
- },
163
- "messages": []
164
- },
165
- "native": {
166
- "WallboxSystems": [],
167
- "readInterval": 5
168
- }
169
- }
1
+ {
2
+ "common": {
3
+ "name": "amtronwallbox",
4
+ "version": "0.2.8",
5
+ "news": {
6
+ "0.2.8": {
7
+ "en": "(René)",
8
+ "de": "(René)",
9
+ "ru": "(René)",
10
+ "pt": "(René)",
11
+ "nl": "(René)",
12
+ "fr": "(René)",
13
+ "it": "(René)",
14
+ "es": "(René)",
15
+ "pl": "(René)",
16
+ "uk": "(Рене)",
17
+ "zh-cn": "(René)"
18
+ },
19
+ "0.2.7": {
20
+ "en": "dependencies updated",
21
+ "de": "Abhängigkeiten aktualisiert",
22
+ "ru": "зависимости обновлены",
23
+ "pt": "dependências atualizadas",
24
+ "nl": "afhankelijkheden bijgewerkt",
25
+ "fr": "dépendances mises à jour",
26
+ "it": "dipendenze aggiornate",
27
+ "es": "dependencias actualizadas",
28
+ "pl": "zależności zostały zaktualizowane",
29
+ "uk": "залежності оновлено",
30
+ "zh-cn": "依赖项已更新"
31
+ },
32
+ "0.2.6": {
33
+ "en": "further preparation for latest repository",
34
+ "de": "Weitere Vorbereitungen für das neueste Repository",
35
+ "ru": "дальнейшая подготовка к последнему репозиторию",
36
+ "pt": "preparação adicional para o repositório mais recente",
37
+ "nl": "verdere voorbereiding voor de nieuwste repository",
38
+ "fr": "préparation supplémentaire pour le dernier référentiel",
39
+ "it": "ulteriore preparazione per l'ultimo repository",
40
+ "es": "mayor preparación para el último repositorio",
41
+ "pl": "dalsze przygotowania do najnowszego repozytorium",
42
+ "uk": "подальша підготовка до останнього сховища",
43
+ "zh-cn": "为最新存储库做进一步准备"
44
+ },
45
+ "0.2.5": {
46
+ "en": "smaller bug fixes",
47
+ "de": "kleinere Fehlerbehebungen",
48
+ "ru": "мелкие исправления ошибок",
49
+ "pt": "correções de bugs menores",
50
+ "nl": "kleinere bugfixes",
51
+ "fr": "petites corrections de bugs",
52
+ "it": "correzioni di bug minori",
53
+ "es": "correcciones de errores más pequeñas",
54
+ "pl": "mniejsze poprawki błędów",
55
+ "uk": "менші виправлення помилок",
56
+ "zh-cn": "较小的错误修复"
57
+ },
58
+ "0.2.4": {
59
+ "en": "dependencies updated",
60
+ "de": "Abhängigkeiten aktualisiert",
61
+ "ru": "зависимости обновлены",
62
+ "pt": "dependências atualizadas",
63
+ "nl": "afhankelijkheden bijgewerkt",
64
+ "fr": "dépendances mises à jour",
65
+ "it": "dipendenze aggiornate",
66
+ "es": "dependencias actualizadas",
67
+ "pl": "zaktualizowane zależności",
68
+ "uk": "залежності оновлено",
69
+ "zh-cn": "依赖项已更新"
70
+ },
71
+ "0.2.3": {
72
+ "en": "some changes to fullfill requirements to bring the adapter to latest",
73
+ "de": "Einige Änderungen an den Erfüllungsanforderungen, um den Adapter auf den neuesten Stand zu bringen",
74
+ "ru": "некоторые изменения в требованиях к полному заполнению, чтобы привести адаптер к последней версии",
75
+ "pt": "algumas mudanças para atender aos requisitos para trazer o adaptador para o mais recente",
76
+ "nl": "enkele wijzigingen om aan de vereisten te voldoen om de adapter naar de nieuwste versie te brengen",
77
+ "fr": "quelques modifications aux exigences de remplissage pour mettre l'adaptateur à jour",
78
+ "it": "alcune modifiche ai requisiti di riempimento per portare l'adattatore al più recente",
79
+ "es": "algunos cambios en los requisitos de cumplimiento para llevar el adaptador a la versión más reciente",
80
+ "pl": "niektóre zmiany w celu spełnienia wymagań, aby adapter był najnowszy",
81
+ "uk": "деякі зміни у повному виконанні вимог, щоб адаптувати адаптер до останньої версії",
82
+ "zh-cn": "对 fullfill 要求的一些更改以使适配器达到最新"
83
+ },
84
+ "0.2.2": {
85
+ "en": "dependencies updated",
86
+ "de": "Abhängigkeiten aktualisiert",
87
+ "ru": "зависимости обновлены",
88
+ "pt": "dependências atualizadas",
89
+ "nl": "afhankelijkheden bijgewerkt",
90
+ "fr": "dépendances mises à jour",
91
+ "it": "dipendenze aggiornate",
92
+ "es": "dependencias actualizadas",
93
+ "pl": "zaktualizowane zależności",
94
+ "uk": "залежності оновлено",
95
+ "zh-cn": "依赖更新"
96
+ }
97
+ },
98
+ "titleLang": {
99
+ "en": "control of AMTRON wallbox",
100
+ "de": "Steuerung der AMTRON Wallbox",
101
+ "ru": "управление настенной коробкой AMTRON",
102
+ "pt": "controle da caixa de parede AMTRON",
103
+ "nl": "bediening van AMTRON wallbox",
104
+ "fr": "commande de la wallbox AMTRON",
105
+ "it": "controllo della wallbox AMTRON",
106
+ "es": "control de la caja de empotrar AMTRON",
107
+ "pl": "sterowanie wallboxem AMTRON",
108
+ "zh-cn": "AMTRON 墙盒的控制",
109
+ "uk": "управління AMTRON wallbox"
110
+ },
111
+ "desc": {
112
+ "en": "read statistic information and set configuration values on AMTRON wallboxes from Mennekes",
113
+ "de": "Statistikinformationen lesen und Konfigurationswerte auf AMTRON-Wallboxen von Mennekes einstellen",
114
+ "ru": "читать статистическую информацию и задавать значения конфигурации на настенных ящиках AMTRON от Mennekes",
115
+ "pt": "leia informações estatísticas e defina valores de configuração em caixas de parede AMTRON da Mennekes",
116
+ "nl": "lees statistische informatie en stel configuratiewaarden in op AMTRON wallboxes van Mennekes",
117
+ "fr": "lire les informations statistiques et définir les valeurs de configuration sur les boîtiers muraux AMTRON de Mennekes",
118
+ "it": "leggere le informazioni statistiche e impostare i valori di configurazione sulle wallbox AMTRON di Mennekes",
119
+ "es": "leer información estadística y establecer valores de configuración en los wallboxes AMTRON de Mennekes",
120
+ "pl": "odczytywanie informacji statystycznych i ustawianie wartości konfiguracyjnych w stacjach naściennych AMTRON firmy Mennekes",
121
+ "zh-cn": "从 Mennekes 读取 AMTRON 墙盒上的统计信息并设置配置值",
122
+ "uk": "читати статистичну інформацію та встановлювати значення конфігурації на AMTRON wallbox від Mennekes"
123
+ },
124
+ "platform": "Javascript/Node.js",
125
+ "mode": "daemon",
126
+ "icon": "amtronwallbox.png",
127
+ "enabled": true,
128
+ "messagebox": false,
129
+ "extIcon": "https://raw.githubusercontent.com/rg-engineering/ioBroker.amtronwallbox/master/admin/amtronwallbox.png",
130
+ "keywords": [
131
+ "amtron",
132
+ "mennekes",
133
+ "wallbox"
134
+ ],
135
+ "readme": "https://github.com/rg-engineering/ioBroker.amtronwallbox/blob/master/README.md",
136
+ "loglevel": "info",
137
+ "stopBeforeUpdate": true,
138
+ "type": "vehicle",
139
+ "license": "MIT",
140
+ "materialize": true,
141
+ "dependencies": [
142
+ {
143
+ "js-controller": ">=2.0.0"
144
+ }
145
+ ],
146
+ "plugins": {
147
+ "sentry": {
148
+ "dsn": "https://9062b5ac97dc4ee08af43fb2513eb6c8@o390433.ingest.sentry.io/4505104266297344"
149
+ }
150
+ },
151
+ "compact": true,
152
+ "authors": [
153
+ {
154
+ "name": "René G.",
155
+ "email": "info@rg-engineering.eu"
156
+ }
157
+ ],
158
+ "connectionType": "local",
159
+ "dataSource": "push",
160
+ "adminUI": {
161
+ "config": "materialize"
162
+ },
163
+ "messages": []
164
+ },
165
+ "native": {
166
+ "WallboxSystems": [],
167
+ "readInterval": 5
168
+ }
169
+ }
package/main.js CHANGED
@@ -715,7 +715,7 @@ async function checkVariables_rest(system) {
715
715
  type: "channel",
716
716
  common: {
717
717
  name: "Wallbox " + SystemName,
718
- role: "value",
718
+ role: "",
719
719
  }
720
720
  };
721
721
  await CreateObject(key, obj);
@@ -726,7 +726,7 @@ async function checkVariables_rest(system) {
726
726
  type: "channel",
727
727
  common: {
728
728
  name: "Connection ",
729
- role: "value",
729
+ role: "",
730
730
  }
731
731
  };
732
732
  await CreateObject(key, obj);
@@ -736,7 +736,7 @@ async function checkVariables_rest(system) {
736
736
  type: "channel",
737
737
  common: {
738
738
  name: "Authorisation ",
739
- role: "value",
739
+ role: "",
740
740
  }
741
741
  };
742
742
  await CreateObject(key, obj);
@@ -746,7 +746,7 @@ async function checkVariables_rest(system) {
746
746
  type: "channel",
747
747
  common: {
748
748
  name: "Backend ",
749
- role: "value",
749
+ role: "",
750
750
  }
751
751
  };
752
752
  await CreateObject(key, obj);
@@ -756,7 +756,7 @@ async function checkVariables_rest(system) {
756
756
  type: "channel",
757
757
  common: {
758
758
  name: "MCB",
759
- role: "value",
759
+ role: "",
760
760
  }
761
761
  };
762
762
  await CreateObject(key, obj);
@@ -766,7 +766,7 @@ async function checkVariables_rest(system) {
766
766
  type: "channel",
767
767
  common: {
768
768
  name: "OCPP",
769
- role: "value",
769
+ role: "",
770
770
  }
771
771
  };
772
772
  await CreateObject(key, obj);
@@ -776,7 +776,7 @@ async function checkVariables_rest(system) {
776
776
  type: "channel",
777
777
  common: {
778
778
  name: "RCD",
779
- role: "value",
779
+ role: "",
780
780
  }
781
781
  };
782
782
  await CreateObject(key, obj);
@@ -786,7 +786,7 @@ async function checkVariables_rest(system) {
786
786
  type: "channel",
787
787
  common: {
788
788
  name: "RCMB",
789
- role: "value",
789
+ role: "",
790
790
  }
791
791
  };
792
792
  await CreateObject(key, obj);
@@ -796,7 +796,7 @@ async function checkVariables_rest(system) {
796
796
  type: "channel",
797
797
  common: {
798
798
  name: "Schuko",
799
- role: "value",
799
+ role: "",
800
800
  }
801
801
  };
802
802
  await CreateObject(key, obj);
@@ -806,7 +806,7 @@ async function checkVariables_rest(system) {
806
806
  type: "channel",
807
807
  common: {
808
808
  name: "Type2",
809
- role: "value",
809
+ role: "",
810
810
  }
811
811
  };
812
812
  await CreateObject(key, obj);
@@ -816,7 +816,7 @@ async function checkVariables_rest(system) {
816
816
  type: "channel",
817
817
  common: {
818
818
  name: "Connection",
819
- role: "value",
819
+ role: "",
820
820
  }
821
821
  };
822
822
  await CreateObject(key, obj);
@@ -828,7 +828,7 @@ async function checkVariables_rest(system) {
828
828
  common: {
829
829
  name: "Connection State",
830
830
  type: "string",
831
- role: "value",
831
+ role: "info.status",
832
832
  read: true,
833
833
  write: false
834
834
  }
@@ -840,7 +840,7 @@ async function checkVariables_rest(system) {
840
840
  type: "channel",
841
841
  common: {
842
842
  name: "Authorisation",
843
- role: "value",
843
+ role: "",
844
844
  }
845
845
  };
846
846
  await CreateObject(key, obj);
@@ -851,7 +851,7 @@ async function checkVariables_rest(system) {
851
851
  common: {
852
852
  name: "Authorisation State",
853
853
  type: "string",
854
- role: "value",
854
+ role: "info.status",
855
855
  unit: "",
856
856
  read: true,
857
857
  write: false
@@ -865,7 +865,7 @@ async function checkVariables_rest(system) {
865
865
  common: {
866
866
  name: "Authorisation UID",
867
867
  type: "string",
868
- role: "value",
868
+ role: "info",
869
869
  unit: "",
870
870
  read: true,
871
871
  write: false
@@ -879,7 +879,7 @@ async function checkVariables_rest(system) {
879
879
  common: {
880
880
  name: "Time Since Charging Start",
881
881
  type: "number",
882
- role: "value",
882
+ role: "time.span",
883
883
  unit: "s",
884
884
  read: true,
885
885
  write: false
@@ -894,7 +894,7 @@ async function checkVariables_rest(system) {
894
894
  common: {
895
895
  name: "Meter",
896
896
  type: "number",
897
- role: "value",
897
+ role: "value.energy",
898
898
  unit: "Wh",
899
899
  read: true,
900
900
  write: false
@@ -908,7 +908,7 @@ async function checkVariables_rest(system) {
908
908
  common: {
909
909
  name: "Power",
910
910
  type: "number",
911
- role: "value",
911
+ role: "value.power",
912
912
  unit: "W",
913
913
  read: true,
914
914
  write: false
@@ -922,7 +922,7 @@ async function checkVariables_rest(system) {
922
922
  common: {
923
923
  name: "Transaction",
924
924
  type: "number",
925
- role: "value",
925
+ role: "value.energy",
926
926
  unit: "Wh",
927
927
  read: true,
928
928
  write: false
@@ -936,7 +936,7 @@ async function checkVariables_rest(system) {
936
936
  common: {
937
937
  name: "System ID",
938
938
  type: "string",
939
- role: "value",
939
+ role: "info",
940
940
  unit: "",
941
941
  read: true,
942
942
  write: false
@@ -949,7 +949,7 @@ async function checkVariables_rest(system) {
949
949
  type: "channel",
950
950
  common: {
951
951
  name: "OCPP",
952
- role: "value",
952
+ role: "",
953
953
  }
954
954
  };
955
955
  await CreateObject(key, obj);
@@ -960,7 +960,7 @@ async function checkVariables_rest(system) {
960
960
  common: {
961
961
  name: "OCPP State",
962
962
  type: "string",
963
- role: "value",
963
+ role: "info.status",
964
964
  unit: "",
965
965
  read: true,
966
966
  write: false
@@ -973,7 +973,7 @@ async function checkVariables_rest(system) {
973
973
  type: "channel",
974
974
  common: {
975
975
  name: "Type2",
976
- role: "value",
976
+ role: "",
977
977
  }
978
978
  };
979
979
  await CreateObject(key, obj);
@@ -984,7 +984,7 @@ async function checkVariables_rest(system) {
984
984
  common: {
985
985
  name: "Type2 State",
986
986
  type: "string",
987
- role: "value",
987
+ role: "info.status",
988
988
  unit: "",
989
989
  read: true,
990
990
  write: false
@@ -1026,7 +1026,7 @@ async function checkVariables_rest(system) {
1026
1026
  type: "channel",
1027
1027
  common: {
1028
1028
  name: "Schuko",
1029
- role: "value",
1029
+ role: "",
1030
1030
  }
1031
1031
  };
1032
1032
  await CreateObject(key, obj);
@@ -1037,7 +1037,7 @@ async function checkVariables_rest(system) {
1037
1037
  common: {
1038
1038
  name: "Schuko State",
1039
1039
  type: "string",
1040
- role: "value",
1040
+ role: "info.status",
1041
1041
  unit: "",
1042
1042
  read: true,
1043
1043
  write: false
@@ -1050,7 +1050,7 @@ async function checkVariables_rest(system) {
1050
1050
  type: "channel",
1051
1051
  common: {
1052
1052
  name: "Backend",
1053
- role: "value",
1053
+ role: "",
1054
1054
  }
1055
1055
  };
1056
1056
  await CreateObject(key, obj);
@@ -1061,7 +1061,7 @@ async function checkVariables_rest(system) {
1061
1061
  common: {
1062
1062
  name: "Backend Connection State",
1063
1063
  type: "string",
1064
- role: "value",
1064
+ role: "info.status",
1065
1065
  unit: "",
1066
1066
  read: true,
1067
1067
  write: false
@@ -1076,7 +1076,7 @@ async function checkVariables_rest(system) {
1076
1076
  common: {
1077
1077
  name: "FreeCharging",
1078
1078
  type: "boolean",
1079
- role: "value",
1079
+ role: "indicator",
1080
1080
  unit: "",
1081
1081
  read: true,
1082
1082
  write: false
@@ -1091,7 +1091,7 @@ async function checkVariables_rest(system) {
1091
1091
  common: {
1092
1092
  name: "SlaveState",
1093
1093
  type: "string",
1094
- role: "value",
1094
+ role: "info.status",
1095
1095
  unit: "",
1096
1096
  read: true,
1097
1097
  write: false
@@ -1106,7 +1106,7 @@ async function checkVariables_rest(system) {
1106
1106
  common: {
1107
1107
  name: "OCPP Meter Config",
1108
1108
  type: "string",
1109
- role: "value",
1109
+ role: "info",
1110
1110
  unit: "",
1111
1111
  read: true,
1112
1112
  write: false
@@ -1120,7 +1120,7 @@ async function checkVariables_rest(system) {
1120
1120
  common: {
1121
1121
  name: "OCPP Meter Serial",
1122
1122
  type: "string",
1123
- role: "value",
1123
+ role: "info",
1124
1124
  unit: "",
1125
1125
  read: true,
1126
1126
  write: false
@@ -1134,7 +1134,7 @@ async function checkVariables_rest(system) {
1134
1134
  common: {
1135
1135
  name: "Current",
1136
1136
  type: "number",
1137
- role: "value",
1137
+ role: "value.current",
1138
1138
  unit: "A",
1139
1139
  read: true,
1140
1140
  write: false
@@ -1148,7 +1148,7 @@ async function checkVariables_rest(system) {
1148
1148
  common: {
1149
1149
  name: "Energy Manager Current",
1150
1150
  type: "number",
1151
- role: "value",
1151
+ role: "value.current",
1152
1152
  unit: "A",
1153
1153
  read: true,
1154
1154
  write: false
@@ -1162,7 +1162,7 @@ async function checkVariables_rest(system) {
1162
1162
  common: {
1163
1163
  name: "AmbientTemperature",
1164
1164
  type: "string",
1165
- role: "value",
1165
+ role: "value.temperature",
1166
1166
  unit: "°C",
1167
1167
  read: true,
1168
1168
  write: false
@@ -1176,7 +1176,7 @@ async function checkVariables_rest(system) {
1176
1176
  common: {
1177
1177
  name: "FirmwareVersion",
1178
1178
  type: "string",
1179
- role: "value",
1179
+ role: "info",
1180
1180
  unit: "",
1181
1181
  read: true,
1182
1182
  write: false
@@ -1190,7 +1190,7 @@ async function checkVariables_rest(system) {
1190
1190
  common: {
1191
1191
  name: "SerialNumber",
1192
1192
  type: "string",
1193
- role: "value",
1193
+ role: "info",
1194
1194
  unit: "",
1195
1195
  read: true,
1196
1196
  write: false
@@ -1232,7 +1232,7 @@ async function checkVariables_rest(system) {
1232
1232
  common: {
1233
1233
  name: "Maximun Current",
1234
1234
  type: "number",
1235
- role: "value",
1235
+ role: "value.current",
1236
1236
  unit: "A",
1237
1237
  read: true,
1238
1238
  write: false
@@ -1246,7 +1246,7 @@ async function checkVariables_rest(system) {
1246
1246
  type: "channel",
1247
1247
  common: {
1248
1248
  name: "RCMB",
1249
- role: "value",
1249
+ role: "",
1250
1250
  }
1251
1251
  };
1252
1252
  await CreateObject(key, obj);
@@ -1257,7 +1257,7 @@ async function checkVariables_rest(system) {
1257
1257
  common: {
1258
1258
  name: "RCMB State",
1259
1259
  type: "string",
1260
- role: "value",
1260
+ role: "info.status",
1261
1261
  unit: "",
1262
1262
  read: true,
1263
1263
  write: false
@@ -1271,7 +1271,7 @@ async function checkVariables_rest(system) {
1271
1271
  common: {
1272
1272
  name: "RCMB Maximum Values",
1273
1273
  type: "string",
1274
- role: "value",
1274
+ role: "value.max",
1275
1275
  unit: "",
1276
1276
  read: true,
1277
1277
  write: false
@@ -1285,7 +1285,7 @@ async function checkVariables_rest(system) {
1285
1285
  common: {
1286
1286
  name: "RCMB Current Values",
1287
1287
  type: "string",
1288
- role: "value",
1288
+ role: "value.current",
1289
1289
  unit: "",
1290
1290
  read: true,
1291
1291
  write: false
@@ -1299,7 +1299,7 @@ async function checkVariables_rest(system) {
1299
1299
  common: {
1300
1300
  name: "CableAttached",
1301
1301
  type: "boolean",
1302
- role: "value",
1302
+ role: "indicator",
1303
1303
  unit: "",
1304
1304
  read: true,
1305
1305
  write: false
@@ -1314,7 +1314,7 @@ async function checkVariables_rest(system) {
1314
1314
  common: {
1315
1315
  name: "Schuko Config",
1316
1316
  type: "string",
1317
- role: "value",
1317
+ role: "info",
1318
1318
  unit: "",
1319
1319
  read: true,
1320
1320
  write: false
@@ -1328,7 +1328,7 @@ async function checkVariables_rest(system) {
1328
1328
  common: {
1329
1329
  name: "RCD State",
1330
1330
  type: "string",
1331
- role: "value",
1331
+ role: "info.status",
1332
1332
  unit: "",
1333
1333
  read: true,
1334
1334
  write: false
@@ -1342,7 +1342,7 @@ async function checkVariables_rest(system) {
1342
1342
  type: "channel",
1343
1343
  common: {
1344
1344
  name: "MCB",
1345
- role: "value",
1345
+ role: "",
1346
1346
  }
1347
1347
  };
1348
1348
  await CreateObject(key, obj);
@@ -1353,7 +1353,7 @@ async function checkVariables_rest(system) {
1353
1353
  common: {
1354
1354
  name: "MCB Type2 State",
1355
1355
  type: "string",
1356
- role: "value",
1356
+ role: "info.status",
1357
1357
  unit: "",
1358
1358
  read: true,
1359
1359
  write: false
@@ -1367,7 +1367,7 @@ async function checkVariables_rest(system) {
1367
1367
  common: {
1368
1368
  name: "MCB Schuko State",
1369
1369
  type: "string",
1370
- role: "value",
1370
+ role: "info.status",
1371
1371
  unit: "",
1372
1372
  read: true,
1373
1373
  write: false
@@ -1381,7 +1381,7 @@ async function checkVariables_rest(system) {
1381
1381
  common: {
1382
1382
  name: "System Vendor",
1383
1383
  type: "string",
1384
- role: "value",
1384
+ role: "info",
1385
1385
  unit: "",
1386
1386
  read: true,
1387
1387
  write: false
@@ -1409,7 +1409,7 @@ async function checkVariables_rest(system) {
1409
1409
  common: {
1410
1410
  name: "System Model",
1411
1411
  type: "string",
1412
- role: "value",
1412
+ role: "info.hardware",
1413
1413
  unit: "",
1414
1414
  read: true,
1415
1415
  write: false
@@ -1424,7 +1424,7 @@ async function checkVariables_rest(system) {
1424
1424
  common: {
1425
1425
  name: "Display Text",
1426
1426
  type: "string",
1427
- role: "value",
1427
+ role: "info.display",
1428
1428
  unit: "",
1429
1429
  read: true,
1430
1430
  write: false
@@ -1448,7 +1448,7 @@ async function checkVariables_MHCP(system) {
1448
1448
  type: "channel",
1449
1449
  common: {
1450
1450
  name: "Wallbox " + SystemName,
1451
- role: "value",
1451
+ role: "",
1452
1452
  }
1453
1453
  };
1454
1454
  await CreateObject(key, obj);
@@ -1459,7 +1459,7 @@ async function checkVariables_MHCP(system) {
1459
1459
  type: "channel",
1460
1460
  common: {
1461
1461
  name: "info",
1462
- role: "value",
1462
+ role: "",
1463
1463
  }
1464
1464
  };
1465
1465
  await CreateObject(key, obj);
@@ -1470,7 +1470,7 @@ async function checkVariables_MHCP(system) {
1470
1470
  common: {
1471
1471
  name: "Name of the device",
1472
1472
  type: "string",
1473
- role: "value",
1473
+ role: "info.name",
1474
1474
  read: true,
1475
1475
  write: true
1476
1476
  }
@@ -1483,7 +1483,7 @@ async function checkVariables_MHCP(system) {
1483
1483
  common: {
1484
1484
  name: "timestamp",
1485
1485
  type: "number",
1486
- role: "value",
1486
+ role: "date",
1487
1487
  read: true,
1488
1488
  write: true
1489
1489
  }
@@ -1496,7 +1496,7 @@ async function checkVariables_MHCP(system) {
1496
1496
  common: {
1497
1497
  name: "Is summer time?",
1498
1498
  type: "boolean",
1499
- role: "value",
1499
+ role: "indicator",
1500
1500
  read: true,
1501
1501
  write: true
1502
1502
  }
@@ -1535,7 +1535,7 @@ async function checkVariables_MHCP(system) {
1535
1535
  common: {
1536
1536
  name: "Serial Number",
1537
1537
  type: "number",
1538
- role: "value",
1538
+ role: "info.serial",
1539
1539
  read: true,
1540
1540
  write: false
1541
1541
  }
@@ -1548,7 +1548,7 @@ async function checkVariables_MHCP(system) {
1548
1548
  common: {
1549
1549
  name: "Info about the HCC3 (main controller)",
1550
1550
  type: "string",
1551
- role: "value",
1551
+ role: "info.hardware",
1552
1552
  read: true,
1553
1553
  write: false
1554
1554
  }
@@ -1561,7 +1561,7 @@ async function checkVariables_MHCP(system) {
1561
1561
  common: {
1562
1562
  name: "Info about hardware software?",
1563
1563
  type: "string",
1564
- role: "value",
1564
+ role: "info.hardware",
1565
1565
  read: true,
1566
1566
  write: false
1567
1567
  }
@@ -1574,7 +1574,7 @@ async function checkVariables_MHCP(system) {
1574
1574
  common: {
1575
1575
  name: "Info about RFID?",
1576
1576
  type: "string",
1577
- role: "value",
1577
+ role: "info.hardware",
1578
1578
  read: true,
1579
1579
  write: false
1580
1580
  }
@@ -1587,7 +1587,7 @@ async function checkVariables_MHCP(system) {
1587
1587
  common: {
1588
1588
  name: "WiFi module version?",
1589
1589
  type: "string",
1590
- role: "value",
1590
+ role: "info.hardware",
1591
1591
  read: true,
1592
1592
  write: false
1593
1593
  }
@@ -1652,7 +1652,7 @@ async function checkVariables_MHCP(system) {
1652
1652
  common: {
1653
1653
  name: "Current charging state",
1654
1654
  type: "string",
1655
- role: "value",
1655
+ role: "info.status",
1656
1656
  read: true,
1657
1657
  write: false
1658
1658
  }
@@ -1665,7 +1665,7 @@ async function checkVariables_MHCP(system) {
1665
1665
  common: {
1666
1666
  name: "true if WiFi is on",
1667
1667
  type: "boolean",
1668
- role: "value",
1668
+ role: "indicator",
1669
1669
  read: true,
1670
1670
  write: false
1671
1671
  }
@@ -1678,7 +1678,7 @@ async function checkVariables_MHCP(system) {
1678
1678
  common: {
1679
1679
  name: "true if auto-start charging is enabled",
1680
1680
  type: "boolean",
1681
- role: "value",
1681
+ role: "indicator",
1682
1682
  read: true,
1683
1683
  write: false
1684
1684
  }
@@ -1691,7 +1691,7 @@ async function checkVariables_MHCP(system) {
1691
1691
  common: {
1692
1692
  name: "true if charging should continue after power outage",
1693
1693
  type: "boolean",
1694
- role: "value",
1694
+ role: "indicator",
1695
1695
  read: true,
1696
1696
  write: false
1697
1697
  }
@@ -1704,7 +1704,7 @@ async function checkVariables_MHCP(system) {
1704
1704
  common: {
1705
1705
  name: "current error code, 0 if there is none",
1706
1706
  type: "number",
1707
- role: "value",
1707
+ role: "indicator",
1708
1708
  read: true,
1709
1709
  write: false
1710
1710
  }
@@ -1717,7 +1717,7 @@ async function checkVariables_MHCP(system) {
1717
1717
  common: {
1718
1718
  name: "EV battery capacity for EnergyManager in Wh",
1719
1719
  type: "number",
1720
- role: "value",
1720
+ role: "value.energy",
1721
1721
  read: true,
1722
1722
  write: true
1723
1723
  }
@@ -1743,7 +1743,7 @@ async function checkVariables_MHCP(system) {
1743
1743
  common: {
1744
1744
  name: "true if cable is connected/installed?",
1745
1745
  type: "boolean",
1746
- role: "value",
1746
+ role: "indicator",
1747
1747
  read: true,
1748
1748
  write: false
1749
1749
  }
@@ -1756,7 +1756,7 @@ async function checkVariables_MHCP(system) {
1756
1756
  common: {
1757
1757
  name: "true if auth by rfid is enabled?",
1758
1758
  type: "boolean",
1759
- role: "value",
1759
+ role: "indicator",
1760
1760
  read: true,
1761
1761
  write: false
1762
1762
  }
@@ -1769,7 +1769,7 @@ async function checkVariables_MHCP(system) {
1769
1769
  common: {
1770
1770
  name: "?",
1771
1771
  type: "boolean",
1772
- role: "value",
1772
+ role: "indicator",
1773
1773
  read: true,
1774
1774
  write: false
1775
1775
  }
@@ -1782,7 +1782,7 @@ async function checkVariables_MHCP(system) {
1782
1782
  common: {
1783
1783
  name: "true if EnergyManager mode is enabled",
1784
1784
  type: "boolean",
1785
- role: "value",
1785
+ role: "indicator",
1786
1786
  read: true,
1787
1787
  write: false
1788
1788
  }
@@ -1796,7 +1796,7 @@ async function checkVariables_MHCP(system) {
1796
1796
  name: "currently set max. charging current per phase in A",
1797
1797
  unit: "A",
1798
1798
  type: "number",
1799
- role: "value",
1799
+ role: "value.power",
1800
1800
  read: true,
1801
1801
  write: false
1802
1802
  }
@@ -1810,7 +1810,7 @@ async function checkVariables_MHCP(system) {
1810
1810
  name: "currently set max. charging power in W",
1811
1811
  unit: "W",
1812
1812
  type: "number",
1813
- role: "value",
1813
+ role: "value.power",
1814
1814
  read: true,
1815
1815
  write: false
1816
1816
  }
@@ -1824,7 +1824,7 @@ async function checkVariables_MHCP(system) {
1824
1824
  name: "upper limit for charging current per phase in A",
1825
1825
  unit: "A",
1826
1826
  type: "number",
1827
- role: "value",
1827
+ role: "value.current",
1828
1828
  read: true,
1829
1829
  write: false
1830
1830
  }
@@ -1837,7 +1837,7 @@ async function checkVariables_MHCP(system) {
1837
1837
  type: "channel",
1838
1838
  common: {
1839
1839
  name: "charge",
1840
- role: "value",
1840
+ role: "",
1841
1841
  }
1842
1842
  };
1843
1843
  await CreateObject(key, obj);
@@ -1849,7 +1849,7 @@ async function checkVariables_MHCP(system) {
1849
1849
  common: {
1850
1850
  name: "charge state",
1851
1851
  type: "string",
1852
- role: "value",
1852
+ role: "info.status",
1853
1853
  read: true,
1854
1854
  write: true
1855
1855
  }
@@ -1888,7 +1888,7 @@ async function checkVariables_MHCP(system) {
1888
1888
  common: {
1889
1889
  name: "Uid",
1890
1890
  type: "string",
1891
- role: "value",
1891
+ role: "info",
1892
1892
  read: true,
1893
1893
  write: true
1894
1894
  }
@@ -1901,7 +1901,7 @@ async function checkVariables_MHCP(system) {
1901
1901
  common: {
1902
1902
  name: "how long the wallbox is charging the EV",
1903
1903
  type: "number",
1904
- role: "value",
1904
+ role: "time.span",
1905
1905
  read: true,
1906
1906
  write: false
1907
1907
  }
@@ -1915,7 +1915,7 @@ async function checkVariables_MHCP(system) {
1915
1915
  name: "how much energy the wallbox has charged in Wh",
1916
1916
  unit: "Wh",
1917
1917
  type: "number",
1918
- role: "value",
1918
+ role: "value.energy",
1919
1919
  read: true,
1920
1920
  write: false
1921
1921
  }
@@ -1929,7 +1929,7 @@ async function checkVariables_MHCP(system) {
1929
1929
  name: "energy demand of the vehicle in Wh",
1930
1930
  unit: "Wh",
1931
1931
  type: "number",
1932
- role: "value",
1932
+ role: "value.energy",
1933
1933
  read: true,
1934
1934
  write: false
1935
1935
  }
@@ -1942,7 +1942,7 @@ async function checkVariables_MHCP(system) {
1942
1942
  common: {
1943
1943
  name: "maybe percentage of solar energy for current charge",
1944
1944
  type: "number",
1945
- role: "value",
1945
+ role: "value.energy",
1946
1946
  read: true,
1947
1947
  write: false
1948
1948
  }
@@ -1981,7 +1981,7 @@ async function checkVariables_MHCP(system) {
1981
1981
  common: {
1982
1982
  name: "current power draw of vehicle",
1983
1983
  type: "number",
1984
- role: "value",
1984
+ role: "value.current",
1985
1985
  read: true,
1986
1986
  write: false
1987
1987
  }
@@ -1995,7 +1995,7 @@ async function checkVariables_MHCP(system) {
1995
1995
  name: "currently set max. charging current per phase in A",
1996
1996
  type: "number",
1997
1997
  unit: "A",
1998
- role: "value",
1998
+ role: "value.current",
1999
1999
  read: true,
2000
2000
  write: false
2001
2001
  }
@@ -2009,7 +2009,7 @@ async function checkVariables_MHCP(system) {
2009
2009
  name: "max current per phase in tariff1",
2010
2010
  type: "number",
2011
2011
  unit: "A",
2012
- role: "value",
2012
+ role: "value.current",
2013
2013
  read: true,
2014
2014
  write: false
2015
2015
  }
@@ -2062,7 +2062,7 @@ async function checkVariables_MHCP(system) {
2062
2062
  common: {
2063
2063
  name: "max current per pahse in tariff2",
2064
2064
  type: "number",
2065
- role: "value",
2065
+ role: "value.current",
2066
2066
  read: true,
2067
2067
  write: false
2068
2068
  }
@@ -2141,7 +2141,7 @@ async function checkVariables_MHCP(system) {
2141
2141
  common: {
2142
2142
  name: "if only excess energy should be used in energy manager mode",
2143
2143
  type: "boolean",
2144
- role: "value",
2144
+ role: "indicator",
2145
2145
  read: true,
2146
2146
  write: false
2147
2147
  }
@@ -2171,7 +2171,7 @@ async function checkVariables_MHCP(system) {
2171
2171
  type: "channel",
2172
2172
  common: {
2173
2173
  name: "Statistics",
2174
- role: "value",
2174
+ role: "",
2175
2175
  }
2176
2176
  };
2177
2177
  await CreateObject(key, obj);
@@ -2182,7 +2182,7 @@ async function checkVariables_MHCP(system) {
2182
2182
  type: "channel",
2183
2183
  common: {
2184
2184
  name: "Statistics Year",
2185
- role: "value",
2185
+ role: "",
2186
2186
  }
2187
2187
  };
2188
2188
  await CreateObject(key, obj);
@@ -2217,7 +2217,7 @@ async function checkVariables_MHCP_Statistic(system, period) {
2217
2217
  type: "channel",
2218
2218
  common: {
2219
2219
  name: "Statistics",
2220
- role: "value",
2220
+ role: "",
2221
2221
  }
2222
2222
  };
2223
2223
  await CreateObject(key, obj);
@@ -2227,7 +2227,7 @@ async function checkVariables_MHCP_Statistic(system, period) {
2227
2227
  type: "channel",
2228
2228
  common: {
2229
2229
  name: "Statistics period " + period,
2230
- role: "value",
2230
+ role: "",
2231
2231
  }
2232
2232
  };
2233
2233
  await CreateObject(key, obj);
@@ -2240,7 +2240,7 @@ async function checkVariables_MHCP_Statistic(system, period) {
2240
2240
  name: "Amount of Wh",
2241
2241
  type: "number",
2242
2242
  unit:"Wh",
2243
- role: "value",
2243
+ role: "value.energy",
2244
2244
  read: true,
2245
2245
  write: false
2246
2246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.amtronwallbox",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "ioBroker Adapter for AMTRON wallboxes",
5
5
  "author": {
6
6
  "name": "René G.",
@@ -30,6 +30,8 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@alcalzone/release-script": "^3.6.0",
33
+ "@alcalzone/release-script-plugin-iobroker": "^3.6.0",
34
+ "@alcalzone/release-script-plugin-license": "^3.5.9",
33
35
  "@iobroker/adapter-dev": "1.2.0",
34
36
  "@iobroker/testing": "4.1.0",
35
37
  "@types/chai": "4.3.10",