make alerts a bit more bright

This commit is contained in:
Franzi 2023-08-16 22:13:18 +02:00
parent 267bca1f86
commit 4d36ee69d8
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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)