From faf9fb7a8c5e8b31e9c1104b42d7e550e986ca61 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 20 Dec 2025 13:23:17 +0100 Subject: Raise to QoS 1 This ensures the state updates reach the broker. QoS 2 is not required since multiple reception of the same state will not make a difference. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index eae80ba..06ace4a 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ const ( BROKER = `tcp://127.0.0.1:1883` CLIENT_ID = `siaserver` TOPIC_PREFIX = `sia` - QOS = byte(0) + QOS = byte(1) RETAINED = true MQTT_CONNECT_TIMEOUT = time.Second * 5 MQTT_DISCONNECT_TIMEOUT_US = 500 -- cgit v1.2.3-70-g09d2