Testing local variable error

This commit is contained in:
2022-12-01 11:24:38 -05:00
parent 6195fc4d40
commit 8b630b8ddc

View File

@@ -85,7 +85,8 @@ 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)
client.loop_stop() #Stop loop