fixxed default values

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-12-27 19:46:24 +01:00
parent 715f750202
commit 4023287ffb
1 changed files with 1 additions and 3 deletions

View File

@ -169,8 +169,6 @@ if __name__ == '__main__':
strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
strip.begin()
mode = 0
power = "True"
global r
r = 255
global g
@ -191,7 +189,7 @@ if __name__ == '__main__':
client.on_message = mqtt_on_message
client.publish("server-rack-led/power/status", "True")
client.publish("server-rack-led/mode/status", "Rainbow")
client.publish("server-rack-led/mode/status", "Custom Color")
try:
client.loop_start()