Windspeed with MQTT not in km/h

102 views
Skip to first unread message

Geni

unread,
Apr 8, 2022, 10:18:29 AM4/8/22
to weewx-user
In the Vantage Pro2 Console the wind is displayed in km/h,
but in the MQTT stream in "windSpeed_mps "and on the weewx-website the values are also in miles/h not km/h like text (picture), in the graph again in km/h.
Geni
weewx01.jpg

Geni

unread,
Apr 8, 2022, 10:54:43 AM4/8/22
to weewx-user
with
    [[MQTT]]
        unit_system = METRICWX
 the wind display is wrong but the rain display is correct
weewx02.jpg

with
    [[MQTT]]
        unit_system = METRIC
the wind display is correct but the rain display is too small by factor 10
weewx03.jpg
 
How do I solve this problem?

Karen K

unread,
Apr 9, 2022, 6:15:49 AM4/9/22
to weewx-user


    [[MQTT]]
        unit_system = METRIC
        ...
        [[[inputs]]]
            [[[[rainRate]]]]
                units = mm_per_hour
            [[[[rain]]]]
                units = mm 
            [[[[hourRain]]]]
                units = mm 
            [[[[rain24]]]]
                units = mm 
            [[[[dayRain]]]]
                units = mm 
            [[[[ET]]]]
                units = mm
            [[[[dayET]]]]
                units = mm
            [[[[ET24]]]]
                units = mm 

Karen K

unread,
Apr 9, 2022, 6:25:22 AM4/9/22
to weewx-user
Additionally that link for german speaking users: https://www.woellsdorf-wetter.de/software/mosquitto.html

Geni

unread,
Apr 9, 2022, 8:16:39 AM4/9/22
to weewx-user
Thanks works.
Why do not all values have to be listed here?
Where is defined which values are in the MQTT stream?
 Geni

Karen K

unread,
Apr 9, 2022, 10:10:31 AM4/9/22
to weewx-user
The METRIC unit system describes default units for all observation types known to WeeWX. You need to list only, where you want to use another unit than the default unit for that unit system.

If you include obs_to_upload = inputs in the MQTT configuration, then the observation types listed in the [inputs] section are sent only.
Reply all
Reply to author
Forward
0 new messages