iobroker.sun2000 0.12.0 → 0.12.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.
- package/README.md +3 -0
- package/io-package.json +14 -14
- package/lib/drivers/driver_inverter.js +1 -1
- package/lib/tools.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,9 @@ browse in the [wiki](https://github.com/bolliy/ioBroker.sun2000/wiki)
|
|
|
63
63
|
Placeholder for the next version (at the beginning of the line):
|
|
64
64
|
### **WORK IN PROGRESS**
|
|
65
65
|
-->
|
|
66
|
+
### 0.12.1 (2024-09-29)
|
|
67
|
+
* no warning from check the valid number during standby: "no irradiation"
|
|
68
|
+
|
|
66
69
|
### 0.12.0 (2024-09-23)
|
|
67
70
|
* Requirements from ioBroker Check and Service Bot #104
|
|
68
71
|
* added battery packs #85
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sun2000",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.12.1": {
|
|
7
|
+
"en": "no warning from check the valid number during standby: \"no irradiation\"",
|
|
8
|
+
"de": "keine warnung vor der prüfung der gültigen nummer im standby: \"keine bestrahlung\"",
|
|
9
|
+
"ru": "не предупредить проверить действительный номер во время ожидания: «без облучения»",
|
|
10
|
+
"pt": "sem aviso de verificar o número válido durante o standby: \"nenhuma irradiação\"",
|
|
11
|
+
"nl": "geen waarschuwing van controle van het geldige nummer tijdens standby: \"geen bestraling\"",
|
|
12
|
+
"fr": "aucun avertissement de vérifier le nombre valide en attente: \"pas d'irradiation\"",
|
|
13
|
+
"it": "nessun avviso da controllare il numero valido durante la standby: \"nessuna irradiazione\"",
|
|
14
|
+
"es": "no hay advertencia de comprobar el número válido durante la espera: \"no irradiación\"",
|
|
15
|
+
"pl": "brak ostrzeżenia z sprawdzenia poprawnego numeru podczas czuwania: \"brak napromieniowania\"",
|
|
16
|
+
"uk": "без попередження про перевірку дійсного числа під час очікування: \"не опромінення\"",
|
|
17
|
+
"zh-cn": "在待命时不检查有效号码的警告 : “ 不辐射 ”"
|
|
18
|
+
},
|
|
6
19
|
"0.12.0": {
|
|
7
20
|
"en": "Requirements from ioBroker Check and Service Bot #104\nadded battery packs #85\nadded config panel `Further Register`",
|
|
8
21
|
"de": "Anforderungen an ioBroker Check und Service Bot #104\nakkupacks #85\nhinzufügen config panel `Weiter registrieren `",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "inverter model nazwa zbyt wiele znaków # 73",
|
|
81
94
|
"uk": "ім'я інвертора занадто багато символів #73",
|
|
82
95
|
"zh-cn": "翻转模型名称过多字符 # 73"
|
|
83
|
-
},
|
|
84
|
-
"0.7.0": {
|
|
85
|
-
"en": "breaking changes\nNode.js 18.x or higher required\nioBroker host (js-controller) 5.x or higher",
|
|
86
|
-
"de": "änderungen\nNode.js 18.x oder höher erforderlich\nioBroker Host (js-controller) 5.x oder höher",
|
|
87
|
-
"ru": "изменения\nNode.js 18.x или выше требуется\nioBroker host (js-controller) 5.x или выше",
|
|
88
|
-
"pt": "alterações de ruptura\nNode.js 18.x ou superior requerido\nhospedeiro ioBroker (js-controller) 5.x ou superior",
|
|
89
|
-
"nl": "wijzigingen breken\nNode.js 18.x of hoger vereist\nioBroker host (js-controller) 5.x of hoger",
|
|
90
|
-
"fr": "casser les changements\nNode.js 18.x ou plus requis\nioBroker host (js-controller) 5.x ou plus",
|
|
91
|
-
"it": "cambiamenti di rottura\nNode.js 18.x o superiore richiesto\nioBroker host (js-controller) 5.x o superiore",
|
|
92
|
-
"es": "cambios de ruptura\nNode.js 18.x o superior requerido\nioBroker host (js-controller) 5.x o superior",
|
|
93
|
-
"pl": "łamanie zmian\nNode.js 18,x lub wyższa wymagana\njoBroker host (kontroler js-) 5.x lub wyższy",
|
|
94
|
-
"uk": "поломка змін\nNode.js 18.x або вище потрібно\nioBroker host (js-controller) 5.x або вище",
|
|
95
|
-
"zh-cn": "断开更改\n所需节点.js 18.x或更高\nioBroker 主机(js-controller) 5.x或更高"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -936,7 +936,7 @@ class InverterSun2000 extends DriverBase{
|
|
|
936
936
|
if (value >= from && value <= until) {
|
|
937
937
|
return value;
|
|
938
938
|
}
|
|
939
|
-
this.log.
|
|
939
|
+
this.log.debug('_checkValidNumber '+value+' from: '+from+' until: '+until);
|
|
940
940
|
return substWith;
|
|
941
941
|
}
|
|
942
942
|
return value;
|
package/lib/tools.js
CHANGED
|
@@ -27,6 +27,11 @@ class Logging {
|
|
|
27
27
|
else this.adapter.log.info(msg);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
silly(msg) {
|
|
31
|
+
if (this._quiet) this.debug('Warn: '+msg);
|
|
32
|
+
else this.adapter.log.silly(msg);
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
warn(msg) {
|
|
31
36
|
if (this._quiet) this.debug('Warn: '+msg);
|
|
32
37
|
else this.adapter.log.warn(msg);
|