iobroker.sbfspot 5.0.4 → 5.0.6
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/LICENSE +1 -1
- package/README.md +7 -8
- package/io-package.json +28 -28
- package/main.js +4 -4
- package/package.json +12 -11
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017-
|
|
3
|
+
Copyright (c) 2017-2026 René G. <info@rg-engineering.eu>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -48,13 +48,6 @@ in /opt/iobroker/node_modules/iobroker.sbfspot/lib/scripts you can find a script
|
|
|
48
48
|
|
|
49
49
|
## known issues
|
|
50
50
|
|
|
51
|
-
* sometimes installation of npm package sqlite3 fails.
|
|
52
|
-
in that case reinstall all npm packages
|
|
53
|
-
|
|
54
|
-
> cd /opt/iobroker/node_modules/iobroker.sbfspot
|
|
55
|
-
> sudo npm install
|
|
56
|
-
|
|
57
|
-
sometimes npm intall must be called more then one time to successfully install all necessray packages
|
|
58
51
|
|
|
59
52
|
|
|
60
53
|
* please create issues at [github](https://github.com/rg-engineering/ioBroker.sbfspot/issues) if you find bugs or whish new features
|
|
@@ -65,6 +58,12 @@ sometimes npm intall must be called more then one time to successfully install a
|
|
|
65
58
|
Placeholder for the next version (at the beginning of the line):
|
|
66
59
|
### **WORK IN PROGRESS**
|
|
67
60
|
-->
|
|
61
|
+
### 5.0.6 (2026-04-06)
|
|
62
|
+
* (René) changes based on adapter checker
|
|
63
|
+
|
|
64
|
+
### 5.0.5 (2026-03-17)
|
|
65
|
+
* (René) update dependencies + changes based on adapter checker
|
|
66
|
+
|
|
68
67
|
### 5.0.4 (2025-10-26)
|
|
69
68
|
* (René) bug fix sentry
|
|
70
69
|
|
|
@@ -242,7 +241,7 @@ sometimes npm intall must be called more then one time to successfully install a
|
|
|
242
241
|
## License
|
|
243
242
|
MIT License
|
|
244
243
|
|
|
245
|
-
Copyright (c) 2017-
|
|
244
|
+
Copyright (c) 2017-2026 René G. <info@rg-engineering.eu>
|
|
246
245
|
|
|
247
246
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
248
247
|
of this software and associated documentation files (the "Software"), to deal
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sbfspot",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.6",
|
|
5
5
|
"news": {
|
|
6
|
+
"5.0.6": {
|
|
7
|
+
"en": " changes based on adapter checker",
|
|
8
|
+
"de": " Änderungen auf der Grundlage des Adapter-Checkers",
|
|
9
|
+
"ru": " изменения на основе проверки адаптера",
|
|
10
|
+
"pt": " alterações baseadas no verificador de adaptadores",
|
|
11
|
+
"nl": " wijzigingen op basis van adapterchecker",
|
|
12
|
+
"fr": " modifications basées sur le vérificateur d'adaptateur",
|
|
13
|
+
"it": " modifiche basate sul checker dell'adattatore",
|
|
14
|
+
"es": " cambios basados en el verificador de adaptadores",
|
|
15
|
+
"pl": " zmiany oparte na narzędziu do sprawdzania adapterów",
|
|
16
|
+
"uk": " зміни на основі перевірки адаптера",
|
|
17
|
+
"zh-cn": " changes based on adapter checker"
|
|
18
|
+
},
|
|
19
|
+
"5.0.5": {
|
|
20
|
+
"en": "update dependencies + changes based on adapter checker\n",
|
|
21
|
+
"de": "aktualisierung abhängigkeiten + änderungen basierend auf adapter-checker\n",
|
|
22
|
+
"ru": "зависимости обновления + изменения на основе проверки адаптера\n",
|
|
23
|
+
"pt": "atualizar dependências + alterações com base no verificador de adaptadores\n",
|
|
24
|
+
"nl": "update afhankelijkheden + wijzigingen op basis van adaptercontrole\n",
|
|
25
|
+
"fr": "mettre à jour les dépendances + les changements basés sur le vérificateur d'adaptateur\n",
|
|
26
|
+
"it": "aggiornamento dipendenze + modifiche in base all'adattatore checker\n",
|
|
27
|
+
"es": "dependencias de actualización + cambios basados en el control de adaptador\n",
|
|
28
|
+
"pl": "aktualizacja zależności + zmiany w oparciu o sprawdzacz adaptera\n",
|
|
29
|
+
"uk": "оновлення залежності + зміни на основі перевірки адаптера\n",
|
|
30
|
+
"zh-cn": "根据适配器检查器更新依赖性+变化\n"
|
|
31
|
+
},
|
|
6
32
|
"5.0.4": {
|
|
7
33
|
"en": "bug fix sentry",
|
|
8
34
|
"de": "fehlerbehebung gesendet",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "UWAGA zmiana łamania: typ adaptera zmieniony z zaplanowanego na demona\naktualizacji wskazówki dodane do admin\nsugestie z sprawdzania adaptera",
|
|
68
94
|
"uk": "Зміна зміни тенції: тип адаптера змінено з запланованого на дамон\nоновлення натяків додано в адмін\nпропозиції від адаптера",
|
|
69
95
|
"zh-cn": "注意断开更改:适配器类型从预定更改为守护进程\n添加到管理员的更新提示\n来自适配器检查器的建议"
|
|
70
|
-
},
|
|
71
|
-
"4.4.2": {
|
|
72
|
-
"en": "changes requested by adapter checker\ndependencies updated",
|
|
73
|
-
"de": "änderungen, die von adapter checker angefordert werden\naktualisierte abhängigkeiten",
|
|
74
|
-
"ru": "изменения, запрошенные adapter checker\nобновленные зависимости",
|
|
75
|
-
"pt": "alterações solicitadas pelo verificador do adaptador\ndependências atualizadas",
|
|
76
|
-
"nl": "wijzigingen gevraagd door adaptercontrole\nafhankelijkheden bijgewerkt",
|
|
77
|
-
"fr": "modifications demandées par l'adaptateur checker\ndépendances mises à jour",
|
|
78
|
-
"it": "modifiche richieste da adattatore checker\ndipendenze aggiornate",
|
|
79
|
-
"es": "cambios solicitados por el adaptador\ndependencias actualizadas",
|
|
80
|
-
"pl": "zmiany wymagane przez sprawdzacz adaptera\nzaktualizowane zależności",
|
|
81
|
-
"uk": "зміни, які вимагаються перевіркою адаптера\nоновлені залежності",
|
|
82
|
-
"zh-cn": "适配器检查器要求的更改\n更新依赖关系"
|
|
83
|
-
},
|
|
84
|
-
"4.4.1": {
|
|
85
|
-
"en": "translations",
|
|
86
|
-
"de": "übersetzungen",
|
|
87
|
-
"ru": "перевод",
|
|
88
|
-
"pt": "traduções",
|
|
89
|
-
"nl": "vertalingen",
|
|
90
|
-
"fr": "traductions",
|
|
91
|
-
"it": "traduzioni",
|
|
92
|
-
"es": "traducciones",
|
|
93
|
-
"pl": "tłumaczenia",
|
|
94
|
-
"uk": "переклади",
|
|
95
|
-
"zh-cn": "翻译"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
],
|
|
148
148
|
"globalDependencies": [
|
|
149
149
|
{
|
|
150
|
-
"admin": ">=7.6.
|
|
150
|
+
"admin": ">=7.6.20"
|
|
151
151
|
}
|
|
152
152
|
],
|
|
153
153
|
"plugins": {
|
package/main.js
CHANGED
|
@@ -19,9 +19,9 @@ const utils = require("@iobroker/adapter-core");
|
|
|
19
19
|
//const { json } = require("stream/consumers");
|
|
20
20
|
const SunCalc = require("suncalc2");
|
|
21
21
|
const axios = require("axios");
|
|
22
|
-
const { promisify } = require('util');
|
|
23
|
-
const exec = promisify(require('child_process').exec)
|
|
24
|
-
const os = require('os');
|
|
22
|
+
const { promisify } = require('node:util');
|
|
23
|
+
const exec = promisify(require('node:child_process').exec)
|
|
24
|
+
const os = require('node:os');
|
|
25
25
|
|
|
26
26
|
//const bluetooth_test = require("./lib/SMA_Bluetooth").test;
|
|
27
27
|
|
|
@@ -447,7 +447,7 @@ async function DB_Connect() {
|
|
|
447
447
|
} else {
|
|
448
448
|
adapter.log.info("start with sqlite");
|
|
449
449
|
|
|
450
|
-
const path = require("path");
|
|
450
|
+
const path = require("node:path");
|
|
451
451
|
|
|
452
452
|
const file_path = adapter.config.sqlite_path;
|
|
453
453
|
const dbPath = path.resolve(__dirname, file_path.trim());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sbfspot",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "sbfspot (SMA inverter) Adapter",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "René G.",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
],
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/rg-engineering/ioBroker.sbfspot"
|
|
18
|
+
"url": "git+https://github.com/rg-engineering/ioBroker.sbfspot.git"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 20"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@iobroker/adapter-core": "^3.3.2",
|
|
25
|
-
"axios": "^1.
|
|
26
|
-
"better-sqlite3": "^12.
|
|
27
|
-
"mysql2": "^3.
|
|
25
|
+
"axios": "^1.14.0",
|
|
26
|
+
"better-sqlite3": "^12.8.0",
|
|
27
|
+
"mysql2": "^3.20.0",
|
|
28
28
|
"suncalc2": "^1.8.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@alcalzone/release-script": "^5.
|
|
32
|
-
"@alcalzone/release-script-plugin-iobroker": "^
|
|
33
|
-
"@alcalzone/release-script-plugin-license": "^
|
|
34
|
-
"@alcalzone/release-script-plugin-manual-review": "^
|
|
31
|
+
"@alcalzone/release-script": "^5.1.1",
|
|
32
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.1.2",
|
|
33
|
+
"@alcalzone/release-script-plugin-license": "^5.1.1",
|
|
34
|
+
"@alcalzone/release-script-plugin-manual-review": "^5.1.1",
|
|
35
35
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
36
36
|
"@iobroker/eslint-config": "^2.2.0",
|
|
37
|
-
"@iobroker/testing": "^5.
|
|
37
|
+
"@iobroker/testing": "^5.2.2"
|
|
38
38
|
},
|
|
39
39
|
"main": "main.js",
|
|
40
40
|
"bugs": {
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"test:integration": "mocha test/integration --exit",
|
|
48
48
|
"lint": "eslint",
|
|
49
49
|
"translate": "translate-adapter",
|
|
50
|
-
"release": "release-script"
|
|
50
|
+
"release": "release-script",
|
|
51
|
+
"npm": "npm i"
|
|
51
52
|
},
|
|
52
53
|
"files": [
|
|
53
54
|
"admin/",
|