Neuling: Kaco TL3 Dashboard zeigt Nachtmode und No Data statt Datum und Firmware

Allgemeine Informationen zum Nachbau und zum Forum.
PV-Monitorung / PV Überwachung

Moderator: Ulrich

Antworten
AndreasSA
Beiträge: 3
Registriert: Mo 24. Okt 2022, 10:22
Hat sich bedankt: 1 Mal

Neuling: Kaco TL3 Dashboard zeigt Nachtmode und No Data statt Datum und Firmware

Beitrag von AndreasSA »

Hallo,

ich bin neu hier, habe es aber geschafft in kurzer Zeit die Solaranzeige zu installieren. Es läuft soweit auch alles, bis auf eine Kleinigkeit...

Ich habe eine 5,4 kW/p PV Anklage mit einem Kaco Blueplanet 5.0 TL3 mit MODBUS... soweit werden auch Daten usw angezeigt, allerdings in der ersten Zeile steht Nachtmode und No Date statt Datum und Firmware. Die Query scheint zu stimmen:

SELECT "Datum" FROM "Info" WHERE $timeFilter

SELECT last("Firmware") FROM "Info" WHERE time >= 1666749600000ms and time <= 1666817999999ms

Wenn ich die Query manuell ausführe kommt das erwartete Ergebnis (denke ich):

Code: Alles auswählen

> SELECT "Datum" FROM "Info" WHERE time >= 1666749600000ms and time <= 1666817999999ms
name: Info
time                Datum
----                -----
1666764011000000000 26.10.2022
1666764132000000000 26.10.2022
...
1666789272000000000 26.10.2022
>

Code: Alles auswählen

> SELECT last("Firmware") FROM "Info" WHERE time >= 1666749600000ms and time <= 1666817999999ms
name: Info
time                last
----                ----
1666789272000000000 blueplanet 5.0 TL3
>


Bildschirmfoto 2022-10-26 um 18.38.22.png
Mit der Suche habe ich nichts gefunden... was könnte ich falsch gemacht haben?

Viele Grüße
Andreas

Benutzeravatar
Ulrich
Administrator
Beiträge: 5531
Registriert: Sa 7. Nov 2015, 10:33
Wohnort: Essen
Hat sich bedankt: 156 Mal
Danksagung erhalten: 885 Mal
Kontaktdaten:

Re: Neuling: Dashboard zeigt Nachtmode und No Data statt Datum und Firmware

Beitrag von Ulrich »

Das Problem ist, dass die Dashboards zum Teil schon mehrere Jahre alt sind und Grafana sich ständig weiterentwickelt. In der Regel sind die betroffenen Panels veraltet und müssen migriert werden.
-----------------------------------------------------
Ulrich . . . . . . . . [Projekt Administrator]

AndreasSA
Beiträge: 3
Registriert: Mo 24. Okt 2022, 10:22
Hat sich bedankt: 1 Mal

Re: Neuling: Dashboard zeigt Nachtmode und No Data statt Datum und Firmware

Beitrag von AndreasSA »

Ach so... ich habe mal ein bisschen experimentiert und das ist dabei herausgekommen...
Bildschirmfoto 2022-10-27 um 09.57.23.png
Es sieht zumindest richtig aus :-)

Sollte jemand anderes das gleiche Problem haben, hier der Code dazu:

Datum

Code: Alles auswählen

{
  "id": 12,
  "gridPos": {
    "h": 2,
    "w": 6,
    "x": 6,
    "y": 0
  },
  "type": "stat",
  "datasource": {
    "type": "influxdb",
    "uid": "000000002"
  },
  "maxDataPoints": 100,
  "links": [],
  "targets": [
    {
      "alias": "Firmware",
      "datasource": {
        "type": "influxdb",
        "uid": "000000002"
      },
      "groupBy": [],
      "measurement": "Statistik",
      "orderByTime": "ASC",
      "policy": "default",
      "refId": "A",
      "resultFormat": "table",
      "select": [
        [
          {
            "params": [
              "Datum"
            ],
            "type": "field"
          },
          {
            "params": [],
            "type": "last"
          }
        ]
      ],
      "tags": []
    }
  ],
  "fieldConfig": {
    "defaults": {
      "mappings": [],
      "thresholds": {
        "mode": "absolute",
        "steps": [
          {
            "color": "green",
            "value": null
          },
          {
            "color": "red",
            "value": 80
          }
        ]
      },
      "color": {
        "mode": "thresholds"
      },
      "unit": "none"
    },
    "overrides": []
  },
  "options": {
    "reduceOptions": {
      "values": false,
      "calcs": [
        "lastNotNull"
      ],
      "fields": "/^last$/"
    },
    "orientation": "horizontal",
    "textMode": "value",
    "colorMode": "value",
    "graphMode": "none",
    "justifyMode": "auto"
  },
  "pluginVersion": "9.2.1"
}
Firmware

Code: Alles auswählen

{
  "id": 18,
  "gridPos": {
    "h": 3,
    "w": 6,
    "x": 6,
    "y": 2
  },
  "type": "stat",
  "datasource": {
    "type": "influxdb",
    "uid": "000000002"
  },
  "maxDataPoints": 100,
  "links": [],
  "targets": [
    {
      "alias": "Firmware",
      "datasource": {
        "type": "influxdb",
        "uid": "000000002"
      },
      "groupBy": [],
      "measurement": "Info",
      "orderByTime": "ASC",
      "policy": "default",
      "refId": "A",
      "resultFormat": "table",
      "select": [
        [
          {
            "params": [
              "Firmware"
            ],
            "type": "field"
          },
          {
            "params": [],
            "type": "last"
          }
        ]
      ],
      "tags": []
    }
  ],
  "fieldConfig": {
    "defaults": {
      "mappings": [],
      "thresholds": {
        "mode": "absolute",
        "steps": [
          {
            "color": "rgba(237, 129, 40, 0.89)",
            "value": null
          },
          {
            "color": "red",
            "value": 80
          }
        ]
      },
      "color": {
        "mode": "thresholds"
      },
      "unit": "none"
    },
    "overrides": []
  },
  "options": {
    "reduceOptions": {
      "values": false,
      "calcs": [
        "lastNotNull"
      ],
      "fields": "/^last$/"
    },
    "orientation": "horizontal",
    "textMode": "value",
    "colorMode": "value",
    "graphMode": "none",
    "justifyMode": "auto"
  },
  "pluginVersion": "9.2.1"
}
HTH

Antworten

Zurück zu „Allgemeines“