bellrichm / WeeWX-MQTTSubscribe

A WeeWX service and driver that receives data from MQTT.
GNU General Public License v3.0
52 stars 13 forks source link

problem reading values... #174

Closed PAOK1926 closed 1 year ago

PAOK1926 commented 1 year ago

hello again.. now i have this problem...

`Nov 16 00:10:39 AD110-NOC weewx[97244] ERROR user.MQTTSubscribe: (Driver) MessageCallbackProvider on_message_keyword failed to find separator: =

Nov 16 00:10:39 AD110-NOC weewx[97244] ERROR user.MQTTSubscribe: (Driver) **** MessageCallbackProvider Skipping field=15.5

Nov 16 00:10:39 AD110-NOC weewx[97244] ERROR user.MQTTSubscribe: (Driver) MessageCallbackProvider on_message_keyword failed to find data in: topic=rtl_433/9b13b3f4-rtl433/devices/Bresser-6in1/0/1895852359/temperature_C and payload=b'15.5' `

bellrichm commented 1 year ago

I think you have the wrong payload type.. Try this

    [[message_callback]]
        type = individual
PAOK1926 commented 1 year ago

thank you very much, it worked...

my problem now is that i have in weewx.conf

` [[[rtl_433/9b13b3f4-rtl433/devices/Bresser-6in1/0/1895852359/rain_mm]]]

    name = rain

` mqtt reports rain_mm=0.4 but weewx adds all these values.. now it shows this:

Rain Today | 18.00 cm Rain Rate | 26.73 cm/h

bellrichm commented 1 year ago

I’m verifying what needs to be added to weewx.conf. See, https://groups.google.com/g/weewx-user/c/FYHyoM9AfGw

bellrichm commented 1 year ago

From the WeeWX user group the following should work.

      [StdWXCalculate]
             [[Delta]]
                [[[rain]]]
                    input = totalRain

Where totalRain is the name specified in the MQTTSubscribe section

bellrichm commented 1 year ago

Any luck getting the correct rain value?

github-actions[bot] commented 1 year ago

This issue has been marked stale because it has been waiting for more information for 4 weeks.

github-actions[bot] commented 1 year ago

This issue has been closed because the requested information has not been provided.