Hi,
Grafana v10.4.1
Homeassistant
data influxbd
Both images are from homeassistant, I try see the same data in grafane erergy price 24 hours ahead but to nu no success. anyone have an idea how ?
from(bucket: “homeassistant”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“entity_id”] == “nordpool_energyprices”)
|> filter(fn: (r) => r[“_field”] == “value”)
|> filter(fn: (r) => r[“_measurement”] == “€”)
|> filter(fn: (r) => r[“domain”] == “sensor”)
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: “mean”)
Greetings, Smytangel