iobroker.sbfspot 4.3.5 → 4.4.0
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/admin/jsonConfig.json +183 -0
- package/io-package.json +15 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -63,6 +63,9 @@ sometimes npm intall must be called more then one time to successfully install a
|
|
|
63
63
|
Placeholder for the next version (at the beginning of the line):
|
|
64
64
|
### **WORK IN PROGRESS**
|
|
65
65
|
-->
|
|
66
|
+
### 4.4.0 (2024-12-06)
|
|
67
|
+
* (René) migration to admin 5 UI (jsonConfig)
|
|
68
|
+
|
|
66
69
|
### 4.3.5 (2024-11-24)
|
|
67
70
|
* (René) see issue #417: test with nodejs@22
|
|
68
71
|
* (René) issue #435: install widgets again
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "tabs",
|
|
3
|
+
"i18n": true,
|
|
4
|
+
"items": {
|
|
5
|
+
"tab-main": {
|
|
6
|
+
"type": "panel",
|
|
7
|
+
"label": "Main settings",
|
|
8
|
+
"items": {
|
|
9
|
+
|
|
10
|
+
"icontest": {
|
|
11
|
+
"type": "staticImage",
|
|
12
|
+
"src": "sbfspot.png",
|
|
13
|
+
"newLine": true,
|
|
14
|
+
"xs": 7,
|
|
15
|
+
"sm": 3,
|
|
16
|
+
"md": 3,
|
|
17
|
+
"lg": 1.2,
|
|
18
|
+
"xl": 1.2
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
"dividerHdr1": {
|
|
22
|
+
"newLine": true,
|
|
23
|
+
"type": "header",
|
|
24
|
+
"text": "configuration",
|
|
25
|
+
"size": 2
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
"install_date": {
|
|
29
|
+
"type": "text",
|
|
30
|
+
"label": "install_date",
|
|
31
|
+
"help": "used to calculate statistics",
|
|
32
|
+
"xs": 12,
|
|
33
|
+
"sm": 12,
|
|
34
|
+
"md": 4,
|
|
35
|
+
"lg": 4,
|
|
36
|
+
"xl": 4
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
"databasetype": {
|
|
40
|
+
"newLine": true,
|
|
41
|
+
"type": "select",
|
|
42
|
+
"label": "type_of_DB",
|
|
43
|
+
"options": [
|
|
44
|
+
{
|
|
45
|
+
"label": { "en": "mySQL" },
|
|
46
|
+
"value": "mySQL"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": { "en": "MariaDB" },
|
|
50
|
+
"value": "MariaDB"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": { "en": "sqlite" },
|
|
54
|
+
"value": "sqlite"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"xs": 12,
|
|
58
|
+
"sm": 12,
|
|
59
|
+
"md": 4,
|
|
60
|
+
"lg": 4,
|
|
61
|
+
"xl": 4
|
|
62
|
+
},
|
|
63
|
+
"GetDataOnlyWhenDaylight": {
|
|
64
|
+
"newLine": true,
|
|
65
|
+
"type": "checkbox",
|
|
66
|
+
"label": "GetDataOnlyWhenDaylight",
|
|
67
|
+
"xs": 12,
|
|
68
|
+
"sm": 12,
|
|
69
|
+
"md": 4,
|
|
70
|
+
"lg": 4,
|
|
71
|
+
"xl": 4
|
|
72
|
+
},
|
|
73
|
+
"History4Vis2": {
|
|
74
|
+
"newLine": true,
|
|
75
|
+
"type": "checkbox",
|
|
76
|
+
"label": "History4Vis2",
|
|
77
|
+
"xs": 12,
|
|
78
|
+
"sm": 12,
|
|
79
|
+
"md": 4,
|
|
80
|
+
"lg": 4,
|
|
81
|
+
"xl": 4
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"tab-mysql": {
|
|
89
|
+
"type": "panel",
|
|
90
|
+
"label": "page-mysql",
|
|
91
|
+
"hidden": "if (data.databasetype == 'sqlite') return true;",
|
|
92
|
+
"items": {
|
|
93
|
+
|
|
94
|
+
"dividerHdr2": {
|
|
95
|
+
"newLine": true,
|
|
96
|
+
"type": "header",
|
|
97
|
+
"text": "mySQL, MariaDB configuration",
|
|
98
|
+
"size": 2
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
"sbfspotIP": {
|
|
103
|
+
"type": "text",
|
|
104
|
+
"label": "sbfspot_DB_IP",
|
|
105
|
+
"help": "",
|
|
106
|
+
"xs": 12,
|
|
107
|
+
"sm": 12,
|
|
108
|
+
"md": 4,
|
|
109
|
+
"lg": 4,
|
|
110
|
+
"xl": 4
|
|
111
|
+
},
|
|
112
|
+
"sbfspotPort": {
|
|
113
|
+
"newLine": true,
|
|
114
|
+
"type": "number",
|
|
115
|
+
"label": "sbfspot_DB_port",
|
|
116
|
+
"xs": 12,
|
|
117
|
+
"sm": 12,
|
|
118
|
+
"md": 4,
|
|
119
|
+
"lg": 4,
|
|
120
|
+
"xl": 4
|
|
121
|
+
},
|
|
122
|
+
"sbfspotUser": {
|
|
123
|
+
"newLine": true,
|
|
124
|
+
"type": "text",
|
|
125
|
+
"label": "sbfspot_DB_user",
|
|
126
|
+
"help": "",
|
|
127
|
+
"xs": 12,
|
|
128
|
+
"sm": 12,
|
|
129
|
+
"md": 4,
|
|
130
|
+
"lg": 4,
|
|
131
|
+
"xl": 4
|
|
132
|
+
},
|
|
133
|
+
"sbfspotPassword": {
|
|
134
|
+
"newLine": true,
|
|
135
|
+
"type": "password",
|
|
136
|
+
"label": "sbfspot_DB_password",
|
|
137
|
+
"help": "",
|
|
138
|
+
"xs": 12,
|
|
139
|
+
"sm": 12,
|
|
140
|
+
"md": 4,
|
|
141
|
+
"lg": 4,
|
|
142
|
+
"xl": 4
|
|
143
|
+
},
|
|
144
|
+
"sbfspotDatabasename": {
|
|
145
|
+
"newLine": true,
|
|
146
|
+
"type": "text",
|
|
147
|
+
"label": "sbfspot_DB_databasename",
|
|
148
|
+
"help": "",
|
|
149
|
+
"xs": 12,
|
|
150
|
+
"sm": 12,
|
|
151
|
+
"md": 4,
|
|
152
|
+
"lg": 4,
|
|
153
|
+
"xl": 4
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"tab-sqlite": {
|
|
158
|
+
"type": "panel",
|
|
159
|
+
"label": "page-sqlite",
|
|
160
|
+
"hidden": "if (data.databasetype != 'sqlite') return true;",
|
|
161
|
+
"items": {
|
|
162
|
+
"dividerHdr3": {
|
|
163
|
+
"newLine": true,
|
|
164
|
+
"type": "header",
|
|
165
|
+
"text": "sqlite configuration",
|
|
166
|
+
"size": 2
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
"sqlite_path": {
|
|
171
|
+
"type": "text",
|
|
172
|
+
"label": "path_to_DB_file",
|
|
173
|
+
"help": "",
|
|
174
|
+
"xs": 12,
|
|
175
|
+
"sm": 12,
|
|
176
|
+
"md": 4,
|
|
177
|
+
"lg": 4,
|
|
178
|
+
"xl": 4
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sbfspot",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"4.4.0": {
|
|
7
|
+
"en": "migration to admin 5 UI (jsonConfig)",
|
|
8
|
+
"de": "migration zu admin 5 UI (jsonConfig)",
|
|
9
|
+
"ru": "admin 5 UI (jsonConfig)",
|
|
10
|
+
"pt": "migração para administrador 5 UI (jsonConfig)",
|
|
11
|
+
"nl": "migratie naar admin 5 UI (jsonConfig)",
|
|
12
|
+
"fr": "migration vers admin 5 UI (jsonConfig)",
|
|
13
|
+
"it": "migrazione a admin 5 UI (jsonConfig)",
|
|
14
|
+
"es": "migración a admin 5 UI (jsonConfig)",
|
|
15
|
+
"pl": "migracja do admin 5 UI (jsonConfig)",
|
|
16
|
+
"uk": "міграція до адмін 5 UI (jsonConfig)",
|
|
17
|
+
"zh-cn": "迁移到管理员 5 UI (jsonConfig)"
|
|
18
|
+
},
|
|
6
19
|
"4.3.5": {
|
|
7
20
|
"en": "see issue #417: test with nodejs@22\nissue #435: install widgets again",
|
|
8
21
|
"de": "siehe ausgabe #417: test mit nodejs@22\nausgabe #435: widgets erneut installieren",
|
|
@@ -134,7 +147,7 @@
|
|
|
134
147
|
"connectionType": "local",
|
|
135
148
|
"dataSource": "push",
|
|
136
149
|
"adminUI": {
|
|
137
|
-
"config": "
|
|
150
|
+
"config": "json"
|
|
138
151
|
},
|
|
139
152
|
"messages": [
|
|
140
153
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sbfspot",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "sbfspot (SMA inverter) Adapter",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "René G.",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"node": ">= 18"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@iobroker/adapter-core": "^3.2.
|
|
25
|
-
"better-sqlite3": "^11.
|
|
26
|
-
"mysql2": "^3.11.
|
|
24
|
+
"@iobroker/adapter-core": "^3.2.3",
|
|
25
|
+
"better-sqlite3": "^11.6.0",
|
|
26
|
+
"mysql2": "^3.11.5",
|
|
27
27
|
"suncalc2": "^1.8.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@iobroker/adapter-dev": "^1.3.0",
|
|
35
35
|
"@iobroker/testing": "^5.0.0",
|
|
36
36
|
"chai": "^5.1.2",
|
|
37
|
-
"mocha": "^11.0.
|
|
37
|
+
"mocha": "^11.0.1"
|
|
38
38
|
},
|
|
39
39
|
"main": "main.js",
|
|
40
40
|
"bugs": {
|