Hello all
I have a working “Sonoff/Tasmota Pow R2” connected with MQTT protocol to influxdb via telegraf.
The logging works perfect.
Nevertheless i would like to block some fields/value in a mesurements called “mqtt_consumer” coming via MQTT …
Is that basically possible with the Input/Output Configuration possibilities in the telegraf-config-file “telegraf.conf” ??
In the " [[inputs.mqtt_consumer]] " part of the telegraf.conf file i added the following …
==> fielddrop = [“ENERGY_ApparentPower”,"_Factor","_Period","*_ReactivePower"]
… and now only the relevant/desired data are stored in the influxdb database.
I’m newbie on influx, mqtt and telegraf and I’m having problemas with the sonoff pow R2, and i don’t have idea why, my `[[inputs.mqtt_consumer]]
servers = [“tcp://localhost:1883”]
topics = [
“tele/fan/SENSOR”
]
qos=0
persistent_session = true
client_id = “telegraf”
username = “admin”
password = “pass”