testing variable passthrough

This commit is contained in:
2022-11-28 16:02:52 -05:00
parent bf8b578272
commit b39fd35fd1

View File

@@ -95,9 +95,9 @@ def run(sensor):
proc.kill() proc.kill()
client = connect_mqtt() client = connect_mqtt()
client.loop_start() client.loop_start()
print (sensor)
while True: while True:
temp = getValues(sensor) temp, humidity = getValues(sensor)
humidity = getValues(sensor)
publish(client, temp, humidity) publish(client, temp, humidity)
#if __name__ == '__main__': #if __name__ == '__main__':