From af7b648ce345290c717a601cb44d83f55cc08238 Mon Sep 17 00:00:00 2001 From: JeffMboya Date: Thu, 12 Dec 2024 17:57:00 +0300 Subject: [PATCH] Update LWT payload Signed-off-by: JeffMboya --- proplet/mqtt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proplet/mqtt.go b/proplet/mqtt.go index 394415d..b875fc7 100644 --- a/proplet/mqtt.go +++ b/proplet/mqtt.go @@ -25,7 +25,7 @@ var ( DiscoveryTopic = "channels/%s/messages/control/proplet/create" DiscoveryPayload = `{"proplet_id":"%s","chan_id":"%s"}` LWTTopic = "channels/%s/messages/control/proplet/create" - LWTPayload = `{"status":"online","proplet_id":"%s","chan_id":"%s"}` + LWTPayload = `{"status":"offline","proplet_id":"%s","chan_id":"%s"}` StartTopic = "channels/%s/messages/control/manager/start" StopTopic = "channels/%s/messages/control/manager/stop" RegistryResponseTopic = "channels/%s/messages/registry/server"