MQTT on V3?

Hi, still trying to get a TTN V3 app data into a cloud hosted Influx instance. Looks like the MQTT service is one of two options but I need Telegraf to link these two. I have tried several times to test the MQTT connection via Mosquitto (on AWS) but to no avail. Has anyone else managed to get an MQTT connection on V3 working?

“Managed” would not be how I’d describe my experience with MQTT v3. More like “just used it”.

It just works on my Debian based internet servers plus macOS using a whole host of different clients and libraries.

So some debug of the connection on AWS would be useful to help you.

can you share the code you are using ?

Hi, this is what I added into my telegraf.conf file , if any help with your issue

[[inputs.mqtt_consumer]]
  servers = ["tcp://eu1.cloud.thethings.network:1883"]
  qos = 0
  connection_timeout = "30s"
  topics = [ "v3/bal@ttn/devices/+/up" ]
  client_id = "telegraf"
  username = "bal@ttn"
  password = "NNSXS.***********************************LQ"
  data_format = "json"
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.