changed cooldown

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-25 19:43:26 +02:00
parent 5aed692f55
commit c445242819
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ def strobe(strip, color):
for i in range(strip.numPixels()): for i in range(strip.numPixels()):
strip.setPixelColor(i, Color(0, 0, 0)) strip.setPixelColor(i, Color(0, 0, 0))
strip.show() strip.show()
time.sleep(float(0.01))
def mqtt_on_connect(client, userdata, flags, rc): def mqtt_on_connect(client, userdata, flags, rc):
client.subscribe("server-rack-led/power") client.subscribe("server-rack-led/power")