testing variable passthrough
This commit is contained in:
@@ -95,9 +95,9 @@ def run(sensor):
|
||||
proc.kill()
|
||||
client = connect_mqtt()
|
||||
client.loop_start()
|
||||
print (sensor)
|
||||
while True:
|
||||
temp = getValues(sensor)
|
||||
humidity = getValues(sensor)
|
||||
temp, humidity = getValues(sensor)
|
||||
publish(client, temp, humidity)
|
||||
|
||||
#if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user