Commit c5169854 authored by Piotr "PHT" Jasiek's avatar Piotr "PHT" Jasiek

Fixing bugs

parent 27856572
......@@ -15,7 +15,7 @@ sensor = BME280(t_mode=BME280_OSAMPLE_8, p_mode=BME280_OSAMPLE_8, h_mode=BME280_
###Requesting time
request_time = datetime.datetime.now().strftime("%s")
###Requesting sensors
laptop_ram = get_memory_percent()
......@@ -35,8 +35,8 @@ try:
add_record(request_time, 'laptop_fan_rpm', laptop_fan_rpm)
add_record(request_time, 'laptop_cpu_temp', laptop_cpu_temp)
add_record(request_time, 'laptop_outside_temp', laptop_outside_temp)
add_record(request_time, 'laptop_outside_humidity', laptop_outside_temp)
add_recotd(request_time, 'laptop_outside_pressure', laptop_outside_pressure)
add_record(request_time, 'laptop_outside_humidity', laptop_outside_humidity)
add_record(request_time, 'laptop_outside_pressure', laptop_outside_pressure)
except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment