setting client ID
rgb/pipeline/head This commit looks good Details

pull/3/head
Nathan 2 years ago
parent 7211d97fd5
commit c226fa4fa7

@ -116,6 +116,7 @@ func setupMQTT() *mqtt.ClientOptions {
opts.AddBroker(fmt.Sprintf("tcp://%s:%s", os.Getenv("MQTTBROKER"), os.Getenv("MQTTPORT")))
opts.SetUsername(os.Getenv("MQTTUSER"))
opts.SetPassword(os.Getenv("MQTTPASS"))
opts.SetClientID("rgbboard")
return opts
}

Loading…
Cancel
Save