From 6b4a02642a232c11b46801633ef159091ab1c6e5 Mon Sep 17 00:00:00 2001 From: Madoma73 Date: Thu, 16 May 2024 15:24:13 +0200 Subject: [PATCH] Update decoders.go to avoid crash when receiving hbeat.app messages --- xpl/decoders.go | 1 + 1 file changed, 1 insertion(+) diff --git a/xpl/decoders.go b/xpl/decoders.go index fff083e..e8c3e3b 100644 --- a/xpl/decoders.go +++ b/xpl/decoders.go @@ -13,6 +13,7 @@ import ( var decoders = map[string](func(pkt *XPLPacket, mqtt *mqtt.Client)){ "log.basic": decodeLogs, "hbeat.basic": decodeHbeat, + "hbeat.app": decodeHbeat, "x10.basic": decodeX10, "ac.basic": decodeAC, "x10.security": decodeX10Sec,