From da78a00446e12b9e331be0bd94f1446dd24d39bc Mon Sep 17 00:00:00 2001 From: Adrian Zuercher Date: Wed, 16 Jul 2025 21:53:47 +0200 Subject: [PATCH] add heartbeat send data every 30 Seconds --- models/bus.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/bus.go b/models/bus.go index 2c1727e..16357de 100644 --- a/models/bus.go +++ b/models/bus.go @@ -126,6 +126,8 @@ func (b *Bus) Start(log *logging.Logger) error { interval = 5 * time.Second } else { b.Reachable = true + // send data as a heartbeat for the ArtNet Protocol + b.Send <- b.Data log.Info("bus.Start", fmt.Sprintf("device:%s ip:%s watchdog running", b.Name, b.Ip)) interval = 30 * time.Second }