From 4ff334d03f50c539799bdf8c2ff1aa31373e78c4 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 21 Jan 2022 18:42:06 +0100 Subject: [PATCH] OpenWB: fix heartbeat topic --- charger/openwb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/openwb.go b/charger/openwb.go index 406898354..fddb55542 100644 --- a/charger/openwb.go +++ b/charger/openwb.go @@ -125,7 +125,7 @@ func NewOpenWB(log *util.Logger, mqttconf mqtt.Config, id int, topic string, p1p // heartbeat go func() { heartbeatS := provider.NewMqtt(log, client, - fmt.Sprintf("%s/set/lp%d/%s", topic, id, openwb.SlaveHeartbeatTopic), + fmt.Sprintf("%s/set/isss/%s", topic, openwb.SlaveHeartbeatTopic), 1, timeout).IntSetter("heartbeat") for range time.NewTicker(openwb.HeartbeatInterval).C {