Ein Projekt des Digitalisierungszentrums Zeitz
from(bucket: "dzz_data") |> range(start: -192h) |> filter(fn: (r) => r["_measurement"] == "wilsen") |> filter(fn: (r) => r["_field"] == "water_lvl" or r["_field"] == "temp") |> filter(fn: (r) => r["device_id"] == "dzz-wilsen001") |> yield(name: "mean")