No external data

This commit is contained in:
2019-05-26 16:34:04 +02:00
parent 8bda8fb39b
commit 19f2aa89d4

View File

@@ -396,13 +396,16 @@ if '__main__':
"winddir": raw_winddir})
# Get data external to the ISS, from local PCB / internal
# sensors and create base values for influx writing
'''
This shit ain't working without external sensors
davis_decoder.load_external_data()
influx_weather_write = davis_writer.base_construct(
{ "speed": float(wind['speed']),
"direction": float(wind['direction']),
"temperature": float(davis_decoder.inside_temp),
"humidity": float(davis_decoder.inside_hum)}
)
)'''
# Wind gusts calculation
if davis_packet_id == '0x9':
@@ -540,4 +543,3 @@ if '__main__':
print("No data here, mate.")
except serial.serialutil.SerialException as e:
print("Serial Error {}".format(e))