The guides (https://cumulocity.com/guides/reference/smartrest-two/) say that I have to contact support@cumulocity.com to get hold of the static user credentials. But all that I get from that email address is a bounce saying it is no longer active.
How do I get hold of the static user credentials then?
Iâve tried management/devicebootstrap as the username (as per the MQTT cheat sheet) but I just get a âBad username of passwordâ reply.
This is pretty fundamental, for anyone wanting to use the trialâŚ
This is my test code (node.js):
const mqtt = require( âmqttâ )
const opts_bootstrap = {
username: âmanagement/devicebootstrapâ,
clientId: âTESTâ
}
const client = mqtt.connect( âmqtt://mqtt.cumulocity.comâ, opts_bootstrap );
Hi Niels,
for the static MQTT device credentials API, please use the following credentials:
best regards
Michael
1 Like
Hey,
sry for reviving this old topic, but why create a new one for an already existing topic?
So here is my question: Im using this client (GitHub - TyrManuZ/cumulocity-python-agent: A simple python agent connecting to Cumulocity via MQTT) but i cant get it working. I guess i messed up the credentials somehow. I have them like this:
[secret]
c8y.bootstrap.tenant = mqtt.cumulocity.com
c8y.bootstrap.user = management/devicebootstrap
c8y.bootstrap.password = Fhdt1bb1f
[mqtt]
url = <>
port = 1883
ping.interval.seconds = 60
[agent]
main.loop.interval.seconds = 10
the logs im getting show this:
2020-09-15 16:57:47,165 DEBUG Bootstrap connected with result code: 4
2020-09-15 16:57:50,786 DEBUG poll credentials
2020-09-15 16:57:55,791 DEBUG poll credentials
2020-09-15 16:58:00,797 DEBUG poll credentials
âŚ
First of all⌠what is the meaning of code 4?
And second, what did i miss?
Would be nice if anyone could help me 
Greetings Uwe