- Calibrate temperature
- Removed radar timeline
This commit is contained in:
@@ -178,7 +178,7 @@ def read_bme(c, sensor, alt_m=None):
|
|||||||
p_rate, p_label = get_pressure_trend(c['PRESSURE_TREND_WINDOW'])
|
p_rate, p_label = get_pressure_trend(c['PRESSURE_TREND_WINDOW'])
|
||||||
dp = round(t - (100-rh)/5.0, 2)
|
dp = round(t - (100-rh)/5.0, 2)
|
||||||
write(c, 'environment', {
|
write(c, 'environment', {
|
||||||
'temperature': round(t - c[''], 2),
|
'temperature': round(t - c['TEMP_CALIBRATION'], 2),
|
||||||
'humidity': round(rh, 2),
|
'humidity': round(rh, 2),
|
||||||
'dew_point': dp,
|
'dew_point': dp,
|
||||||
'pressure_hpa': round(p, 2),
|
'pressure_hpa': round(p, 2),
|
||||||
|
|||||||
Reference in New Issue
Block a user