Mouzzam Hussain
Mouzzam Hussain

Reputation: 459

connecting MQTT to cumulocity tenant

I am trying to connect to our cumulocity tenant using MQTT lens but it is showing the status as disconnected. I am a bit doubtful regarding the tenant name. Is it the same as the beginning of the URI? for example the link to my tenant is: https://atlascopco.cumulocity.com so the username should be atlascopco/username?

settings for MQTT Lens

Upvotes: 0

Views: 618

Answers (2)

Brenners Daniel
Brenners Daniel

Reputation: 419

I have here an example about MQTT BOX. But at first glance your access data / config data looks right.

  • MQTT Client Name: Cumulocity MQTT Device
  • Protocol: mqtt/tcp
  • Username: TENANT/USERNAME
  • Host: TENANT.cumulocity.com:1883
  • Will-Topic: Will - Topic
  • Will - QoS: 0 - Almost Once

With this configuration I can connect my MQTT Test Device via MQTT BOX and send data.

Upvotes: 0

Michael Welsing
Michael Welsing

Reputation: 19

The tenant name is the part before ".cumulocity.com". So your guess is right.

best regards Michael

Upvotes: 1

Related Questions