BackEnd files changed
This commit is contained in:
1 parent
5c02b0a2bc
commit
57cadbbbf0
6 files changed
+82
-71
No files matched your search
@@ -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