iobroker.senec 1.6.13 → 1.6.14
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/main.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "senec",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.14",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.6.14": {
|
|
7
|
+
"en": "Bugfix (values were way off)",
|
|
8
|
+
"de": "Bugfix (Falsche Werte)",
|
|
9
|
+
"ru": "Bugfix (значения были удалены)",
|
|
10
|
+
"pt": "Bugfix (valores estavam muito fora)",
|
|
11
|
+
"nl": "Bugfix (waarden waren ver weg)",
|
|
12
|
+
"fr": "Bugfix (les valeurs étaient loin)",
|
|
13
|
+
"it": "Bugfix (i valori erano lontani)",
|
|
14
|
+
"es": "Bugfix (los valores estaban lejos)",
|
|
15
|
+
"pl": "Bugfix (wartości były daleko poza)",
|
|
16
|
+
"uk": "Помилки (вартості були вимкнені)",
|
|
17
|
+
"zh-cn": "错误修正( 值远差 )"
|
|
18
|
+
},
|
|
6
19
|
"1.6.13": {
|
|
7
20
|
"en": "Removed Support for node 16, Added more translations, Code cleanup",
|
|
8
21
|
"de": "Removed Support for node 16, Weitere Übersetzungen hinzugefügt, Code cleanup",
|
|
@@ -132,19 +145,6 @@
|
|
|
132
145
|
"pl": "Liczby są ponownie numerami",
|
|
133
146
|
"uk": "Кількість чисел знову",
|
|
134
147
|
"zh-cn": "数字再次编号"
|
|
135
|
-
},
|
|
136
|
-
"1.6.3": {
|
|
137
|
-
"en": "Bugfixes for API reading.",
|
|
138
|
-
"de": "Bugfixes im API Handling.",
|
|
139
|
-
"ru": "Bugfixes для чтения API.",
|
|
140
|
-
"pt": "Bugfixes para leitura de API.",
|
|
141
|
-
"nl": "Bugfixes voor API-lezing.",
|
|
142
|
-
"fr": "Bugfixes pour la lecture de l'API.",
|
|
143
|
-
"it": "Bugfixes per la lettura API.",
|
|
144
|
-
"es": "Bugfixes para la lectura de API.",
|
|
145
|
-
"pl": "Bugfixes for API reading (ang.).",
|
|
146
|
-
"uk": "Виправлення помилок для читання API.",
|
|
147
|
-
"zh-cn": "评 注."
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
"docs": {
|
package/main.js
CHANGED
|
@@ -1025,7 +1025,7 @@ const HexToFloat32 = (str) => {
|
|
|
1025
1025
|
// var sign = (int >>> 31) ? -1 : 1;
|
|
1026
1026
|
const sign = int & 0x80000000 ? -1 : 1;
|
|
1027
1027
|
let exp = ((int >>> 23) & 0xff) - 127;
|
|
1028
|
-
const mantissa = (int &
|
|
1028
|
+
const mantissa = ((int & 0x7fffff) + 0x800000).toString(2);
|
|
1029
1029
|
let float32 = 0;
|
|
1030
1030
|
for (let i = 0; i < mantissa.length; i++) {
|
|
1031
1031
|
float32 += parseInt(mantissa[i]) ? Math.pow(2, exp) : 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.senec",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.14",
|
|
4
4
|
"description": "Senec Home",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "NoBl",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"@types/sinon": "^17.0.3",
|
|
49
49
|
"@types/sinon-chai": "^3.2.12",
|
|
50
50
|
"chai": "^4.4.1",
|
|
51
|
-
"chai-as-promised": "^
|
|
51
|
+
"chai-as-promised": "^8.0.0",
|
|
52
52
|
"eslint": "^9.7.0",
|
|
53
53
|
"eslint-config-prettier": "^9.1.0",
|
|
54
54
|
"eslint-plugin-prettier": "^5.2.1",
|
|
55
55
|
"globals": "^15.7.0",
|
|
56
|
-
"mocha": "^10.
|
|
56
|
+
"mocha": "^10.7.0",
|
|
57
57
|
"mustache": "^4.2.0",
|
|
58
58
|
"prettier": "^3.3.3",
|
|
59
59
|
"proxyquire": "^2.1.3",
|
|
60
|
-
"sinon": "^
|
|
60
|
+
"sinon": "^18.0.0",
|
|
61
61
|
"sinon-chai": "^3.7.0",
|
|
62
62
|
"typescript": "~5.5.3"
|
|
63
63
|
},
|