BackEnd files changed
This commit is contained in:
@@ -10,7 +10,7 @@ client.connect(mqttBroker)
|
||||
|
||||
while True:
|
||||
randNumber = uniform(20.0, 21.0)
|
||||
client.publish("planttest", randNumber)
|
||||
client.publish("Robot/Data/Battery")
|
||||
print("Just published " + str(randNumber) + " to topic TEMPERATURE")
|
||||
time.sleep(0.5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user