diff --git a/mqtt/tempSensor.py b/mqtt/tempSensor.py index 7f92645..82ffe7f 100644 --- a/mqtt/tempSensor.py +++ b/mqtt/tempSensor.py @@ -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