iobroker.influxdb 2.3.0 → 2.6.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2021 bluefox <dogafox@gmail.com>, apollon77
3
+ Copyright (c) 2016-2022 bluefox <dogafox@gmail.com>, apollon77
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
@@ -36,10 +36,10 @@ When doing custom queries via the "query" message you can use Flux queries to se
36
36
  #### Store metadata information as tags instead of fields
37
37
  For Influx 1.x state value, as well as associated metadata fields (`q`, `ack` and `from`) are stored as fields within InfluxDB. When using Flux-commands to retrieve this data (instead of InfluxQL) the data is returned in separate tables, which makes it more difficult to view the data in a joined way when using external database clients or Influx CLI `query` command. This is by design, as Influx only supports one field per data-point.
38
38
 
39
- With Influx 2.x it is now also possible, to store this metadata-information besides the actual value of the state as Influx Tags. Tags are indexed and allow for faster search queries. In addition they are closely linked to the measurement stored within the db, meaning they will be returned in one table with the queried measurement which makes them much easier to handle, when used outside of this adapter. There are limitations with this however:
39
+ With Influx 2.x it is now also possible, to store this metadata-information besides the actual value of the state as Influx Tags. Tags are indexed and allow for faster search queries. In addition, they are closely linked to the measurement stored within the db, meaning they will be returned in one table with the queried measurement which makes them much easier to handle, when used outside this adapter. There are limitations with this however:
40
40
  - The use of tags for metadata needs to be enabled under `Advanced Settings`. It is disabled by default.
41
41
  - If you decide to use tags, you cannot continue to use old measurements that were gathered with Influx 1.x, as they are stored in fields.
42
- - Attempting to use an existing database that was setup without enabling the Tag-feature will cause the adapter to fail to initialize and you will see an error message about it in the log.
42
+ - Attempting to use an existing database that was set up without enabling the Tag-feature will cause the adapter to fail to initialize, and you will see an error message about it in the log.
43
43
  - This also is valid the other way: Once you start using the Tag-feature in a new database, you cannot switch back to using fields for this database.
44
44
  - This feature is currently only available, if you use Influx 2.x. And only if you use the new responsive GUI of Admin 5.
45
45
 
@@ -57,20 +57,20 @@ Please also read [Understanding Retention Policies](RetentionPolicies.md).
57
57
  ## Direct writes or buffered writes?
58
58
  With the default configuration the adapter stores each single datapoint directly into the database and only use the internal buffer if the database is not available. If the database was not available the buffer is flushed at the given interval, so it can take the defined interval till the missing points are written!
59
59
 
60
- By changing the configuration it is possible to cache new datapoints up to a defined count or a defined maximum interval after which all points are stored into the database. This also gives better performance and less system load compared to writing the datapoints directly.
61
- InfluxDB has a limitation of the maximum size for writes which is at around 2MB. It should be save to have up to 15.000 datapoints as buffer maximum, maybe also 20.000, but this highly depends on the length of your datapoint-IDs.
60
+ By changing the configuration it is possible to cache new data points up to a defined count or a defined maximum interval after which all points are stored into the database. This also gives better performance and less system load compared to writing the data points directly.
61
+ InfluxDB has a limitation of the maximum size for writes which is at around 2MB. It should be safe to have up to 15.000 data points as buffer maximum, maybe also 20.000, but this highly depends on the length of your datapoint-IDs.
62
62
 
63
- On exit of the adapter the buffer is storedon disk and reinitialized with next adapter start, so no datapoints should be lost and will be written after next start.
63
+ On exit of the adapter the buffer is stored on disk and reinitialized with next adapter start, so no data points should be lost and will be written after next start.
64
64
 
65
- ## InfluxDB and datatypes
66
- InfluxDB is very strict on datatypes. The datatype for a measurement value is defined with it's first write.
67
- The adapter tries to write with the correct value, but if the datatype changes for the same state then there may be write
68
- errors into the InfluxDB. The adapter detects this and will write these potential conflicting datapoints always directly, but write errors mean that the value is not written into the DB at all. So make sure to check the logs for such cases.
65
+ ## InfluxDB and data types
66
+ InfluxDB is very strict on data types. The datatype for a measurement value is defined with it's first write.
67
+ The adapter tries to write with the correct value, but if the datatype changes for the same state then there may be the write
68
+ errors in the InfluxDB. The adapter detects this and will write these potential conflicting data points always directly, but write errors mean that the value is not written into the DB at all. So make sure to check the logs for such cases.
69
69
 
70
- Additionally InfluxDB do not support "null" values, so these are not written at all into the DB.
70
+ Additionally, InfluxDB do not support "null" values, so these are not written at all into the DB.
71
71
 
72
72
  ## Installation of InfluxDB
73
- Please refer to the official InfluxDB pages for installationinstructions depending on your OS.
73
+ Please refer to the official InfluxDB pages for installation instructions depending on your OS.
74
74
 
75
75
  * InfluxDB 1.x: https://docs.influxdata.com/influxdb/v1.8/introduction/install/
76
76
  * InfluxDB 2.x: https://docs.influxdata.com/influxdb/v2.0/install/
@@ -78,7 +78,7 @@ Please refer to the official InfluxDB pages for installationinstructions dependi
78
78
  ### Setup authentication for InfluxDB 1.x (optional)
79
79
  **NOTE:** Influx DB V2.x relies on organization/token login, instead of username/password! This is only applicable for InfluxDB 1.x
80
80
 
81
- If you use DB localy you may leave authentication disabled and skip this part.
81
+ If you use DB locally you may leave authentication disabled and skip this part.
82
82
 
83
83
  - Start service: ``` service influxdb start ```
84
84
  - Go to admin page: http://<ip>:8083
@@ -107,7 +107,7 @@ Enable authentication, by editing /etc/influxdb/influxdb.conf:
107
107
  There is additional charting tool for InfluxDB - Grafana.
108
108
  It must be installed additionally.
109
109
 
110
- Install a current version of Grafana 3.x+ because InfluxDB support is enhanced there in comparism to earlier Grafana versions.
110
+ Install a current version of Grafana 3.x+ because InfluxDB support is enhanced there in comparison to earlier Grafana versions.
111
111
 
112
112
  Under debian you can install it as described at http://docs.grafana.org/installation/debian/ .
113
113
  For ARM platforms your can check vor v3.x at https://github.com/fg2it/grafana-on-raspberry.
@@ -183,7 +183,7 @@ sendTo('influxdb.0', 'query', 'from(bucket: "iobroker") |> range(start: -3h); fr
183
183
  **NOTE:** The values are coming back in the result array in filename "value" (instead of "val" as normal in ioBroker)
184
184
 
185
185
  ## Get history
186
- Additional to custom queries, you can use build in system function **getHistory** to access the stored history for datapoints:
186
+ Additional to custom queries, you can use build in system function **getHistory** to access the stored history for data points:
187
187
  ```
188
188
  var end = new Date().getTime();
189
189
  sendTo('influxdb.0', 'getHistory', {
@@ -207,6 +207,7 @@ Possible options:
207
207
  - **limit** - do not return more entries than limit (only used if aggregate is 'onchange'/'none')
208
208
  - **addId** - if *id* field should be included in answer
209
209
  - **aggregate** - aggregate method:
210
+ - *minmax* - Splice the whole time range in small intervals and find for every interval max value and min value and use them for this interval (nulls will be ignored).
210
211
  - *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).
211
212
  - *min* - Same as max, but take minimal value.
212
213
  - *average* - Same as max, but take average value.
@@ -217,9 +218,11 @@ Possible options:
217
218
  When raw data are selected without using 'step' the returned fields are ts, val, ack, q and from.
218
219
  As soon as step is used the returned fields are ts and val.
219
220
 
221
+ Interpolated values will be marked as `i=true`, like: `{i: true, val: 4.7384845, ts: 29892365723652}`.
222
+
220
223
  Please hold in mind that InfluxDB aggregates on "rounded time boundaries" (see https://docs.influxdata.com/influxdb/v0.11/troubleshooting/frequently_encountered_issues/#understanding-the-time-intervals-returned-from-group-by-time-queries)
221
224
 
222
- InfluxDB is very strict when it comes to datatypes. This has effects for aggregator functions, e.g.:
225
+ InfluxDB is very strict when it comes to data types. This has effects for aggregator functions, e.g.:
223
226
  * average (MEAN) can not be used for boolean values (true/false), only MIN or MAX works here
224
227
  * average (MEAN) can not be used for string values (text), no aggregator makes sense here at all
225
228
  * ...
@@ -235,11 +238,55 @@ The Message can have one of the following three formats:
235
238
  * one ID and array of state objects
236
239
  * array of multiple IDs with state objects
237
240
 
241
+ ## delete state
242
+ If you want to delete entry from the Database you can use the build in system function **delete**:
243
+
244
+ ```
245
+ sendTo('sql.0', 'delete', [
246
+ {id: 'mbus.0.counter.xxx', state: {ts: 1589458809352},
247
+ {id: 'mbus.0.counter.yyy', state: {ts: 1589458809353}
248
+ ], result => console.log('deleted'));
249
+ ```
250
+
251
+ To delete ALL history data for some data point execute:
252
+
253
+ ```
254
+ sendTo('sql.0', 'deleteAll', [
255
+ {id: 'mbus.0.counter.xxx'}
256
+ {id: 'mbus.0.counter.yyy'}
257
+ ], result => console.log('deleted'));
258
+ ```
259
+
260
+ To delete history data for some data point and for some range, execute:
261
+
262
+ ```
263
+ sendTo('sql.0', 'deleteRange', [
264
+ {id: 'mbus.0.counter.xxx', start: '2019-01-01T00:00:00.000Z', end: '2019-12-31T23:59:59.999'},
265
+ {id: 'mbus.0.counter.yyy', start: 1589458809352, end: 1589458809353}
266
+ ], result => console.log('deleted'));
267
+ ```
268
+
269
+ Time could be ms since epoch or ans string, that could be converted by javascript Date object.
270
+
271
+ Values will be deleted including defined limits. `ts >= start AND ts <= end`
272
+
273
+ ## change state
274
+ If you want to change entry's value, quality or acknowledge flag in the database you can use the build in system function **update**:
275
+
276
+ ```
277
+ sendTo('sql.0', 'update', [
278
+ {id: 'mbus.0.counter.xxx', state: {ts: 1589458809352, val: 15, ack: true, q: 0},
279
+ {id: 'mbus.0.counter.yyy', state: {ts: 1589458809353, val: 16, ack: true, q: 0}
280
+ ], result => console.log('deleted'));
281
+ ```
282
+
283
+ `ts` is mandatory. At least one other flags must be included in state object.
284
+
238
285
  ## History Logging Management via Javascript
239
- The adapter supports enabling and disabling of history logging via JavaScript and also retrieving the list of enabled datapoints with their settings.
286
+ The adapter supports enabling and disabling of history logging via JavaScript and also retrieving the list of enabled data points with their settings.
240
287
 
241
288
  ### enable
242
- The message requires to have the "id" of the datapoint.Additionally optional "options" to define the datapoint specific settings:
289
+ The message requires to have the "id" of the datapoint. Additionally, optional "options" to define the datapoint specific settings:
243
290
 
244
291
  ```
245
292
  sendTo('influxdb.0', 'enableHistory', {
@@ -257,7 +304,7 @@ sendTo('influxdb.0', 'enableHistory', {
257
304
  console.log(result.error);
258
305
  }
259
306
  if (result.success) {
260
- //successfull enabled
307
+ // successfully enabled
261
308
  }
262
309
  });
263
310
  ```
@@ -273,7 +320,7 @@ sendTo('influxdb.0', 'disableHistory', {
273
320
  console.log(result.error);
274
321
  }
275
322
  if (result.success) {
276
- //successfull enabled
323
+ // successfully enabled
277
324
  }
278
325
  });
279
326
  ```
@@ -304,7 +351,25 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
304
351
  Placeholder for the next version (at the beginning of the line):
305
352
  ### __WORK IN PROGRESS__
306
353
  -->
354
+
307
355
  ## Changelog
356
+ ### 2.6.0 (2022-02-24)
357
+ * (Excodibur) Make request timeout configurable - defaults to 30s
358
+ * (Apollon77) Add option to also accept self signed ssl certificates for InfluxDB 2.x
359
+
360
+ ### 2.5.2 (2022-02-22)
361
+ * (bluefox) Marked interpolated data with `i=true`
362
+
363
+ ### 2.5.0 (2022-02-14)
364
+ * (bluefox) Added new messages: 'update', 'delete', 'deleteRange', 'deleteAll' (only for influxdb v1)
365
+ * (bluefox) Corrected aggregation of data
366
+
367
+ ### 2.4.0 (2021-12-19)
368
+ * (Excodibur) Added expert settings to deactivate health checks for Influx 2 db (There are no health checks for Influx 1)
369
+ * (Excodibur) Hide settings not relevant when "log changes only" is not used
370
+ * (Apollon77) Allow all number values for debounce again
371
+ * (Apollon77) InfluxDB also do not like Infinite values, so ignore them too
372
+
308
373
  ### 2.3.0 (2021-12-14)
309
374
  * (bluefox) Support only `js.controller` >= 3.3.x
310
375
  * (bluefox) Used system/custom view for collecting the objects
@@ -347,7 +412,7 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
347
412
  * (bluefox) added command to read supported features
348
413
 
349
414
  ### 1.8.6 (2020-05-11)
350
- * (Apollon77) make sure disabling of datapoints while starting adapter do not crash adapter (Sentry IOBROKER-INFLUXDB-7)
415
+ * (Apollon77) make sure disabling of data points while starting adapter do not crash adapter (Sentry IOBROKER-INFLUXDB-7)
351
416
  * (Apollon77) Make sure all start values are processed correctly
352
417
  * (Apollon77) More checks to make sure to not crash when states are disabled while data are processed (Sentry IOBROKER-INFLUXDB-8)
353
418
 
@@ -355,7 +420,7 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
355
420
  * (bluefox) set default history if not yet set
356
421
 
357
422
  ### 1.8.4 (2020-05-02)
358
- * (Apollon77) make sure disabling of datapoints do not crash adapter (Sentry IOBROKER-INFLUXDB-4)
423
+ * (Apollon77) make sure disabling of data points do not crash adapter (Sentry IOBROKER-INFLUXDB-4)
359
424
 
360
425
  ### 1.8.3 (2020-04-29)
361
426
  * (Apollon77) Fix pot crash case when deleting objects while saving values (Sentry)
@@ -378,7 +443,7 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
378
443
  * (Apollon77) Small fix for older configurations
379
444
 
380
445
  ### 1.3.2
381
- * (Apollon77) Enhance Min-Delta logic for datapoints from type mixed
446
+ * (Apollon77) Enhance Min-Delta logic for data points from type mixed
382
447
 
383
448
  ### 1.3.1 (2017-01-16)
384
449
  * (bluefox) Fix handling of float values in Adapter config and Datapoint config.
@@ -460,7 +525,7 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
460
525
 
461
526
  The MIT License (MIT)
462
527
 
463
- Copyright (c) 2015-2021 bluefox, apollon77
528
+ Copyright (c) 2015-2022 bluefox, apollon77
464
529
 
465
530
  Permission is hereby granted, free of charge, to any person obtaining a copy
466
531
  of this software and associated documentation files (the "Software"), to deal
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "History-Adapter Einstellungen",
28
28
  "Host": "Server",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "Eine Verkürzung der Vorhaltezeit ist mit Vorsicht zu genießen: Vergangene Daten, die die Vorhaltezeit überschreiten, gehen verloren.",
30
+ "Milliseconds": "Millisekunden",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Organisation",
32
33
  "Password": "Passwort",
33
34
  "Password confirm": "Passwort-Wiederholung",
34
35
  "Please confirm!": "Bitte bestätigen!",
35
36
  "Port": "Port",
37
+ "Request timeout": "Request Timeout",
36
38
  "Reset DB": "Alle Daten in Datenbank löschen",
37
39
  "Round real to": "Aufrunden auf",
38
40
  "SQL history adapter settings": "SQL History Adapter Einstellungen",
39
41
  "Save last previous value": "Speichere vorherigen Wert",
40
42
  "Seconds": "Sekunden",
43
+ "Send health-check pings to database": "Pings zur Verfügbarkeitsprüfung an die Datenbank senden",
41
44
  "Start or enable adapter first": "Adapter muss zuerst aktiviert werden",
42
45
  "Test connection": "Verbindung testen",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Diese Funktion kann nur für Datenbanken verwendet werden, die leer sind oder bereits mit aktivierter Funktion eingerichtet wurden. Andernfalls kommt es zu Fehlern (siehe Protokolle).",
44
47
  "Token": "Token",
45
48
  "Use tags to store metadata information, instead of fields": "Verwende Tags, anstelle von Feldern, um Metadateninformationen zu speichern",
46
49
  "User": "Benutzer",
50
+ "Validate SSL certificate": "SSL-Zertifikat validieren",
47
51
  "debounce": "Änderungen ignorieren, bis der Wert für X Millisekunden unverändert bleibt",
52
+ "health-check help": "Regelmäßige Verfügbarkeits-Anfragen werden an den DB-Server gesendet, um zu überprüfen, ob er noch aktiv ist.",
48
53
  "keep forever": "keine automatische Löschung",
49
54
  "log changes interval(s)": "trotzdem gleiche Werte aufzeichnen (Sekunden)",
50
55
  "log changes minimal delta": "Minimale Differenz zum letzten Wert",
@@ -52,4 +57,4 @@
52
57
  "retention": "Storage Vorhaltezeit",
53
58
  "use 0 to not buffer at all": "Wert 0 schreibt Werte direkt",
54
59
  "usetags help": "Weitere Informationen finden Sie in der Dokumentation: https://github.com/ioBroker/ioBroker.influxdb/blob/master/README.md#Store-metadata-information-as-tags-instead-of-fields"
55
- }
60
+ }
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "History adapter settings",
28
28
  "Host": "Host",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.",
30
+ "Milliseconds": "Milliseconds",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Organization",
32
33
  "Password": "Password",
33
34
  "Password confirm": "Password confirm",
34
35
  "Please confirm!": "Please confirm!",
35
36
  "Port": "Port",
37
+ "Request timeout": "Request timeout",
36
38
  "Reset DB": "Reset DB",
37
39
  "Round real to": "Round real to",
38
40
  "SQL history adapter settings": "SQL history adapter settings",
39
41
  "Save last previous value": "Save last previous value",
40
42
  "Seconds": "Seconds",
43
+ "Send health-check pings to database": "Send health-check pings to database",
41
44
  "Start or enable adapter first": "Start or enable adapter first",
42
45
  "Test connection": "Test connection",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).",
44
47
  "Token": "Token",
45
48
  "Use tags to store metadata information, instead of fields": "Use tags to store metadata information, instead of fields",
46
49
  "User": "User",
50
+ "Validate SSL certificate": "Validate SSL certificate",
47
51
  "debounce": "Ignore changes till value stays unchanged for X Milliseconds",
52
+ "health-check help": "Regular health checks probes are sent to the DB server to check if it is still alive.",
48
53
  "keep forever": "keep forever",
49
54
  "log changes interval(s)": "still record the same values (seconds)",
50
55
  "log changes minimal delta": "Minimum difference from last value",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Configuración del adaptador de historial",
28
28
  "Host": "Anfitrión",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "Reducir el período de retención debe considerarse con precaución: los datos anteriores que excedan el período de retención se perderán.",
30
+ "Milliseconds": "milisegundos",
30
31
  "Ok": "De acuerdo",
31
32
  "Organization": "Organización",
32
33
  "Password": "Contraseña",
33
34
  "Password confirm": "Contraseña confirmada",
34
35
  "Please confirm!": "Por favor confirmar",
35
36
  "Port": "Puerto",
37
+ "Request timeout": "Pide tiempo fuera",
36
38
  "Reset DB": "Restablecer DB",
37
39
  "Round real to": "Redondo real a",
38
40
  "SQL history adapter settings": "Configuración del adaptador de historial SQL",
39
41
  "Save last previous value": "Guarde el último valor anterior",
40
42
  "Seconds": "Segundos",
43
+ "Send health-check pings to database": "Enviar pings de verificación de estado a la base de datos",
41
44
  "Start or enable adapter first": "Comience o habilite el adaptador primero",
42
45
  "Test connection": "Conexión de prueba",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Esta función solo se puede utilizar en bases de datos que estén vacías o que ya se hayan configurado con esta función habilitada. De lo contrario, provocará errores (consulte los registros).",
44
47
  "Token": "Simbólico",
45
48
  "Use tags to store metadata information, instead of fields": "Utilice etiquetas para almacenar información de metadatos, en lugar de campos",
46
49
  "User": "Usuario",
50
+ "Validate SSL certificate": "Validar certificado SSL",
47
51
  "debounce": "Ignorar cambios hasta que el valor permanezca sin cambios durante X milisegundos",
52
+ "health-check help": "Se envían sondas de verificación de estado regulares al servidor de base de datos para verificar si todavía está vivo.",
48
53
  "keep forever": "mantener para siempre",
49
54
  "log changes interval(s)": "sigue registrando los mismos valores (segundos)",
50
55
  "log changes minimal delta": "Diferencia mínima desde el último valor",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "History adapter settings",
28
28
  "Host": "Host",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "La réduction de la période de conservation doit être envisagée avec prudence : les données antérieures dépassant la période de conservation seront perdues.",
30
+ "Milliseconds": "Millisecondes",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Organisation",
32
33
  "Password": "Password",
33
34
  "Password confirm": "Password confirm",
34
35
  "Please confirm!": "Veuillez confirmer",
35
36
  "Port": "Port",
37
+ "Request timeout": "Délai d'expiration de la demande",
36
38
  "Reset DB": "Reset DB",
37
39
  "Round real to": "Round real to",
38
40
  "SQL history adapter settings": "SQL history adapter settings",
39
41
  "Save last previous value": "Save last previous value",
40
42
  "Seconds": "Seconds",
43
+ "Send health-check pings to database": "Envoyer des pings de vérification d'état à la base de données",
41
44
  "Start or enable adapter first": "Start or enable adapter first",
42
45
  "Test connection": "Test connection",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Cette fonctionnalité ne peut être utilisée que sur des bases de données vides ou déjà configurées avec cette fonctionnalité activée. Sinon, cela provoquera des erreurs (voir les journaux).",
44
47
  "Token": "Jeton",
45
48
  "Use tags to store metadata information, instead of fields": "Utilisez des balises pour stocker les informations de métadonnées, au lieu de champs",
46
49
  "User": "User",
50
+ "Validate SSL certificate": "Valider le certificat SSL",
47
51
  "debounce": "Ignorer les modifications jusqu'à ce que la valeur reste inchangée pour X millisecondes",
52
+ "health-check help": "Des vérifications de santé régulières sont envoyées au serveur de base de données pour vérifier s'il est toujours actif.",
48
53
  "keep forever": "keep forever",
49
54
  "log changes interval(s)": "toujours enregistrer les mêmes valeurs (secondes)",
50
55
  "log changes minimal delta": "Différence minimale par rapport à la dernière valeur",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Impostazioni della scheda Cronologia",
28
28
  "Host": "Ospite",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "La riduzione del periodo di conservazione deve essere considerata con cautela: i dati passati che superano il periodo di conservazione andranno persi.",
30
+ "Milliseconds": "Millisecondi",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Organizzazione",
32
33
  "Password": "Parola d'ordine",
33
34
  "Password confirm": "Conferma la password",
34
35
  "Please confirm!": "Si prega di confermare",
35
36
  "Port": "Porta",
37
+ "Request timeout": "Richiedi timeout",
36
38
  "Reset DB": "Ripristina DB",
37
39
  "Round real to": "Turno reale a",
38
40
  "SQL history adapter settings": "Impostazioni della scheda cronologia SQL",
39
41
  "Save last previous value": "Salva l'ultimo valore precedente",
40
42
  "Seconds": "secondi",
43
+ "Send health-check pings to database": "Invia ping di controllo dello stato al database",
41
44
  "Start or enable adapter first": "Inizia o abilita prima l'adattatore",
42
45
  "Test connection": "Connessione di prova",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Questa funzione può essere utilizzata solo su database vuoti o già configurati con questa funzione abilitata. Altrimenti causerà errori (vedi log).",
44
47
  "Token": "Gettone",
45
48
  "Use tags to store metadata information, instead of fields": "Usa i tag per memorizzare le informazioni sui metadati, invece dei campi",
46
49
  "User": "Utente",
50
+ "Validate SSL certificate": "Convalida il certificato SSL",
47
51
  "debounce": "Ignora le modifiche fino a quando il valore rimane invariato per X Milliseconds",
52
+ "health-check help": "Controlli di integrità regolari vengono inviati al server DB per verificare se è ancora attivo.",
48
53
  "keep forever": "tienilo per sempre",
49
54
  "log changes interval(s)": "registra ancora gli stessi valori (secondi)",
50
55
  "log changes minimal delta": "Differenza minima dall'ultimo valore",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Geschiedenis adapter instellingen",
28
28
  "Host": "gastheer",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "Het verlagen van de bewaarperiode moet met de nodige voorzichtigheid worden overwogen: gegevens uit het verleden die de bewaarperiode overschrijden, gaan verloren.",
30
+ "Milliseconds": "milliseconden",
30
31
  "Ok": "OK",
31
32
  "Organization": "Organisatie",
32
33
  "Password": "Wachtwoord",
33
34
  "Password confirm": "Wachtwoord bevestigen",
34
35
  "Please confirm!": "Bevestig alstublieft",
35
36
  "Port": "Haven",
37
+ "Request timeout": "Verzoek time-out",
36
38
  "Reset DB": "Stel DB opnieuw in",
37
39
  "Round real to": "Ronde echt naar",
38
40
  "SQL history adapter settings": "Instellingen voor SQL-geschiedenisadapter",
39
41
  "Save last previous value": "Sla de laatste vorige waarde op",
40
42
  "Seconds": "seconden",
43
+ "Send health-check pings to database": "Stuur gezondheidscheck pings naar database",
41
44
  "Start or enable adapter first": "Start of schakel eerst de adapter in",
42
45
  "Test connection": "Test verbinding",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Deze functie kan alleen worden gebruikt op databases die leeg zijn of al zijn ingesteld met deze functie ingeschakeld. Anders veroorzaakt het fouten (zie logs).",
44
47
  "Token": "Teken",
45
48
  "Use tags to store metadata information, instead of fields": "Gebruik tags om metadata-informatie op te slaan in plaats van velden",
46
49
  "User": "Gebruiker",
50
+ "Validate SSL certificate": "SSL-certificaat valideren",
47
51
  "debounce": "Wijzigingen negeren totdat waarde ongewijzigd blijft voor X Milliseconds",
52
+ "health-check help": "Regelmatige gezondheidscontroles worden naar de DB-server gestuurd om te controleren of deze nog in leven is.",
48
53
  "keep forever": "blijf voor altijd",
49
54
  "log changes interval(s)": "nog steeds dezelfde waarden (seconden)",
50
55
  "log changes minimal delta": "Minimaal verschil met laatste waarde",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Ustawienia adaptera historii",
28
28
  "Host": "Gospodarz",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "Obniżenie okresu przechowywania należy rozważać z ostrożnością: Przeszłe dane przekraczające okres przechowywania zostaną utracone.",
30
+ "Milliseconds": "Milisekundy",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Organizacja",
32
33
  "Password": "Hasło",
33
34
  "Password confirm": "Potwierdź hasło",
34
35
  "Please confirm!": "Proszę potwierdzić",
35
36
  "Port": "Port",
37
+ "Request timeout": "Limit czasu żądania",
36
38
  "Reset DB": "Zresetuj DB",
37
39
  "Round real to": "Runda prawdziwa do",
38
40
  "SQL history adapter settings": "Ustawienia adaptera historii SQL",
39
41
  "Save last previous value": "Zapisz ostatnią poprzednią wartość",
40
42
  "Seconds": "sekundy",
43
+ "Send health-check pings to database": "Wysyłaj pingi sprawdzające kondycję do bazy danych",
41
44
  "Start or enable adapter first": "Najpierw włącz lub włącz adapter",
42
45
  "Test connection": "Testuj połączenie",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Ta funkcja może być używana tylko w przypadku baz danych, które są puste lub zostały już skonfigurowane z włączoną tą funkcją. W przeciwnym razie spowoduje to błędy (patrz logi).",
44
47
  "Token": "Znak",
45
48
  "Use tags to store metadata information, instead of fields": "Używaj tagów do przechowywania informacji o metadanych zamiast pól",
46
49
  "User": "Użytkownik",
50
+ "Validate SSL certificate": "Zweryfikuj certyfikat SSL",
47
51
  "debounce": "Zignoruj ​​zmiany, aż wartość pozostanie niezmieniona przez X Milliseconds",
52
+ "health-check help": "Regularne sondy sprawdzające kondycję są wysyłane do serwera bazy danych w celu sprawdzenia, czy nadal działa.",
48
53
  "keep forever": "zachowaj na zawsze",
49
54
  "log changes interval(s)": "nadal nagrywaj te same wartości (sekundy)",
50
55
  "log changes minimal delta": "Minimalna różnica od ostatniej wartości",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Configurações do adaptador de histórico",
28
28
  "Host": "Hospedeiro",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "A redução do período de retenção deve ser considerada com cautela: os dados anteriores que excederem o período de retenção serão perdidos.",
30
- "Ok": "Está bem",
30
+ "Milliseconds": "Milissegundos",
31
+ "Ok": "Ok",
31
32
  "Organization": "Organização",
32
33
  "Password": "Senha",
33
34
  "Password confirm": "Confirmação de senha",
34
35
  "Please confirm!": "Por favor confirme",
35
36
  "Port": "Porta",
37
+ "Request timeout": "Solicitar tempo limite",
36
38
  "Reset DB": "Redefinir DB",
37
39
  "Round real to": "Round real to",
38
40
  "SQL history adapter settings": "Configurações do adaptador de histórico SQL",
39
41
  "Save last previous value": "Salvar o último valor anterior",
40
42
  "Seconds": "Segundos",
43
+ "Send health-check pings to database": "Envie pings de verificação de integridade para o banco de dados",
41
44
  "Start or enable adapter first": "Inicie ou ative o adaptador primeiro",
42
45
  "Test connection": "Conexão de teste",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Este recurso só pode ser usado em bancos de dados que estão vazios ou já foram configurados com este recurso habilitado. Caso contrário, causará erros (consulte os logs).",
44
47
  "Token": "Símbolo",
45
48
  "Use tags to store metadata information, instead of fields": "Use tags para armazenar informações de metadados, em vez de campos",
46
49
  "User": "Do utilizador",
50
+ "Validate SSL certificate": "Validar certificado SSL",
47
51
  "debounce": "Ignorar alterações até que o valor permaneça inalterado por X Milissegundos",
52
+ "health-check help": "Sondagens de verificações regulares de integridade são enviadas ao servidor de banco de dados para verificar se ele ainda está ativo.",
48
53
  "keep forever": "mantenha para sempre",
49
54
  "log changes interval(s)": "ainda gravar os mesmos valores (segundos)",
50
55
  "log changes minimal delta": "Diferença mínima do último valor",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "Настройки драйвера history",
28
28
  "Host": "Хост",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "К уменьшению срока хранения следует подходить с осторожностью: прошлые данные, превышающие срок хранения, будут потеряны.",
30
+ "Milliseconds": "Миллисекунды",
30
31
  "Ok": "Ok",
31
32
  "Organization": "Организация",
32
33
  "Password": "Пароль",
33
34
  "Password confirm": "Подтверждение пароля",
34
35
  "Please confirm!": "Пожалуйста подтвердите",
35
36
  "Port": "Порт",
37
+ "Request timeout": "Время ожидания запроса",
36
38
  "Reset DB": "Очистить базу",
37
39
  "Round real to": "Округлять до",
38
40
  "SQL history adapter settings": "Настройки профайлера в SQL базу данных",
39
41
  "Save last previous value": "Сохранять предыдущее значение",
40
42
  "Seconds": "секунд",
43
+ "Send health-check pings to database": "Отправлять эхо-запросы проверки работоспособности в базу данных",
41
44
  "Start or enable adapter first": "Сначала надо запустить или активировать драйвер",
42
45
  "Test connection": "Проверить соединение",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "Эту функцию можно использовать только с пустыми базами данных, которые уже были настроены с включенной этой функцией. В противном случае это вызовет ошибки (см. Логи).",
44
47
  "Token": "Токен",
45
48
  "Use tags to store metadata information, instead of fields": "Используйте теги для хранения информации метаданных вместо полей",
46
49
  "User": "Пользователь",
50
+ "Validate SSL certificate": "Проверить SSL-сертификат",
47
51
  "debounce": "Игнорировать изменения до тех пор, пока не будет постоянного значения в течение X миллисекунд",
52
+ "health-check help": "На сервер БД отправляются регулярные зонды проверки работоспособности, чтобы проверить, жив ли он.",
48
53
  "keep forever": "хранить вечно",
49
54
  "log changes interval(s)": "Записывать значения в базу, даже если они не менялись каждые Х секунд",
50
55
  "log changes minimal delta": "Минимальное отличие от предыдущего значения",
@@ -27,24 +27,29 @@
27
27
  "History adapter settings": "历史记录适配器设置",
28
28
  "Host": "主持人",
29
29
  "Lowering the retention period should be considered with caution: Past data exceeding the retention period will be lost.": "应谨慎考虑降低保留期限:超过保留期限的过去数据将丢失。",
30
+ "Milliseconds": "毫秒",
30
31
  "Ok": "好的",
31
32
  "Organization": "组织",
32
33
  "Password": "密码",
33
34
  "Password confirm": "确认密码",
34
35
  "Please confirm!": "请确认",
35
36
  "Port": "港口",
37
+ "Request timeout": "请求超时",
36
38
  "Reset DB": "重置数据库",
37
39
  "Round real to": "舍入为实",
38
40
  "SQL history adapter settings": "SQL历史记录适配器设置",
39
41
  "Save last previous value": "保存上一个上一个值",
40
42
  "Seconds": "秒",
43
+ "Send health-check pings to database": "将健康检查 ping 发送到数据库",
41
44
  "Start or enable adapter first": "首先启动或启用适配器",
42
45
  "Test connection": "测试连接",
43
46
  "This feature can only be used on databases that are empty, or already were setup with this feature enabled. Otherwise it will cause errors (see logs).": "此功能只能用于空数据库或已启用此功能设置的数据库。否则会导致错误(见日志)。",
44
47
  "Token": "代币",
45
48
  "Use tags to store metadata information, instead of fields": "使用标签来存储元数据信息,而不是字段",
46
49
  "User": "用户",
50
+ "Validate SSL certificate": "验证 SSL 证书",
47
51
  "debounce": "忽略更改,直到值保持不变为X毫秒",
52
+ "health-check help": "定期健康检查探针会发送到数据库服务器以检查它是否还活着。",
48
53
  "keep forever": "永远保持",
49
54
  "log changes interval(s)": "仍记录相同的值(秒",
50
55
  "log changes minimal delta": "与上一个值的最小差异",
@@ -76,7 +76,9 @@
76
76
  password: $('#password').val(),
77
77
  organization: $('#organization').val(),
78
78
  token: $('#token').val(),
79
- dbname: $('#dbname').val()
79
+ dbname: $('#dbname').val(),
80
+ requestTimeout: $("#requestTimeout").val(),
81
+ validateSSL: $("#validateSSL").val()
80
82
  }
81
83
  }, function (response) {
82
84
  $('#test').button('option', 'disabled', false);
@@ -110,20 +112,6 @@
110
112
  }
111
113
  });
112
114
  });
113
- $('#dbtype').on('change', function () {
114
- if ($(this).val() === 'sqlite') {
115
- $('.real-sql').hide();
116
- $('.baby-sql').show();
117
- } else if ($(this).val() === 'mssql') {
118
- $('.real-sql').show();
119
- $('.baby-sql').hide();
120
- } else {
121
- $('.real-sql').show();
122
- $('.baby-sql').hide();
123
- $('.ms-sql').hide();
124
- }
125
- }).trigger('change');
126
-
127
115
  $('#dbversion').on('change', function () {
128
116
  if ($(this).val() === '1.x') {
129
117
  $('.influx1').show();
@@ -236,6 +224,16 @@
236
224
  <input id="dbname" class="value"/>
237
225
  <label for="dbname" class="translate">DB Name</label>
238
226
  </div>
227
+ <div class="col s12 m4">
228
+ <input id="requestTimeout" class="value"/>
229
+ <label for="requestTimeout"><span class="translate">Request timeout</span> (<span class="translate">Milliseconds</span>)</label>
230
+ </div>
231
+ </div>
232
+ <div class="row influx2">
233
+ <div class="col s12 influx2">
234
+ <input id="validateSSL" type="checkbox" class="value"/>
235
+ <label for="validateSSL" class="translate">Validate SSL certificate</label>
236
+ </div>
239
237
  </div>
240
238
  <div class="row">
241
239
  <div class="col s12 m4">