testing variable passthrough
This commit is contained in:
@@ -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__':
|
||||||
|
|||||||
Reference in New Issue
Block a user