BackEnd files changed

This commit is contained in:
caliskanbi
2023-04-20 03:21:08 +02:00
parent 5c02b0a2bc
commit 57cadbbbf0
6 changed files with 82 additions and 71 deletions
@@ -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)