Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. Grafana und PV Forecast relative time klappt nicht

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Grafana und PV Forecast relative time klappt nicht

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

      Hi!
      Ich habe ein MySQL Query die mir den Forecast aus der Datenbank holen soll um den Graph anzuzeigen wie die erwartete PV Leistung ist.
      Eine Relative Time von "now-2d/d" geht. Nehme ich aber now+2d/d geht es nich und ich bekomme gar keine Daten.

      Was mache ich falsch?

      Hier mal noch mein SQL Query:

      SELECT 
          UNIX_TIMESTAMP(period_end) AS time, 
          COALESCE(SUM(s.pv_estimate), 0) AS kw -- <<< COALESCE hinzugefügt
      FROM 
          solarforecast s
      GROUP BY
          period_end
      HAVING
          kw !=0
      ORDER BY
          period_end;
      
      Armilar 1 Reply Last reply Reply Quote 0
      • Armilar
        Armilar Most Active Forum Testing @baeckerman83 last edited by

        @baeckerman83

        interessanter wäre ja zu wissen, wie du die Zeitstempel für die Zukunft schreibst... Sind in der Datenbank wirklich Zeitstempel für morgen und übermorgen?

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

        Support us

        ioBroker
        Community Adapters
        Donate

        984
        Online

        32.3k
        Users

        81.0k
        Topics

        1.3m
        Posts

        2
        2
        45
        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