Quantcast
Channel: InfluxDB - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 201

Monthly summary of solar radiation kWh/m²

$
0
0

Hi, am using Grafana 8.3.3 with Influx DB 1.7.10

One of the values I do store in the context of my PV system is the solar radiation (kW/m²), one value every minute. So far I get nice graphs and can drilldown in any timeframe I want.

What I’d like to achieve now is a colum chart with a sum per month.
I tried to group the data by 4weeks, but this gives me approx 3 times of the monthly (at the end annual) total

This is the query
SELECT mean(“value”) FROM “modbus.2.holdingRegisters.5_Solarstrahlung” WHERE time >= 1674917300729ms and time <= now() GROUP BY time(4w) fill(null)
I copied it from the inspector as I never did work with queries, I used the UI only so far.

Any help aprecciated

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 201

Trending Articles