iobroker.sql 1.16.2 → 2.1.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 CHANGED
@@ -14,6 +14,39 @@ You can leave port 0 if default port is desired.
14
14
 
15
15
  **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
16
16
 
17
+ ## Settings
18
+
19
+ ## Connection Settings
20
+ - **DB Type**: Type of the SQL DB: MySQL, PostgreSQL, MS-SQL or SQLite3
21
+ - **Host**: IP address or host name with SQL Server
22
+ - **Port**: Port of SQL Server (leave blank if not sure)
23
+ - **Database name**: Database name. Default iobroker
24
+ - **User**: Username for SQL. Must exist in the DB.
25
+ - **Password**: Password for SQL.
26
+ - **Password confirm**: Just repeat password here.
27
+ - **Encrypt**: Some DBs support encryption.
28
+ - **Round real to**: Number of digits after the comma.
29
+ - **Allow parallel requests**: Allow simultaneous SQL requests to DB.
30
+ - **Do not create database**: Activate this option if database already created (e.g. by administrator) and the ioBroker-user does not have enough rights to create a DB.
31
+
32
+ ## Default Settings
33
+ - **Debounce Time** - Protection against unstable values to make sure that only stable values are logged when the value did not change in the defined amount of Milliseconds. ATTENTION: If values change more often then this setting effectively no value will be logged (because any value is unstable)
34
+ - **Blocktime** - Defines for how long after storing the last value no further value is stored. When the given time in Milliseconds is over then the next value that fulfills all other checks is logged.
35
+ - **Record changes only** - This function make sure that only changed values are logged if they fulfill other checks (see below). Same values will not be logged.
36
+ - **still record the same values (seconds)** - When using "Record changes only" you can set a time interval in seconds here after which also unchanged values will be re-logged into the DB. You can detect the values re-logged by the adapter with the "from" field.
37
+ - **Minimum difference from last value** - When using "Record changes only" you can define the required minimum difference between the new value and the last value. If this is not reached the value is not recorded.
38
+ - **ignore 0 or null values (==0)** - You can define if 0 or null values should be ignored.
39
+ - **ignore values below zero (<0)** - You can define if values below zero should be ignored.
40
+ - **Disable charting optimized logging of skipped values** - By default the adapter tries to record the values for optimized charting. This can mean that additional values (that e.g. not fulfilled all checks above) are logged automatically. If this is not wanted, you can disable this feature.
41
+ - **Alias-ID** - You can define an alias for the ID. This is useful if you have changed a device and want to have continuous data logging. Please consider switching to real alias States in teh future!
42
+ - **Storage retention** - How many values in the past will be stored on disk. Data are deleted when the time is reached as soon as new data should be stored for a datapoint.
43
+ - **Maximal number of stored in RAM values** - Define how many number of values will be hold in RAM before persisting them on disk. You can control how much I/O is done.
44
+ - **Enable enhanced debug logs for the datapoint** - If you want to see more detailed logs for this datapoint, you can enable this option. You still need to enable "debug" loglevel for these additional values to be visible! This helps in debugging issues or understanding why the adapter is logging a value (or not).
45
+
46
+ Most of these values can be pre-defined in the instance settings and are then pre-filled or used for the datapoint.
47
+
48
+ ## Database installation tips
49
+
17
50
  ### MS-SQL:
18
51
  Use ```localhost\instance``` for the host and check TCP/IP connections enabled.
19
52
  https://msdn.microsoft.com/en-us/library/bb909712(v=vs.90).aspx
@@ -48,7 +81,7 @@ You can install mysql on linux systems as following:
48
81
  ```
49
82
  apt-get install mysql-server mysql-client
50
83
 
51
- mysql -uroot -p
84
+ mysql -u root -p
52
85
 
53
86
  CREATE USER 'iobroker'@'%' IDENTIFIED BY 'iobroker';
54
87
  GRANT ALL PRIVILEGES ON * . * TO 'iobroker'@'%';
@@ -193,6 +226,98 @@ Structure:
193
226
 
194
227
  *Note:* MS-SQL uses BIT, and others use BOOLEAN. SQLite uses for ts INTEGER and all others BIGINT.
195
228
 
229
+ ## Access values from Javascript adapter
230
+ The sorted values can be accessed from Javascript adapter.
231
+
232
+ * Get 50 last stored events for all IDs
233
+ ```
234
+ sendTo('sql.0', 'getHistory', {
235
+ id: '*',
236
+ options: {
237
+ end: Date.now(),
238
+ count: 50,
239
+ aggregate: 'onchange',
240
+ addId: true
241
+ }
242
+ }, function (result) {
243
+ for (var i = 0; i < result.result.length; i++) {
244
+ console.log(result.result[i].id + ' ' + new Date(result.result[i].ts).toISOString());
245
+ }
246
+ });
247
+ ```
248
+
249
+ * Get stored values for "system.adapter.admin.0.memRss" in last hour
250
+ ```
251
+ var end = Date.now();
252
+ sendTo('sql.0', 'getHistory', {
253
+ id: 'system.adapter.admin.0.memRss',
254
+ options: {
255
+ start: end - 3600000,
256
+ end: end,
257
+ aggregate: 'onchange',
258
+ addId: true
259
+ }
260
+ }, function (result) {
261
+ for (var i = 0; i < result.result.length; i++) {
262
+ console.log(result.result[i].id + ' ' + new Date(result.result[i].ts).toISOString());
263
+ }
264
+ });
265
+ ```
266
+
267
+ Possible options:
268
+ - **start** - (optional) time in ms - *Date.now()*'
269
+ - **end** - (optional) time in ms - *Date.now()*', by default is (now + 5000 seconds)
270
+ - **step** - (optional) used in aggregate (max, min, average, total, ...) step in ms of intervals
271
+ - **count** - number of values if aggregate is 'onchange' or number of intervals if other aggregate method. Count will be ignored if step is set, else default is 500 if not set
272
+ - **from** - if *from* field should be included in answer
273
+ - **ack** - if *ack* field should be included in answer
274
+ - **q** - if *q* field should be included in answer
275
+ - **addId** - if *id* field should be included in answer
276
+ - **limit** - do not return more entries than limit
277
+ - **round** - round result to number of digits after decimal point
278
+ - **ignoreNull** - if null values should be included (false), replaced by last not null value (true) or replaced with 0 (0)
279
+ - **removeBorderValues** - By default additional border values are returned to optimize charting. Set this option to true if this is not wanted (e.g. for script data processing)
280
+ - **returnNewestEntries** - The returned data are always sorted by timestamp ascending. When using aggregate "none" and also providing "count" or "limit" this means that normally the oldest entries are returned (unless no start data is provided). Set this option to true to get the newest entries instead.
281
+ - **aggregate** - aggregate method (Default: 'average'):
282
+ - *minmax* - used special algorithm. Splice the whole time range in small intervals and find for every interval max, min, start and end values.
283
+ - *max* - Splice the whole time range in small intervals and find for every interval max value and use it for this interval (nulls will be ignored).
284
+ - *min* - Same as max, but take minimal value.
285
+ - *average* - Same as max, but take average value.
286
+ - *total* - Same as max, but calculate total value.
287
+ - *count* - Same as max, but calculate number of values (nulls will be calculated).
288
+ - *percentile* - Calculate n-th percentile (n is given in options.percentile or defaults to 50 if not provided).
289
+ - *quantile* - Calculate n quantile (n is given in options.quantile or defaults to 0.5 if not provided).
290
+ - *integral* - Calculate integral (additional parameters see below).
291
+ - *none* - No aggregation at all. Only raw values in given period.
292
+ - **percentile** - (optional) when using aggregate method "percentile" defines the percentile level (0..100)(defaults to 50)
293
+ - **quantile** - (optional) when using aggregate method "quantile" defines the quantile level (0..1)(defaults to 0.5)
294
+ - **integralUnit** - (optional) when using aggregate method "integral" defines the unit in seconds (defaults to 60s). e.g. to get integral in hours for Wh or such, set to 3600.
295
+ - **integralInterpolation** - (optional) when using aggregate method "integral" defines the interpolation method (defaults to "none").
296
+ - *linear* - linear interpolation
297
+ - *none* - no/stepwise interpolation
298
+
299
+ The first and last points will be calculated for aggregations, except aggregation "none".
300
+ If you manually request some aggregation you should ignore first and last values, because they are calculated from values outside of period.
301
+
302
+
303
+ ## Get counter
304
+ User can ask the value of some counter (type=number, counter=true) for specific period.
305
+
306
+ ```
307
+ var now = Date.now();
308
+ // get consumption value for last 30 days
309
+ sendTo('sql.0', 'getCounter', {
310
+ id: 'system.adapter.admin.0.memRss',
311
+ options: {
312
+ start: now - 3600000 * 24 * 30,
313
+ end: now,
314
+ }
315
+ }, result => {
316
+ console.log(`In last 30 days the consumption was ${result.result} kWh`);
317
+ });
318
+ ```
319
+ If the counter device will be replaced it will be calculated too.
320
+
196
321
  ## Custom queries
197
322
  The user can execute custom queries on tables from javascript adapter:
198
323
 
@@ -239,14 +364,44 @@ Example if your database is called 'iobroker':
239
364
  If you want to write other data into the InfluxDB/SQL you can use the build in system function **storeState**.
240
365
  This function can also be used to convert data from other History adapters like History or SQL.
241
366
 
242
- The given IDs are not checked against the ioBroker database and do not need to be set up there, but can only be accessed directly.
367
+ A successful response do not mean that the data are really written out to the disk. It just means that they were processed.
368
+
369
+ The given ids are not checked against the ioBroker database and do not need to be set up or enabled there. If own IDs are used without settings then the "rules" parameter is not supported and will result in an error. The default "Maximal number of stored in RAM values" is used for such IDs.
243
370
 
244
371
  The Message can have one of the following three formats:
245
- * one ID and one state object: `{id: 'adapter.0.device.counter', state: {val: 1, ts: 10239499}}`
246
- * one ID and array of state objects: `{id: 'adapter.0.device.counter', state: [{val: 1, ts: 10239499}, {val: 2, ts: 10239599}, {val: 3, ts: 10239699}]}`
247
- * array of multiple IDs with state objects `[{id: 'adapter.0.device.counter1', state: {val: 1, ts: 10239499}, {id: 'adapter.0.device.counter2', state: {val: 2, ts: 10239599}]`
372
+ * one ID and one state object
373
+
374
+ ```
375
+ sendTo('history.0', 'storeState', [
376
+ id: 'mbus.0.counter.xxx',
377
+ state: {ts: 1589458809352, val: 123, ack: false, from: 'system.adapter.whatever.0', ...}
378
+ ], result => console.log('added'));
379
+ ```
380
+
381
+ * one ID and array of state objects
382
+
383
+ ```
384
+ sendTo('history.0', 'storeState', {
385
+ id: 'mbus.0.counter.xxx',
386
+ state: [
387
+ {ts: 1589458809352, val: 123, ack: false, from: 'system.adapter.whatever.0', ...},
388
+ {ts: 1589458809353, val: 123, ack: false, from: 'system.adapter.whatever.0', ...}
389
+ ]
390
+ }, result => console.log('added'));
391
+ ```
248
392
 
249
- Additionally, you can add attribute `rules: true` to activate all rules, like `counter`, `changesOnly`, `de-bounce` and so on: `{id: 'adapter.0.device.counter', rules: true, state: [{val: 1, ts: 10239499}, {val: 2, ts: 10239599}, {val: 3, ts: 10239699}]}`
393
+ * array of multiple IDs with one state object each
394
+
395
+ ```
396
+ sendTo('history.0', 'storeState', [
397
+ {id: 'mbus.0.counter.xxx', state: {ts: 1589458809352, val: 123, ack: false, from: 'system.adapter.whatever.0', ...}},
398
+ {id: 'mbus.0.counter.yyy', state: {ts: 1589458809353, val: 123, ack: false, from: 'system.adapter.whatever.0', ...}}
399
+ ], result => console.log('added'));
400
+ ```
401
+
402
+ Additionally, you can add attribute `rules: true` in message to activate all rules, like `counter`, `changesOnly`, `de-bounce` and so on.
403
+
404
+ In case of errors an array with all single error messages is returned and also a successCount to see how many entries were stored successfully.
250
405
 
251
406
  ## delete state
252
407
  If you want to delete entry from the Database you can use the build in system function **delete**:
@@ -294,42 +449,6 @@ sendTo('sql.0', 'update', [
294
449
 
295
450
  Be careful with `counters`. The `counters` in DB will not be reset, and you must handle it yourself.
296
451
 
297
- ## Get history
298
- Additional to custom queries, you can use build in system function **getHistory**:
299
- ```
300
- var end = Date.now();
301
- sendTo('sql.0', 'getHistory', {
302
- id: 'system.adapter.admin.0.memRss',
303
- options: {
304
- start: end - 3600000,
305
- end: end,
306
- aggregate: 'minmax' // or 'none' to get raw values
307
- }
308
- }, function (result) {
309
- for (var i = 0; i < result.result.length; i++) {
310
- console.log(result.result[i].id + ' ' + new Date(result.result[i].ts).toISOString());
311
- }
312
- });
313
- ```
314
-
315
- ## Get counter
316
- User can ask the value of some counter (type=number, counter=true) for specific period.
317
-
318
- ```
319
- var now = Date.now();
320
- // get consumption value for last 30 days
321
- sendTo('sql.0', 'getCounter', {
322
- id: 'system.adapter.admin.0.memRss',
323
- options: {
324
- start: now - 3600000 * 24 * 30,
325
- end: now,
326
- }
327
- }, result => {
328
- console.log(`In last 30 days the consumption was ${result.result} kWh`);
329
- });
330
- ```
331
- If the counter device will be replaced it will be calculated too.
332
-
333
452
  ## History Logging Management via Javascript
334
453
  The adapter supports enabling and disabling of history logging via JavaScript and also retrieving the list of enabled data points with their settings.
335
454
 
@@ -395,31 +514,53 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) {
395
514
  });
396
515
  ```
397
516
 
398
- ## Connection Settings
399
- - **DB Type**: Type of the SQL DB: MySQL, PostgreSQL, MS-SQL or SQLite3
400
- - **Host**: IP address or host name with SQL Server
401
- - **Port**: Port of SQL Server (leave blank if not sure)
402
- - **Database name**: Database name. Default iobroker
403
- - **User**: Username for SQL. Must exist in the DB.
404
- - **Password**: Password for SQL.
405
- - **Password confirm**: Just repeat password here.
406
- - **Encrypt**: Some DBs support encryption.
407
- - **Round real to**: Number of digits after the comma.
408
- - **Allow parallel requests**: Allow simultaneous SQL requests to DB.
409
- - **Do not create database**: Activate this option if database already created (e.g. by administrator) and the ioBroker-user does not have enough rights to create a DB.
410
-
411
- ## Default Settings
412
- - **De-bounce interval**: Do not store values oftener than this interval.
413
- - **Log unchanged values any**: Write additionally the values every X seconds.
414
- - **Minimum difference from last value to log**: The minimum interval between two values.
415
- - **Storage retention**: How long the values will be stored in the DB.
416
-
417
517
  <!--
418
518
  Placeholder for the next version (at the beginning of the line):
419
519
  ### __WORK IN PROGRESS__
420
520
  -->
421
521
 
422
522
  ## Changelog
523
+ ### 2.1.1 (2022-05-30)
524
+ * (Apollon77) Fix crash cases reported by Sentry
525
+
526
+ ### 2.1.0 (2022-05-27)
527
+ * (Apollon77) Fix crash cases reported by Sentry
528
+ * (Apollon77) Fix several places where pooled connections might have not been returned to pool correctly and add logging for it
529
+ * (Apollon77) Work around an issue in used Pooling library that potentially gave out too many connections
530
+ * (Apollon77) Optimize retention check to better spread the first checks over time
531
+ * (Apollon77) Default to not use datapoint buffering as in 1.x when set to 0
532
+ * (Apollon77) Make sure disabling "Log changes only" also really do not log the changes anymore
533
+ * (Apollon77) Allow storeState and GetHistory also to be called for "unknown ids"
534
+ * (Apollon77) Adjust the fallback logic for type detection to use the type of the state value to log as last fallback
535
+ * (Apollon77) Fix storing booleans on MSSQL
536
+
537
+ ### 2.0.2 (2022-05-11)
538
+ * (Apollon77) BREAKING: Configuration is only working in the new Admin 5 UI!
539
+ * (Apollon77) Did bigger adjustments to the recording logic and added a lot of new Features. Please refer to Changelog and Forum post for details.
540
+
541
+ ### 2.0.0 (2022-05-11)
542
+ * (Apollon77) Breaking: Configuration is only working in the new Admin 5 UI!
543
+ * (Apollon77) Breaking! Did bigger adjustments to the recording logic. Debounce is refined and blockTime is added to differentiate between the two checks
544
+ * (Apollon77) Breaking! GetHistory requests now need to deliver the ts in milliseconds! Make sure to use up to date scripts and Charting UIs
545
+ * (Apollon77) Add RAM buffering and mass inserts for logging
546
+ * (Apollon77) New setting added to disable the "logging of additional values for charting optimization" - then only the expected data are logged
547
+ * (Apollon77) Add flag returnNewestEntries for GetHistory to determine which records to return when more entries as "count" are existing for aggregate "none"
548
+ * (Apollon77) Add support for addId getHistory flag for GetHistory
549
+ * (Apollon77) Add new Debug flag to enable/disable debug logging on datapoint level (default is false) to optimize performance
550
+ * (Apollon77) Add aggregate method "percentile" to calculate the percentile (0..100) of the values (requires options.percentile with the percentile level, defaults to 50 if not provided). Basically same as Quantile just different levels are used
551
+ * (Apollon77) Add aggregate method "quantile" to calculate the quantile (0..1) of the values (requires options.quantile with the quantile level, defaults to 0.5 if not provided). Basically same as Percentile just different levels are used
552
+ * (Apollon77) Add (experimental) method "integral" to calculate the integral of the values. Requires options.integralUnit with the time duration of the integral in seconds, defaults to 60s if not provided. Optionally a linear interpolation can be done by setting options.integralInterpolation to "linear"
553
+ * (Apollon77) When request contains flag removeBorderValues: true, the result then cut the additional pre and post border values out of the results
554
+ * (Apollon77) Enhance the former "Ignore below 0" feature and now allow specifying to ignore below or above specified values. The old setting is converted to the new one
555
+ * (Apollon77) Upgrade MSSQL and MySQL drivers incl. Support for MySQL 8
556
+ * (Apollon77) Make sure that min change delta allows numbers entered with comma (german notation) in all cases
557
+ * (Apollon77) Add support to specify how to round numbers on query per datapoint
558
+ * (Apollon77) Do not log passwords for Postgres connections
559
+ * (Apollon77) Optimize SSL support for database connections including option to allow self signed certificates
560
+ * (Apollon77) Allow to specify custom retention duration in days
561
+ * (winnyschuster) Fix Insert statement for MSSQL ts_counter
562
+ * (winnyschuster) type of ts in user queries corrected
563
+
423
564
  ### 1.16.2 (2022-02-16)
424
565
  * (bluefox) Marked interpolated data with `i=true`
425
566
 
@@ -428,7 +569,7 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) {
428
569
  * (Apollon77) Allow all number values for debounce again
429
570
 
430
571
  ### 1.16.0 (2021-12-14)
431
- * (bluefox) Support only `js.controller` >= 3.3.x
572
+ * (bluefox) Support only `js-controller` >= 3.3.x
432
573
  * (bluefox) Used system/custom view for collecting the objects
433
574
  * (bluefox) Implemented option to ignore zero- or/and below zero- values
434
575
 
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "0 = disable": "0 = Deaktivieren",
3
3
  "0 = disable delta check": "0 = Abweichungsprüfung deaktivieren",
4
+ "0 = disabled": "0 = deaktiviert",
4
5
  "1 day": "1 Tag",
5
6
  "1 months": "1 Monat",
6
7
  "1 week": "1 Woche",
@@ -11,37 +12,62 @@
11
12
  "3 months": "3 Monate",
12
13
  "5 days": "5 Tage",
13
14
  "6 months": "6 Monate",
15
+ "Alias Info": "Wenn Alias-ID gesetzt ist, werden die Daten als diese ID in Datendateien protokolliert",
14
16
  "Allow parallel requests": "Gleichzeitige Anfragen erlauben",
15
17
  "Are you sure? All data will be dropped.": "Sollen wirklich alle Daten gelöscht werden? ",
18
+ "Automatic": "Automatisch",
19
+ "Block time": "Blockzeit",
20
+ "Boolean": "Boolean",
21
+ "Counter": "Zähler",
22
+ "Custom retention duration (days)": "Benutzerdefinierte Aufbewahrungsdauer (Tage)",
23
+ "Custom timeframe": "Benutzerdefinierter Zeitrahmen",
16
24
  "DB Name": "Datenbankname",
17
25
  "DB Type": "DB Typ",
18
26
  "DB settings": "DB Einstellungen",
27
+ "De-bounce interval(ms)": "Protokolliert den Wert nur, wenn er für X ms unverändert bleibt",
28
+ "De-bounce time": "Entprellzeit",
19
29
  "Default settings": "Standardeinstellungen",
30
+ "Disable charting optimized logging of skipped values": "Optimierte Protokollierung übersprungener Werte für Diagramme deaktivieren",
20
31
  "Do not create database (already created)": "Datenbank nicht erstellen (bereits erstellt)",
21
- "Encrypt": "Verschlüsseln",
32
+ "Enable enhanced debug logs for the datapoint": "Erweiterte Debug-Protokolle für den Datenpunkt aktivieren",
33
+ "Encrypt": "Datenbankverbindung verschlüsseln",
34
+ "Enter a number or leave the field empty": "Eine Zahl angeben oder das Feld leer lassen, um die aufgezeichneten Werte nicht einzuschränken",
22
35
  "File for sqlite": "Datei für sqlite",
23
36
  "History adapter settings": "History-Adapter Einstellungen",
24
37
  "Host": "Server",
25
38
  "Input path with the file name.": "Z.B. /opt/sqlite/data.db",
26
39
  "Maximum concurrent connections": "Max. gleichzeitige Verbindungen",
27
40
  "Maximum concurrent connections:": "Maximale Anzahl parallele Verbindungen:",
41
+ "Number": "Zahl",
42
+ "Number of days to keep the data.": "Anzahl der Tage, um die Daten aufzubewahren.",
28
43
  "Ok": "Ok",
29
44
  "Password": "Passwort",
30
45
  "Password confirm": "Passwort-Wiederholung",
31
46
  "Password confirmation is not equal with password!": "Passwort-Bestätigung stimmt nicht mit dem Passwort überein!",
32
47
  "Port": "Port",
48
+ "Reject on SSL errors": "Ablehnen bei SSL-Fehlern",
33
49
  "Reset DB": "Alle Daten in Datenbank löschen",
34
- "Round real to": "Aufrunden auf",
50
+ "Round real to": "Runden Sie bei der Abfrage die Zahlen auf",
35
51
  "SQL history adapter settings": "SQL History Adapter Einstellungen",
36
52
  "Start or enable adapter first": "Adapter muss zuerst aktiviert werden",
53
+ "Storage retention": "Storage Vorhaltezeit",
54
+ "Store as": "Speichern als",
55
+ "String": "Zeichenfolge",
37
56
  "Test connection": "Verbindung testen",
38
57
  "User": "Benutzer",
39
58
  "Write NULL values on start/stop boundaries": "Schreibe NULL-Werte an Start-/Stop-Grenzen",
40
- "debounce": "Entprellzeit(ms)",
59
+ "aliasId": "Alias-ID",
60
+ "blockTime": "Alle neuen Werte für X ms nach dem letzten protokollierten Wert ignorieren",
61
+ "debounce": "Änderungen ignorieren, bis der Wert für X Millisekunden unverändert bleibt",
62
+ "ignore values above x": "Ignoriere Werte größer als",
63
+ "ignore values below x": "Ignoriere Werte kleiner als",
64
+ "ignore values below zero": "Werte unter 0 ignorieren (<0)",
65
+ "ignore zero or null values": "Ignoriere 0 oder Nullwerte (==0)",
41
66
  "keep forever": "keine automatische Löschung",
42
- "log changes interval(s)": "Gleiche Werte aufzeichnen(s)",
43
- "log changes minimal delta": "Minimale Abweichung vom letzten Wert für Aufzeichnung",
67
+ "log changes interval(s)": "trotzdem gleiche Werte aufzeichnen (Sekunden)",
68
+ "log changes minimal delta": "Minimale Differenz zum letzten Wert",
69
+ "log changes only": "Nur Änderungen aufzeichnen",
44
70
  "note": "History Einstellungen müssen für jeden State einzeln gemacht werden, im Tab \"States\" und nur wenn die Adapter Instanz aktiv ist",
45
- "requestInterval": "Intervall zwischen DB Anfragen(ms)",
71
+ "requestInterval": "Wartezeit zwischen DB Anfragen(ms)",
46
72
  "retention": "Storage Vorhaltezeit"
47
73
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "0 = disable": "0 = disable",
3
3
  "0 = disable delta check": "0 = disable delta check",
4
+ "0 = disabled": "0 = disabled",
4
5
  "1 day": "1 day",
5
6
  "1 months": "1 months",
6
7
  "1 week": "1 week",
@@ -11,36 +12,61 @@
11
12
  "3 months": "3 months",
12
13
  "5 days": "5 days",
13
14
  "6 months": "6 months",
15
+ "Alias Info": "if Alias-ID is set, the data will be logged as this ID in database",
14
16
  "Allow parallel requests": "Allow parallel requests",
15
17
  "Are you sure? All data will be dropped.": "All data will be dropped. Are you sure? ",
18
+ "Automatic": "Automatic",
19
+ "Block time": "Blocktime",
20
+ "Boolean": "Boolean",
21
+ "Counter": "Counter",
22
+ "Custom retention duration (days)": "Custom retention duration (days)",
23
+ "Custom timeframe": "Custom timeframe",
16
24
  "DB Name": "Database name",
17
25
  "DB Type": "DB Type",
18
26
  "DB settings": "DB settings",
27
+ "De-bounce interval(ms)": "Only logs the value if it stays unchanged for X ms",
28
+ "De-bounce time": "Debounce Time",
19
29
  "Default settings": "Default settings",
30
+ "Disable charting optimized logging of skipped values": "Disable charting optimized logging of skipped values",
20
31
  "Do not create database (already created)": "Do not create database (already created)",
21
- "Encrypt": "Encrypt",
32
+ "Enable enhanced debug logs for the datapoint": "Enable enhanced debug logs for the datapoint",
33
+ "Encrypt": "Encrypt Database connection",
34
+ "Enter a number or leave the field empty": "Enter a number or leave the field empty to not limit the recorded values",
22
35
  "File for sqlite": "File for sqlite",
23
36
  "History adapter settings": "History adapter settings",
24
37
  "Host": "Host",
25
38
  "Input path with the file name.": "E.g. /opt/sqlite/data.db",
26
39
  "Maximum concurrent connections": "Maximum concurrent connections",
27
40
  "Maximum concurrent connections:": "Maximum concurrent connections:",
41
+ "Number": "Number",
42
+ "Number of days to keep the data.": "Number of days to keep the data.",
28
43
  "Ok": "Ok",
29
44
  "Password": "Password",
30
45
  "Password confirm": "Password confirm",
31
46
  "Password confirmation is not equal with password!": "Password confirmation is not equal with password!",
32
47
  "Port": "Port",
48
+ "Reject on SSL errors": "Reject on SSL errors",
33
49
  "Reset DB": "Reset DB",
34
- "Round real to": "Round real to",
50
+ "Round real to": "On query round numbers to",
35
51
  "SQL history adapter settings": "SQL history adapter settings",
36
52
  "Start or enable adapter first": "Start or enable adapter first",
53
+ "Storage retention": "Storage retention",
54
+ "Store as": "Store as",
55
+ "String": "String",
37
56
  "Test connection": "Test connection",
38
57
  "User": "User",
39
58
  "Write NULL values on start/stop boundaries": "Write NULL values on start/stop boundaries",
40
- "debounce": "De-bounce interval(ms)",
59
+ "aliasId": "Alias-ID",
60
+ "blockTime": "Ignore all new values for X ms after last logged value",
61
+ "debounce": "Ignore changes till value stays unchanged for X Milliseconds",
62
+ "ignore values above x": "Ignore values above",
63
+ "ignore values below x": "Ignore values below",
64
+ "ignore values below zero": "ignore values below zero (<0)",
65
+ "ignore zero or null values": "ignore 0 or null values (==0)",
41
66
  "keep forever": "keep forever",
42
- "log changes interval(s)": "Log unchanged values any(s)",
43
- "log changes minimal delta": "Minimum difference from last value to log",
67
+ "log changes interval(s)": "Record the same values (seconds)",
68
+ "log changes minimal delta": "Minimum difference from last value",
69
+ "log changes only": "Record changes only",
44
70
  "note": "History settings must be done for every state individually on the tab \"States\" and only if adapter is active",
45
71
  "requestInterval": "Pause between requests(ms)",
46
72
  "retention": "Storage retention"
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "0 = disable": "0 = desactivar",
3
3
  "0 = disable delta check": "0 = deshabilitar la verificación delta",
4
+ "0 = disabled": "0 = deshabilitar",
4
5
  "1 day": "1 día",
5
6
  "1 months": "1 mes",
6
7
  "1 week": "1 semana",
@@ -11,37 +12,62 @@
11
12
  "3 months": "3 meses",
12
13
  "5 days": "5 dias",
13
14
  "6 months": "6 meses",
15
+ "Alias Info": "si se establece Alias-ID, los datos se registrarán como este ID en la base de datos",
14
16
  "Allow parallel requests": "Permitir solicitudes paralelas",
15
17
  "Are you sure? All data will be dropped.": "¿Estás seguro? Todos los datos serán eliminados.",
18
+ "Automatic": "Automatycznyy",
19
+ "Block time": "hora de bloque",
20
+ "Boolean": "Booleano",
21
+ "Counter": "Mostrador",
22
+ "Custom retention duration (days)": "Duración de la retención personalizada (días)",
23
+ "Custom timeframe": "Marco de tiempo personalizado",
16
24
  "DB Name": "Nombre de la base de datos",
17
25
  "DB Type": "Tipo de DB",
18
26
  "DB settings": "Configuración de DB",
27
+ "De-bounce interval(ms)": "Ignorar cambios hasta que el valor permanezca sin cambios durante X ms",
28
+ "De-bounce time": "Tiempo de rebote",
19
29
  "Default settings": "Configuración por defecto",
30
+ "Disable charting optimized logging of skipped values": "Deshabilitar el registro optimizado de gráficos de valores omitidos",
20
31
  "Do not create database (already created)": "No crear base de datos (ya creada)",
21
- "Encrypt": "Encriptar",
32
+ "Enable enhanced debug logs for the datapoint": "Habilitar registros de depuración mejorados para el punto de datos",
33
+ "Encrypt": "Cifrar la conexión de la base de datos",
34
+ "Enter a number or leave the field empty": "Introduzca un número o deje el campo vacío para no limitar los valores registrados",
22
35
  "File for sqlite": "Archivo para sqlite",
23
36
  "History adapter settings": "Configuración del adaptador de historial",
24
37
  "Host": "Anfitrión",
25
38
  "Input path with the file name.": "P.ej. /opt/sqlite/data.db",
26
39
  "Maximum concurrent connections": "Máximas conexiones concurrentes",
27
- "Maximum concurrent connections:": "",
40
+ "Maximum concurrent connections:": "Máximo de conexiones simultáneas:",
41
+ "Number": "Numer",
42
+ "Number of days to keep the data.": "Número de días para conservar los datos.",
28
43
  "Ok": "De acuerdo",
29
44
  "Password": "Contraseña",
30
45
  "Password confirm": "Contraseña confirmada",
31
46
  "Password confirmation is not equal with password!": "La confirmación de la contraseña no es igual a la contraseña!",
32
47
  "Port": "Puerto",
48
+ "Reject on SSL errors": "Rechazar en errores de SSL",
33
49
  "Reset DB": "Restablecer DB",
34
- "Round real to": "Redondo real para",
50
+ "Round real to": "En consulta números redondos a",
35
51
  "SQL history adapter settings": "Configuración del adaptador de historial SQL",
36
52
  "Start or enable adapter first": "Comience o habilite el adaptador primero",
53
+ "Storage retention": "Retención de almacenamiento",
54
+ "Store as": "Przechowuj jako",
55
+ "String": "Strunowy",
37
56
  "Test connection": "Conexión de prueba",
38
57
  "User": "Usuario",
39
58
  "Write NULL values on start/stop boundaries": "Escribe valores NULL en los límites de inicio / finalización",
59
+ "aliasId": "Alias-ID",
60
+ "blockTime": "Ignorar todos los valores nuevos para X ms después del último valor registrado",
40
61
  "debounce": "Intervalo de rebote (ms)",
62
+ "ignore values above x": "Ignorar los valores anteriores",
63
+ "ignore values below x": "Ignorar valores a continuación",
64
+ "ignore values below zero": "ignorar valores por debajo de cero (<0)",
65
+ "ignore zero or null values": "ignorar valores cero o nulos (== 0)",
41
66
  "keep forever": "mantener para siempre",
42
- "log changes interval(s)": "Registre los valores sin modificar cualquier (s)",
43
- "log changes minimal delta": "Diferencia mínima desde el último valor para registrar",
67
+ "log changes interval(s)": "sigue registrando los mismos valores (segundos)",
68
+ "log changes minimal delta": "Diferencia mínima desde el último valor",
69
+ "log changes only": "Registrar solo cambios",
44
70
  "note": "La configuración del historial se debe realizar para cada estado individualmente en la pestaña \"Estados\" y solo si el adaptador está activo",
45
71
  "requestInterval": "Pausa entre solicitudes (ms)",
46
72
  "retention": "Retención de almacenamiento"
47
- }
73
+ }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "0 = disable": "0 = désactiver",
3
3
  "0 = disable delta check": "0 = désactiver le contrôle delta",
4
+ "0 = disabled": "0 = désactiver",
4
5
  "1 day": "Un jour",
5
6
  "1 months": "1 mois",
6
7
  "1 week": "1 semaine",
@@ -11,37 +12,62 @@
11
12
  "3 months": "3 mois",
12
13
  "5 days": "5 jours",
13
14
  "6 months": "6 mois",
15
+ "Alias Info": "si Alias-ID est défini, les données seront enregistrées sous cet ID dans la base de données",
14
16
  "Allow parallel requests": "Autoriser les demandes parallèles",
15
17
  "Are you sure? All data will be dropped.": "Êtes-vous sûr? Toutes les données seront supprimées.",
18
+ "Automatic": "Automatique",
19
+ "Block time": "Temps de blocage",
20
+ "Boolean": "Booléen",
21
+ "Counter": "Compteur",
22
+ "Custom retention duration (days)": "Durée de conservation personnalisée (jours)",
23
+ "Custom timeframe": "Délai personnalisé",
16
24
  "DB Name": "Nom de la base de données",
17
25
  "DB Type": "Type de DB",
18
26
  "DB settings": "Paramètres DB",
27
+ "De-bounce interval(ms)": "Ignorer les modifications jusqu'à ce que la valeur reste inchangée pour X ms",
28
+ "De-bounce time": "Debounce Time",
19
29
  "Default settings": "Paramètres par défaut",
30
+ "Disable charting optimized logging of skipped values": "Désactiver la journalisation optimisée des graphiques des valeurs ignorées",
20
31
  "Do not create database (already created)": "Ne pas créer de base de données (déjà créée)",
21
- "Encrypt": "Crypter",
32
+ "Enable enhanced debug logs for the datapoint": "Activer les journaux de débogage améliorés pour le point de données",
33
+ "Encrypt": "Crypter la connexion à la base de données",
34
+ "Enter a number or leave the field empty": "Entrez un nombre ou laissez le champ vide pour ne pas limiter les valeurs enregistrées",
22
35
  "File for sqlite": "Fichier pour sqlite",
23
36
  "History adapter settings": "Paramètres de l'adaptateur d'historique",
24
37
  "Host": "Hôte",
25
38
  "Input path with the file name.": "Par exemple. /opt/sqlite/data.db",
26
39
  "Maximum concurrent connections": "Nombre maximal de connexions simultanées",
27
- "Maximum concurrent connections:": "",
40
+ "Maximum concurrent connections:": "Connexions simultanées maximales :",
41
+ "Number": "Nombre",
42
+ "Number of days to keep the data.": "Nombre de jours de conservation des données.",
28
43
  "Ok": "D'accord",
29
44
  "Password": "Mot de passe",
30
45
  "Password confirm": "Confirmer le mot de passe",
31
46
  "Password confirmation is not equal with password!": "La confirmation du mot de passe n'est pas égale au mot de passe!",
32
47
  "Port": "Port",
48
+ "Reject on SSL errors": "Rejeter sur les erreurs SSL",
33
49
  "Reset DB": "Reset DB",
34
- "Round real to": "Rond réel à",
50
+ "Round real to": "Sur requête arrondir les nombres à",
35
51
  "SQL history adapter settings": "Paramètres de l'adaptateur d'historique SQL",
36
52
  "Start or enable adapter first": "Démarrer ou activer l'adaptateur en premier",
53
+ "Storage retention": "Conservation du stockage",
54
+ "Store as": "Magasin comme",
55
+ "String": "Chaîne",
37
56
  "Test connection": "Test de connexion",
38
57
  "User": "Utilisateur",
39
58
  "Write NULL values on start/stop boundaries": "Écrire des valeurs NULL sur les limites de démarrage / arrêt",
59
+ "aliasId": "Alias-ID",
60
+ "blockTime": "Ignorer toutes les nouvelles valeurs pendant X ms après la dernière valeur enregistrée",
40
61
  "debounce": "Intervalle de rebond (ms)",
62
+ "ignore values above x": "Ignorer les valeurs ci-dessus",
63
+ "ignore values below x": "Ignorer les valeurs ci-dessous",
64
+ "ignore values below zero": "ignorer les valeurs inférieures à zéro (<0)",
65
+ "ignore zero or null values": "ignorer les valeurs nulles ou nulles (==0)",
41
66
  "keep forever": "garde pour toujours",
42
- "log changes interval(s)": "Consigner les valeurs inchangées any (s)",
43
- "log changes minimal delta": "Différence minimale de la dernière valeur à la notation",
67
+ "log changes interval(s)": "toujours enregistrer les mêmes valeurs (secondes)",
68
+ "log changes minimal delta": "Différence minimale par rapport à la dernière valeur",
69
+ "log changes only": "Enregistrer les modifications uniquement",
44
70
  "note": "Les paramètres d'historique doivent être définis pour chaque état individuellement dans l'onglet \"Etats\" et uniquement si l'adaptateur est actif",
45
71
  "requestInterval": "Pause entre les demandes (ms)",
46
72
  "retention": "Rétention de stockage"
47
- }
73
+ }