homeautomatisation:influxdb:examples_influxdb
This is an old revision of the document!
get only the last value from iobroker shelly power, if its none in range, fill with previous value.
FROM(bucket: "iobroker") |> range(START:0) |> FILTER(fn: (r) => r["_measurement"] == "shelly.0.SHPLG-S#1C032F#1.Relay0.Power") |> FILTER(fn: (r) => r["_field"] == "value") |> fill(usePrevious: TRUE) |> LAST()
integration in grafana
homeautomatisation/influxdb/examples_influxdb.1646949081.txt.gz · Last modified: 2022/03/10 22:51 by illu