Update mqtt broker

Signed-off-by: tkl <tkl@barsch.fritz.box>
This commit is contained in:
tkl 2024-07-10 09:55:02 +02:00
parent 18c113be3a
commit 427bc44a3e

View File

@ -47,7 +47,7 @@ func main() {
// MQTT connection
opts := mqtt.NewClientOptions()
opts.AddBroker("tcp://nuc:1883")
opts.AddBroker("tcp://p5:1883")
opts.SetClientID("saunaservice")
opts.SetDefaultPublishHandler(messagePubHandler)
opts.OnConnect = connectHandler