I have a gauge as a live value. these are set to: Last* non Null value.
Is the only difference to “last” that no “zero” is displayed?
But my question is: the values lag behind for quite a long time.
Is it possible to use a live value at all?
For example, I currently have the following query:
from(bucket: "iobroker")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "alias.0.PV-Anlage.Leistung.WirkleistungPv")
|> filter(fn: (r) => r["_field"] == "value")
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: "mean")