So ive been trying for a while now and cant seem to get the same data from Iotawatt into Influx
Hoping someone more skilled in influx can see my errors
This is my flux code:
import "timezone"
option location = timezone.location(name: "Australia/Sydney")
from(bucket: "iotawatt")
|> range(start: today())
|> filter(fn: (r) => r["_measurement"] == "solar")
|> filter(fn: (r) => r["_field"] == "value")
|> aggregateWindow(every: 1h, fn: mean, createEmpty: false)
|> increase()
|> last()
This is the result in Influx:
From Graph+
The resulting figure is less than half, and that is on any output i select and use
Anyone see/know what i could be doing wrong
Cheers