iobroker.influxdb 3.0.1 → 3.0.2

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
@@ -445,6 +445,9 @@ sendTo('influxdb.0', 'getEnabledDPs', {}, function (result) {
445
445
  -->
446
446
 
447
447
  ## Changelog
448
+ ### 3.0.2 (2022-05-12)
449
+ * (Apollon77) handle an empty Path for InfluxDB 2.0 correctly in all cases
450
+
448
451
  ### 3.0.1 (2022-05-11)
449
452
  * (Apollon77) BREAKING: Configuration is only working in the new Admin 5 UI!
450
453
  * (Apollon77) Did bigger adjustments to the recording logic and added a lot of new Features. Please refer to Changelog and Forum post for details.
package/io-package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "pl": "Logowanie stanów do InfluxDB",
14
14
  "zh-cn": "将状态记录到InfluxDB中"
15
15
  },
16
- "version": "3.0.1",
16
+ "version": "3.0.2",
17
17
  "title": "Logging data with InfluxDB",
18
18
  "titleLang": {
19
19
  "en": "Logging data with InfluxDB",
@@ -28,6 +28,18 @@
28
28
  "zh-cn": "使用InfluxDB记录数据"
29
29
  },
30
30
  "news": {
31
+ "3.0.2": {
32
+ "en": "handle an empty Path for InfluxDB 2.0 correctly in all cases",
33
+ "de": "Behandeln Sie einen leeren Pfad für InfluxDB 2.0 in allen Fällen korrekt",
34
+ "ru": "правильно обрабатывать пустой путь для InfluxDB 2.0 во всех случаях",
35
+ "pt": "manipular um caminho vazio para o InfluxDB 2.0 corretamente em todos os casos",
36
+ "nl": "behandel een leeg pad voor InfluxDB 2.0 in alle gevallen correct",
37
+ "fr": "gérer correctement un chemin vide pour InfluxDB 2.0 dans tous les cas",
38
+ "it": "gestire correttamente un percorso vuoto per InfluxDB 2.0 in tutti i casi",
39
+ "es": "manejar una ruta vacía para InfluxDB 2.0 correctamente en todos los casos",
40
+ "pl": "we wszystkich przypadkach poprawnie obsłużyć pustą ścieżkę dla InfluxDB 2.0",
41
+ "zh-cn": "在所有情况下正确处理 InfluxDB 2.0 的空路径"
42
+ },
31
43
  "3.0.1": {
32
44
  "en": "BREAKING: Configuration is only working in the new Admin 5 UI!\nDid bigger adjustments to the recording logic and added a lot of new Features. Please refer to Changelog and Forum post for details.",
33
45
  "de": "BREAKING: Die Konfiguration funktioniert nur in der neuen Admin 5-Benutzeroberfläche!\nGrößere Anpassungen an der Aufnahmelogik vorgenommen und viele neue Features hinzugefügt. Einzelheiten finden Sie im Änderungsprotokoll und im Forumsbeitrag.",
@@ -99,18 +111,6 @@
99
111
  "es": "Datos interpolados marcados con `i=true`",
100
112
  "pl": "Oznaczono dane interpolowane za pomocą `i=true`",
101
113
  "zh-cn": "用 `i=true` 标记插值数据"
102
- },
103
- "2.5.1": {
104
- "en": "Marked interpolated data with `i=true`",
105
- "de": "Markierte interpolierte Daten mit `i=true`",
106
- "ru": "Помеченные интерполированные данные с `i=true`",
107
- "pt": "Dados interpolados marcados com `i=true`",
108
- "nl": "Gemarkeerde geïnterpoleerde gegevens met `i=true`",
109
- "fr": "Données interpolées marquées avec `i=true`",
110
- "it": "Dati interpolati contrassegnati con `i=true`",
111
- "es": "Datos interpolados marcados con `i=true`",
112
- "pl": "Oznaczono dane interpolowane za pomocą `i=true`",
113
- "zh-cn": "用 `i=true` 标记插值数据"
114
114
  }
115
115
  },
116
116
  "mode": "daemon",
package/main.js CHANGED
@@ -295,7 +295,9 @@ function ping(adapter) {
295
295
  }
296
296
 
297
297
  function connect(adapter) {
298
- if (adapter.config.path.startsWith('/')) {
298
+ if (!adapter.config.path) {
299
+ adapter.config.path = '';
300
+ } else if (adapter.config.path.startsWith('/')) {
299
301
  adapter.config.path = adapter.config.path.substring(1);
300
302
  }
301
303
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.influxdb",
3
3
  "description": "Log states in InfluxDB",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "author": "bluefox <dogafox@gmail.com>",
6
6
  "contributors": [
7
7
  "bluefox <dogafox@gmail.com>",