Yearly inside temperature in Fahrenheit instead Celsius

77 views
Skip to first unread message

pete...@gmail.com

unread,
Jul 21, 2021, 2:37:10 AM7/21/21
to weewx-user
Hi,
I've noticed this time ago but never reported. My default temperature unit is Celsius. I'm plotting the inside temperature (InTemp) and all (day,week,month) except the yearly plots the units are Celsius. Only in the yearly plot, the units are Fahrenheit.

This is an excerpt from the skin.conf:

[[[yearhilowinsidetemp]]]
[[[[hi]]]]
data_type = InTemp
aggregate_type = max
label = Najvišja
[[[[low]]]]
data_type = InTemp
aggregate_type = min
label = Najnižja

The yearly plot for the outTemp uses Celsius correctly.
I'm using weewx version 3.9.2

Is there any workaround?

thanks.

gjr80

unread,
Jul 21, 2021, 3:06:56 AM7/21/21
to weewx-user
This could have any one of a number of causes. A few questions:
  • what skin is this, Seasons? Standard? or something else?
  • what driver are you using? Does it provide both inTemp and outTemp?
  • try running WeeWX directly, you should see loop packets (LOOP:) and archive records (REC:) appearing on screen. Confirm that inTemp and outTemp are both using the same units. Post a copy of some loop packets here if you are unsure what you are looking at/for.
Gary

mihec

unread,
Jul 21, 2021, 4:07:34 AM7/21/21
to weewx-user
Hi Gary,

I'm using Davis Vantage Vue, so Davis' driver. The skin in neowx.
Here are few LOOP and one REC package. As far as I see both temperatures are provided in F.

LOOP:   2021-07-21 10:00:16 CEST (1626854416) altimeter: 30.0362696612, appTemp: 83.9711652735, barometer: 30.032, cloudbase: 4675.84812603, consBatteryVoltage: 4.44, dateTime: 1626854416, dayET: 0.0, dayRain: 0.0, dewpoint: 61.0462682455, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 44, heatindex: 81.2791612491, humidex: 88.7588174669, inDewpoint: 57.9925092852, inHumidity: 45.0, insideAlarm: 0, inTemp: 81.4, leafWet4: 0.0, maxSolarRad: 661.218396019, monthET: 0.0, monthRain: 2.6299212605, outHumidity: 52.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 80.3, pressure: 29.7210291893, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.25984251975, stormStart: 1626732000, sunrise: 1626845100, sunset: 1626899760, trendIcon: 20, txBatteryStatus: 0, usUnits: 1, windchill: 80.3, windDir: None, windGust: 1.0, windGustDir: 82.0, windSpeed: 0.0, windSpeed10: 2.0, yearET: 0.0, yearRain: 27.8346456762
REC:    2021-07-21 10:00:00 CEST (1626854400) altimeter: 30.0362696612, appTemp: 83.4078962735, barometer: 30.032, cloudbase: 4675.84812603, consBatteryVoltage: 4.44, dateTime: 1626854400, dayET: 0.0, dayRain: 0.0, dewpoint: 61.0462682455, ET: 0.0, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, extraTemp1: 100.4, forecastIcon: 6.0, forecastRule: 44, heatindex: 81.2791612491, highOutTemp: 80.3, humidex: 88.7588174669, inDewpoint: 57.9925092852, inHumidity: 45.0, insideAlarm: 0.0, inTemp: 81.4, interval: 1, leafTemp1: -90.0, leafTemp2: -82.0, leafWet1: 6.6, leafWet2: 7.6, leafWet4: 0.0, lowOutTemp: 80.2, maxSolarRad: 660.504969787, monthET: 0.0, monthRain: 2.6299212605, outHumidity: 52.0, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 80.3, pressure: 29.7210291893, radiation: 490.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, rxCheckPercent: 98.2291666667, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, soilMoist1: 1021.0, soilMoist2: 2614.0, soilMoist3: 0.0, soilMoist4: 32.0, soilTemp1: 73.85, soilTemp2: 73.29, soilTemp3: -90.0, soilTemp4: -90.0, stormRain: 0.25984251975, stormStart: 1626732000.0, strele: 0.0, sunrise: 1626845100.0, sunset: 1626899760.0, trendIcon: 20.0, txBatteryStatus: 0, usUnits: 1, windchill: 80.3, windDir: 90.0, windGust: 3.0, windGustDir: 90.0, windrun: 0.0166666666667, windSpeed: 1.0, windSpeed10: 2.0, yearET: 0.0, yearRain: 27.8346456762
LOOP:   2021-07-21 10:00:18 CEST (1626854418) altimeter: 30.0362696612, appTemp: 83.9711652735, barometer: 30.032, cloudbase: 4675.84812603, consBatteryVoltage: 4.44, dateTime: 1626854418, dayET: 0.0, dayRain: 0.0, dewpoint: 61.0462682455, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 44, heatindex: 81.2791612491, humidex: 88.7588174669, inDewpoint: 57.9925092852, inHumidity: 45.0, insideAlarm: 0, inTemp: 81.4, leafWet4: 0.0, maxSolarRad: 661.307473419, monthET: 0.0, monthRain: 2.6299212605, outHumidity: 52.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 80.3, pressure: 29.7210291893, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.25984251975, stormStart: 1626732000, sunrise: 1626845100, sunset: 1626899760, trendIcon: 20, txBatteryStatus: 0, usUnits: 1, windchill: 80.3, windDir: None, windGust: 1.0, windGustDir: 82.0, windSpeed: 0.0, windSpeed10: 2.0, yearET: 0.0, yearRain: 27.8346456762

Here is the definition of the units in the weewx.conf file:
    [[Defaults]]
        
        [[[Units]]]
            
            # The following section sets what unit to use for each unit group.
            # NB: The unit is always in the singular. I.e., 'mile_per_hour',
            # NOT 'miles_per_hour'
            [[[[Groups]]]]
                
                group_altitude = meter    # Options are 'foot' or 'meter'
                group_degree_day = degree_C_day    # Options are 'degree_F_day' or 'degree_C_day'
                group_pressure = mbar    # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
                group_rain = mm    # Options are 'inch', 'cm', or 'mm'
                group_rainrate = mm_per_hour    # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
                group_speed = km_per_hour    # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
                group_speed2 = km_per_hour2    # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
                group_temperature = degree_C    # Options are 'degree_F' or 'degree_C'
        group_distance = km
        group_hailrate = min

Please note that I'm using some fields (e.g. hailrate, etc.) for other sensor values (radioactivity, gamma rays, etc.).
Also, the daily, weekly and monthly plots of the InTemp all show Celsius.

Thanks.
sreda, 21. julij 2021 ob 09:06:56 UTC+2 je oseba gjr80 napisala:

gjr80

unread,
Jul 21, 2021, 4:33:41 AM7/21/21
to weewx-user
OK, some folks have hybrid systems with, for example, outdoor obs coming from sensors via SDR and indoor obs coming from somewhere else and at time they can have unit issues. But you are using the vantage driver where everything is provided by the one driver/station. Your inTemp and outTemp obviously agree so any subsequent conversions would result in the same units. Nothing else looks unusual.

Just looked again at your skin.conf extract, are you using InTemp or inTemp. I would have thought it should be inTemp, case matters here.

Gary

mihec

unread,
Jul 21, 2021, 8:49:45 AM7/21/21
to weewx-user
I had to check until now so the yearly plots are refreshed. Thanks much, Gary! The case does matter indeed! Problem solved.

sreda, 21. julij 2021 ob 10:33:41 UTC+2 je oseba gjr80 napisala:

gjr80

unread,
Jul 21, 2021, 9:19:03 AM7/21/21
to weewx-user
Interesting failure mode, I would have expected InTemp to fail with an error not generate a plot in F. Also as an aside, plots with aggregates are generated every aggregate_interval, in this case (I believe) every 24 hours. If you don’t want to wait you can force generation to occur on the next report cycle by deleting the previously generated image.

Gary

Reply all
Reply to author
Forward
0 new messages