I setup the influxdb2 uploader yesterday. It’s working great for the measurement I added. Is there a way to send all inputs, or do I have to configure them one by one? Is it possible to send an output?
Thanks,
Ross
I setup the influxdb2 uploader yesterday. It’s working great for the measurement I added. Is there a way to send all inputs, or do I have to configure them one by one? Is it possible to send an output?
Thanks,
Ross
No, you have to set each one up, including the units such as Watts, Amps, Wh etc that are to be sent as the value.
You cannot send an output by reference, but you can duplicate the output as an influx measurement.
Hi,
Do you mind sharing your Iotawatt configuration screen?
I’ve setup my uploader and as far as I can see in the status, it’s uploading data but I can’t see anything in influxdb2 explorer.
Thank you
The screen probably won’t help you (it took me a while to remember what I had done!). Here’s a description of what I setup:
electric
field-key
I’m using $units
My tags set these:
device=$device
input=$name
Then for each input, setup a measurement for Watts and Amps. (or whatever you want)
Filtering for a series of data then looks like:
from(bucket: "iotawatt")
|> filter(fn: (r) => r["_measurement"] == "electric")
|> filter(fn: (r) => r["input"] == "Dryer")
|> filter(fn: (r) => r["_field"] == "Amps")
|> yield(name: "mean")
(that’s abbreviated, use data explorer for more complete examples).