From 4d36ee69d81a08936aafee67ed73465c0f86c0a4 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 16 Aug 2023 22:13:18 +0200 Subject: [PATCH] make alerts a bit more bright --- dmx_queue.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dmx_queue.py b/dmx_queue.py index 521b382..119b277 100644 --- a/dmx_queue.py +++ b/dmx_queue.py @@ -49,7 +49,7 @@ class DMXQueue: for idx, value in enumerate(values): self._dmx(start_addr + idx, value) - def _update_all(self, intensity, red, green, blue, white=0): + def _update_all(self, intensity, red, green, blue, white=50): for light in self.lights: light.intensity = intensity light.red = red @@ -74,9 +74,7 @@ class DMXQueue: # three instances of two flashes each for i in range(3): for j in range(2): - self._update_all( - self.config.alerts.brightness, 255, 0, 0, 50 - ) + self._update_all(self.config.alerts.brightness, 255, 0, 0) sleep(0.1) self._update_all(0, 255, 0, 0) sleep(0.1)