diff --git a/sauna.go b/sauna.go index 01755bd..eb6ae56 100644 --- a/sauna.go +++ b/sauna.go @@ -81,7 +81,7 @@ func http_endpoint_sauna(w http.ResponseWriter, r *http.Request) { func connect() mqtt.Client { // MQTT connection opts := mqtt.NewClientOptions() - opts.AddBroker("tcp://nuc:1883") + opts.AddBroker("tcp://p5:1883") opts.SetClientID("apiservice/sauna/" + strconv.Itoa(rand.Int())) opts.SetDefaultPublishHandler(messagePubHandler) opts.OnConnect = connectHandler