parent
35f33c633d
commit
b1c4e67722
2
main.py
2
main.py
|
@ -202,7 +202,7 @@ if __name__ == '__main__':
|
||||||
client.on_message = mqtt_on_message
|
client.on_message = mqtt_on_message
|
||||||
|
|
||||||
client.publish("server-rack-led/power","True")
|
client.publish("server-rack-led/power","True")
|
||||||
client.publish("server-rack-led/mode","0")
|
client.publish("server-rack-led/mode","Rainbow")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
client.loop_start()
|
client.loop_start()
|
||||||
|
|
Loading…
Reference in New Issue