hideki-rain, rtl_433

126 views
Skip to first unread message

Leonard Pheobus

unread,
Dec 8, 2022, 7:54:58 AM12/8/22
to weewx-user
I seem not to be getting the correct rain information
I have a Hideki-rain sensor connected to Weewx via rtl_433 and a mqtt broker.

my weewx.conf includes;

     # Hideki-Rain
            # Hideki-Rain
        [[[rtl_433/napali-server/devices/Hideki-Rain/4/0/rain_in]]]
            # The WeeWX name.
            name = rain

is this the correct config? do I use rain, rain_total, rain)in.......?


bell...@gmail.com

unread,
Dec 9, 2022, 3:47:18 PM12/9/22
to weewx-user
I’m guessing that you are using MQTTSubscribe…
It depends on how the sensor is 'reporting' rain.  WeeWX expects the observation rain to be a delta value. If the sensor is 'reporting' a total value, it needs to be converted to a delta value. While MQTTSubscribe can do the conversion (see, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring#contains_total), starting in 4.2/4.3 this functionality is built into WeeWX. Some information on configuring WeeWX can be found here, https://groups.google.com/g/weewx-user/c/FYHyoM9AfGw. Since calculating a delta is now built into WeeWX, this functionality will eventually be removed from MQTTSubscribe.
It also might be a unit conversion 'error'.
Based on the information provided, those would be my first guesses.
rich

Leonard Pheobus

unread,
Dec 14, 2022, 4:54:34 AM12/14/22
to weewx-user
Thanks for the reply. Yes you are correct , I use MQTTSubscribe. I will keep that delta value thing in mind. I want to make sure my weewx.config is correct and need to know what to "connect" my hideki-rain guage to in the config.  SO here is the stanza in my config

     # Hideki-Rain
            # Hideki-Rain
        [[[rtl_433/napali-server/devices/Hideki-Rain/4/0/rain_in]]]
            # The WeeWX name.
            name = rain_total

Is the 'name' correct? or do I use "rain", "rain_in" etc?

Thanks
Reply all
Reply to author
Forward
0 new messages