This commit is contained in:
xyj 2023-12-14 09:43:18 +08:00
parent 52c546a7c2
commit 106b574a88
1 changed files with 0 additions and 2 deletions

View File

@ -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,