parent
eb12c8ab28
commit
715f750202
2
main.py
2
main.py
|
@ -227,7 +227,7 @@ if __name__ == '__main__':
|
||||||
setColor(strip, Color(0,0,0))
|
setColor(strip, Color(0,0,0))
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
client.publish("server-rack-led/power", "False")
|
client.publish("server-rack-led/power/status", "False")
|
||||||
client.loop_stop()
|
client.loop_stop()
|
||||||
setColor(strip, Color(0,0,0))
|
setColor(strip, Color(0,0,0))
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
|
Loading…
Reference in New Issue