@Michael, I assume you're using target_unit = METRIC # Options are 'US', 'METRICWX', or 'METRIC' or target_unit = METRICWX
I use target_unit = US I don't know why p_rain is being then written to the database in inches for you; I don't have enough experience with WeeWx for that. But if you use payload_key = p_rain_in the display should be correct [email protected] schrieb am Freitag, 12. September 2025 um 05:25:57 UTC+2: > May it's that I use p_rain and not hail: > > [[[[rain]]]] > [[[[[rain]]]]] > payload_key = rain_mm > [[[[[p_rain]]]]] > plotType = bar > aggregateType = sum > aggregateInterval = 1800 > payload_key = p_rain_mm > showMaxMarkPoint = false > showMinMarkPoint = false > showAvgMarkLine = false > lineColor = "#428bca77" > decimals = 1 > > The interesting thing is, when receiving data from LOOP using MQTT, the > value is correct, it's only the databa value that isn't. > John Smith schrieb am Freitag, 12. September 2025 um 03:57:19 UTC+2: > >> On Fri, 12 Sept 2025 at 03:41, p q <[email protected]> wrote: >> >>> I am pretty sure the US uses the international inch for far longer. >>> Since before I started working with canadian companies in the 1990s. There >>> is official looking documentation that shows the international yard (and >>> thus the inch) defined in 1959 >>> https://usma.org/wp-content/uploads/2015/06/sp447-app5.pdf?x40840 >>> There are still various survey foot definitions with slightly different >>> values in the US, and of course the nautical mile and related measures. >>> https://oceanservice.noaa.gov/geodesy/international-foot.html >>> >> >> If you disagree update the Wikipedia page with references... *grin* >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/460e79c9-cbb4-4999-a321-3b961764121an%40googlegroups.com.
