Use ID instead of username
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user