Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. [gelöst] Doppelte Werte in der Grafana-Grafik

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Doppelte Werte in der Grafana-Grafik

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nobbiman last edited by nobbiman

      Bei meinen ersten Schritten, mit ioBroker mit InfluxDB 2.0 geloggte Daten tageweise als Grafik darzustellen, stoße ich auf ein Problem:
      Der aktuelle Tag (hier: 12. Nov.) wird nicht nur doppelt, sondern zu allem Übel auch noch mit unterschiedlichen Werten angezeigt
      Tageswerte.JPG

      Vielleicht hilft ein Blick ins Query

      import "timezone"
      option location = timezone.location(name: "Europe/Berlin")
      from(bucket: "influx-RasPi")
        |> range(start: -7d)
        |> filter(fn: (r) => r["_measurement"] == "PV-Zählerstand Garage" and r["_field"] == "value")
        |> difference()
        |> aggregateWindow(every: 1d, fn: sum, createEmpty: false)
      

      ich selbst weiß mir keinen Rat. Kann jemand helfen?

      1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active last edited by Marc Berg

        @nobbiman sagte in Doppelte Werte in der Grafana-Grafik:

        versuch's mal so:

        |> aggregateWindow(every: 1d, fn: sum, timeSrc: "_start", createEmpty: false)
        
        N 1 Reply Last reply Reply Quote 0
        • N
          nobbiman @Marc Berg last edited by

          @marc-berg Es gilt weiterhin: Kaum macht man's richtig, schon funtioniert es!
          Danke für die schnelle Hilfe. Über die Funktion muss ich mir aber noch Gedanken machen, zumindest klappt es schon mal!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          1.2k
          Online

          31.7k
          Users

          79.7k
          Topics

          1.3m
          Posts

          2
          3
          230
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo