Skip to content

Grafana

252 Themen 4.4k Beiträge

NEWS

  • Zeitpunkt Minimum Temperatur

    Verschoben zeitstempel
    7
    0 Stimmen
    7 Beiträge
    563 Aufrufe
    mickemupM
    @musicnrw Sieht doch grob schonmal ganz OK aus :-) Mit overrides könntest du noch anstatt dem Datum nur die Zeit anzeigen lassen. Und ist indivuell: aber ich würde dann bei aktueller Temperatur auch gleich den Timestamp anzeigen lassen. Dann ists einheitlich und siehst auch wirklich wann das letzte mal was gemessen wurde. Gruess
  • Stapel-Balkengrafik mit Grafana

    Verschoben
    76
    1
    0 Stimmen
    76 Beiträge
    8k Aufrufe
    mickemupM
    @laser Habe es gerade nicht vor mir, aber denke es ist so wie du gesagt hast. Bei nur einem Query ist nur Value verfügbar. ab mehreren gibt es ja mehrere "values" und dann wählst du via die Bezeichnung aus. Gruess
  • Bar Chart: Bars nebeneinander?

    11
    1
    0 Stimmen
    11 Beiträge
    629 Aufrufe
    Merlin123M
    @wolfi913 Hab es nochmal mit nem neuen und einer "großen" Query probiert, leider selber Effekt :( Dank Dir trotzdem für Deine Hilfe!
  • Grafana restore nach Umzug auf Wyse-Box

    Verschoben
    6
    1
    0 Stimmen
    6 Beiträge
    401 Aufrufe
    P
    @marc-berg ... ich habs geahnt :man-facepalming: ... Eigentlich ganz einfach, aber man muss es wissen. Jedenfalls vielen Dank, es hat alles geklappt.
  • Grafana Sun and Moon

    Verschoben
    3
    2
    0 Stimmen
    3 Beiträge
    311 Aufrufe
    CodierknechtC
    @jo46 Du könntest Dir auch einfach deren JSON runterladen ;-) https://grafana.com/grafana/dashboards/630-sun-and-moon-datasource/ Oder für ganz faule (bereits übersetzt) :grin: Spoiler { "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": true, "hide": false, "iconColor": "rgb(238, 139, 9)", "mappings": {}, "name": "Sonnenauf / -untergang", "target": { "refId": "annotation_query", "target": [ "sunrise", "sunset" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": false, "hide": false, "iconColor": "rgb(21, 101, 224)", "mappings": {}, "name": "Mondauf / -untergang", "target": { "refId": "annotation_query", "target": [ "moonrise", "moonset" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": false, "hide": false, "iconColor": "rgb(98, 164, 0)", "mappings": {}, "name": "Goldene Stunde", "target": { "refId": "annotation_query", "target": [ "goldenHour" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": true, "hide": false, "iconColor": "#7e7e7f", "mappings": {}, "name": "Mittag / Mitternacht", "target": { "refId": "annotation_query", "target": [ "noon", "midnight" ] } } ] }, "description": "This dashboard demonstrates the usage of the Sun and Moon Datasource Plugin.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 13, "links": [], "panels": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "super-light-orange", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 0 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sunrise" ] } ], "title": "Sonnenaufgang", "type": "stat" }, { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-red", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 0 }, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sunset" ] } ], "title": "Sonnenuntergang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-yellow", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 0 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sun_azimuth" ] } ], "title": "Sonne Azimuth", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "dark-blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 0 }, "id": 3, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false, "sizing": "auto", "text": {} }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moon_illumination" ] } ], "title": "Mond Beleuchtung", "type": "gauge" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 12, "y": 0 }, "id": 9, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moonrise" ] } ], "title": "Mondaufgang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "semi-dark-blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 15, "y": 0 }, "id": 10, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moonset" ] } ], "title": "Monduntergang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "fixed" }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 18, "y": 0 }, "id": 11, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moon_azimuth" ] } ], "title": "Mond Azimuth", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "degree" }, "overrides": [ { "matcher": { "id": "byName", "options": "Moon altitude" }, "properties": [ { "id": "color", "value": { "fixedColor": "#447EBC", "mode": "fixed", "seriesBy": "min" } }, { "id": "displayName", "value": "Mond" } ] }, { "matcher": { "id": "byName", "options": "Sun altitude" }, "properties": [ { "id": "color", "value": { "fixedColor": "#CCA300", "mode": "fixed" } }, { "id": "displayName", "value": "Sonne" } ] }, { "matcher": { "id": "byName", "options": "Moon illumination" }, "properties": [ { "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } }, { "id": "displayName", "value": "Beleuchtung" } ] } ] }, "gridPos": { "h": 13, "w": 21, "x": 0, "y": 4 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sun_altitude", "moon_altitude", "moon_illumination" ] } ], "title": "Position Sonne / Mond", "type": "timeseries" } ], "preload": false, "refresh": "", "schemaVersion": 40, "tags": [], "templating": { "list": [] }, "time": { "from": "now-7d", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Astronomie", "uid": "000000009", "version": 6, "weekStart": "" }
  • Vis + Grafana

    Verschoben
    5
    2
    0 Stimmen
    5 Beiträge
    528 Aufrufe
    T
    Hallo zusammen, ich konnte es lösen: [image: 1738141277070-19e3585d-dd03-4720-bd8c-bba3a2d2d8e7-grafik.png] Die rot eingekreiste Widgetbreite im CSS Allgemein - Register auf 2060 gestellt, mein RaspberryPI 7"-Display kann zwar nur 800px, aber dann bricht es nicht mehr um, sodern stellt es so dar, wie in Grafana angelegt. Vielleicht hilft es jemand weiter... Grüße!
  • Grafana Visualisierung

    grafana influxdb opendtu solar
    6
    3
    0 Stimmen
    6 Beiträge
    422 Aufrufe
    mickemupM
    Probier mal das aus: import "date" import "timezone" option location = timezone.location(name: "Europe/Madrid") from(bucket: "iobroker") |> range(start: 2024-12-31T23:00:00Z, stop: 2025-01-25T16:00:26.485Z) |> filter(fn: (r) => r["_measurement"] == "Tagesaktuell") |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_value"] != 0) // Filtere 0-Werte aus (aus meiner Sicht unnötig) |> aggregateWindow(every: 1d, fn: last, timeSrc: "_start") // Maximalwert pro Tag (aber Zeitstempfel auf start von Tag) |> yield(name: "max_per_day") Pack doch dein Code in CodeTags das nächste mal. :-) Hast du Range Start und range stop bewusst "festgeschrieben"? Meine Annahmen: Du Willst ein Wert (Das Total) pro Tag darstellen Deine Soucre summiert pro Tag auf und wird regelmässig geloggt Deine Source wird um Mitternacht genullt und fängt wieder an hochzuzählen
  • Darstellung Grafana Vis

    8
    2
    0 Stimmen
    8 Beiträge
    501 Aufrufe
    S
    @icebear Das würde mir auch passen. Danke für den Tipp.
  • JSON in Grafana einbinden

    Verschoben
    39
    0 Stimmen
    39 Beiträge
    3k Aufrufe
    CodierknechtC
    @stefu87_ch Mit 'ner DB machst Du Dir das Leben einfacher. Was, wenn Du am Ende des Jahres die Verbräuche gerne für einen bislang nicht berücksichtigten Zeitraum aggregiert hättest? Im Nachhinein bist Du mit der Script-Lösung in den Allerwertesten gekniffen. Eine DB fragt man einfach etwas anders ab und gruppiert über einen anderen Zeitraum ... fertig. Nur so als Denkanstoß ;-)
  • [gelöst] Zugriff auf eine MariaDB

    24
    1
    0 Stimmen
    24 Beiträge
    1k Aufrufe
    BananaJoeB
    @codierknecht da war deine Antwort an mich gleich doppelt gut! So eine einfach Erklärung hätte ich damals gebraucht.
  • Jahresübersicht mit Zeitversatz (Apr-Mär)

    1
    0 Stimmen
    1 Beiträge
    154 Aufrufe
    Niemand hat geantwortet
  • Hinweise zu Grafana 11.3.0-01

    48
    3 Stimmen
    48 Beiträge
    6k Aufrufe
    S
    @wolfi913 2 Tage meines Lebens verschwendet um dann hier die Lösung zu finden :expressionless: Vielen Dank! Wenn mir jetzt noch einer sagen kann wie ich den daraus resultierenden riesigen Rand loswerde..?! VG Frank
  • Grafana - Einheit nur auf Y-Achse ausblenden

    Verschoben
    1
    0 Stimmen
    1 Beiträge
    180 Aufrufe
    Niemand hat geantwortet
  • Grafana Werte zur gleichen Zeit

    17
    4
    0 Stimmen
    17 Beiträge
    1k Aufrufe
    mickemupM
    @endurance Sehr schön.... Ist das in etwas so, wie du es haben willst? Balkenbreite kann man sicher noch was in den Einstellungen rausholen, ist aber nur noch feintuning :-) Pack mal an den Beginn der Queries noch nach hin: import "date" import "timezone" option location = timezone.location(name: "Europe/Madrid") Sonst sind die Daten verschoben (in deinem Fall 2h) und nicht am korrekten Tag abgebildet...
  • absolute Zeitbereiche in der URL (Grafana) angeben

    7
    0 Stimmen
    7 Beiträge
    903 Aufrufe
    M
    @legro Danke dir. Ich hatte den Eintrag "_dash.hideTimePicker" nicht genutzt. Das werde ich mal eintragen. Ich wünsche dir noch ein frohes Fest.
  • Grafana Dashboards in HabPanel nicht angezeigt

    2
    2
    0 Stimmen
    2 Beiträge
    186 Aufrufe
    W
    @wibear Gelöst: # set to true if you want to allow … allow_embedding = true
  • Fehler bei Wiederherstellung von Grafana

    36
    0 Stimmen
    36 Beiträge
    2k Aufrufe
    W
    Hallo @simatec Bei der Wiederherstellung von Grafana werden reproduzierbar die Ordner als Dashoards widerhergestellt. Ferner werden keine Einstellungen des Alerting inkl. Alerts selbst übertragen. Danke für Deine Mühe und Grüße
  • Fully Browser zeigt Grafana nicht mehr an

    Verschoben
    4
    3
    0 Stimmen
    4 Beiträge
    304 Aufrufe
    arteckA
    @fk757 sagte in Fully Browser zeigt Grafana nicht mehr an: und zwar habe ich ein Update vom io Broker vorgenommen. schön liegt aber nicht dadran.. sondern am upgrade von Grafana..ergo .. was sagen die grafana settings
  • Grafana per Browser nicht mehr erreichbar

    25
    0 Stimmen
    25 Beiträge
    2k Aufrufe
    G
    So, ich habe das System nochmal komplett neu aufgesetzt und nochmals auf dem alten System schaut, welche ini Änderungen wirklich notwendig waren. Jetzt läuft das System wieder. Vielen Dank euch allen für die Unterstützung.
  • [gelöst] Dashboard im iFrame vis1 - klappt nicht

    29
    0 Stimmen
    29 Beiträge
    2k Aufrufe
    T
    @marc-berg Alles klar, ich hatte nur die Vorgabe kopiert. War einfacher als die Zeilen aus der ini zu filtern. Das mit dem Semikolon kannte ich noch nicht, nur den Gartenzaun # Werde es gleich testen, wenn ich zurück bin. Danke dir für die schnelle Hilfe. Edit: Wenn man es richtig macht gehts auch ;) Danke noch mal

333

Online

32.4k

Benutzer

81.4k

Themen

1.3m

Beiträge