debugging
This commit is contained in:
@@ -85,7 +85,7 @@ def publish(client, temp, humidity):
|
||||
while True:
|
||||
client = connect_mqtt()
|
||||
client.loop_start()
|
||||
#temp, humidity = getValues(sensor)
|
||||
temp, humidity = getValues(sensor)
|
||||
getValues(sensor)
|
||||
publish(client, temp, humidity)
|
||||
time.sleep (60.0)
|
||||
|
||||
Reference in New Issue
Block a user