From 3ac562f0b76abde0f4f37f8a1a7945ac344249d5 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 31 Jan 2025 16:36:38 +0100 Subject: [PATCH] switch off lights prior to stopping sacn worker --- dmx_queue.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmx_queue.py b/dmx_queue.py index 010c83d..df8ad00 100644 --- a/dmx_queue.py +++ b/dmx_queue.py @@ -51,6 +51,8 @@ class DMXQueue: self.log.info("Waiting for worker to terminate ...") self.worker_should_be_running = False self.worker.join() + self._update_all(0, 0, 0, 0, 0) + sleep(0.5) self.sacn.stop() def _dmx(self, addr, data):