I have a device that is publishing a pressure every second using MQTT in the format: topic: device/sim_knauer_p2.1/1/data/pressure msg:56 type:<class 'str'>
The client is running running python phao.mqtt.client and the broker is the mosquitto-eclipse-mqtt. The msg is a string with a single value which is a float.
Looks like an indentation problem. The [[processors.pivot]] declaration signifies a new plug-in (a processor in this case). So that section should be outdented to the same level as [[inputs.mqtt_consumer]].
Thanks for the suggestion! I’ve tried a couple of different indentations styles but still seem to hit the same problem - is there anything wrong with the syntax I’m using? I’m still getting my head around line protocol.
I did managed to configure telegraf to listen to an OPC UA server instead, but this is proving to be slower than I hoped. I believe telegraf polls rather than listen for subscriptions?