Use ID instead of username

This commit is contained in:
2024-07-14 19:52:17 +02:00
parent 1dcc9ebf66
commit a24e11ef18
9 changed files with 36 additions and 22 deletions

View File

@@ -48,7 +48,7 @@ end
local function main()
client = mqtt.client {
uri = "mqtt.seeseepuff.be",
username = "mqtt_controller-" .. math.random(0, maxClientId),
id = "mqtt_controller-" .. math.random(0, maxClientId),
clean = true,
reconnect = 5,
}