Belchertown skin 1.1 RainWithRainRate in cm not mm

123 views
Skip to first unread message

Neville Davis

unread,
Oct 24, 2020, 5:17:53 AM10/24/20
to weewx-user
Hi
We have had rain for the first time in many months, we had about 20mm in about 30 mins...total daily rain is correct, but because of the intensity of the rain I had the station observation rain with rain rate displaying cm values not mm values, i.e 1.9 instead of 19mm and 3.5 instead of 35 mm/h. The daily rain totals correct in mm.
I cannot see where this data is calculated.
My weewx.conf MQTT section only has this
    [[MQTT]]
        server_url = mqtt:xxxxxxxxxxxxxxxxx
        topic = weather
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

The Belchertown section has this ( note I have a couple of special observations for my aircon and FARS temperature enclosure fan speed)
    [[Belchertown]]
        skin = Belchertown
        enable = true
        HTML_ROOT = public_html/belchertown
        [[[Extras]]]
            belchertown_root_url = http://xxxxxxxxx
            belchertown_locale = auto
            theme = auto
            theme_toggle_enabled = 1
            site_title = Nev and Gays Home
            home_page_header = Weather conditions
            mqtt_websockets_enabled = 1
            mqtt_websockets_host = xxxxxxxxxxx
            mqtt_websockets_port = 9001
            mqtt_websockets_topic = weather/loop
            mqtt_websockets_ssl = 0
            disconnect_live_website_visitor = 900000
            logo_image = ""
            #footer_copyright_text = ""
            forecast_enabled = 1
            darksky_secret_key = xxxxxxxxxxxxxxxx
            earthquake_enabled = 0
            twitter_enabled = 1
            station_observations = inTemp, extraTemp1, acroomtempsensor, barometer, outHumidity, rainWithRainRate, farsSpeed
I expect I need to set the observation RainWithRainRate to mm, my question is how.

Thankyou

Nev

Arend

unread,
Oct 24, 2020, 4:00:43 PM10/24/20
to weewx-user
Hi Nev,

What worked for me is changing unit_system = METRIC into METRICWX under MQTT. But maybe you need to make some more changes (like I had to do), do you have a website to check?

Regards, Arend
Op zaterdag 24 oktober 2020 om 11:17:53 UTC+2 schreef nevilled...@gmail.com:

Neville Davis

unread,
Oct 24, 2020, 4:21:24 PM10/24/20
to weewx-user
Thanks I will try that, my web site   http://nevsweather.duckdns.org:8048/weather/belchertown/index.html

We are expecting a lot more rain this week so will be a good opportunity to get this fixed :). 

Regards

Neville

Arend

unread,
Oct 25, 2020, 6:01:05 AM10/25/20
to weewx-user
I can not connect to you MQTT broker, but noticed that you are using km/h for windspeed. In that case I think you should stick to METRIC for unit_system and make these changes to MQTT section:

    [[MQTT]]
        server_url = mqtt:xxxxxxxxxxxxxxxxx
        topic = weather
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate
        [[[inputs]]]
                [[[[dayRain]]]]
                        name = dayRain_mm
                        units = mm
                [[[[rainRate]]]]
                        name = rainRate_mm_per_hour
                        units = mm_per_hour



Op zaterdag 24 oktober 2020 om 22:21:24 UTC+2 schreef nevilled...@gmail.com:

Neville Davis

unread,
Oct 25, 2020, 7:23:48 AM10/25/20
to weewx-user
Thanks I will try this edit.

Nev

Neville Davis

unread,
Oct 25, 2020, 8:25:43 AM10/25/20
to weewx-user
OK found my site had crashed, edited as suggested, after a light shower of rain the data looks good so far.


Thanks

Nev

Neville Davis

unread,
Oct 25, 2020, 5:00:39 PM10/25/20
to weewx-user
Now have had some good rain, display is now in mm.
Thanks Arend

Neville

Reply all
Reply to author
Forward
0 new messages