update
This commit is contained in:
parent
52c546a7c2
commit
106b574a88
|
@ -175,8 +175,6 @@ def get_data():
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
# print('{"name":"%d","name1":"%d"}', 123,456)
|
# print('{"name":"%d","name1":"%d"}', 123,456)
|
||||||
# data = [{'ngvhgv': airtemp_data}, {'nvjgvjvj':airhumi_data}]
|
# data = [{'ngvhgv': airtemp_data}, {'nvjgvjvj':airhumi_data}]
|
||||||
else:
|
|
||||||
print("故障")
|
|
||||||
data = {'ambient_temperature': airtemp_data,
|
data = {'ambient_temperature': airtemp_data,
|
||||||
'ambient_humidity': airhumi_data,
|
'ambient_humidity': airhumi_data,
|
||||||
'carbon_dioxide': co2_data,
|
'carbon_dioxide': co2_data,
|
||||||
|
|
Loading…
Reference in New Issue