You'll also need to update rain, rainRate too for mm [[[inputs]]] [[[[dayRain]]]] name = dayRain_mm units = mm [[[[rainRate]]]] name = rainRate_mm_per_hour units = mm_per_hour [[[[rain]]]] name = rain_mm units = mm
On Tuesday, July 14, 2020 at 12:01:45 PM UTC-4, Pat wrote: > > You're MQTT is sending rain information in CM. Do you want it in CM or MM? > > Looking at the code, you'll want rainWithRainRate to show the dayRain > observation. > > If you want this in MM, you need to update your weewx.conf [[MQTT]] > section to send data in MM. > > [[MQTT]] > [[[inputs]]] > [[[[dayRain]]]] > name = dayRain_mm > units = mm > > > MQTT: {"dateTime": "1594742272.0", "outTemp_C": "21.333333333333336", > "outHumidity": "64.9", "dewpoint_C": "14.444444444444445", "heatindex_C": > "21.166666666666664", "windchill_C": "21.333333333333336", "windSpeed_kph": > "1.7059046400000002", "windDir": "360.0", "windGust_kph": > "3.4118092800000004", "windGustDir": "6.0", "barometer_mbar": > "1015.7471282370167", "pressure_mbar": "998.4088208638761", "rain_cm": > "0.0", "rainRate_cm_per_hour": "0.0", "inTemp_C": "25.944444444444443", > "inHumidity": "42.6", "inDewpoint_C": "12.277777777777779", "usUnits": > "16.0", "altimeter_mbar": "1016.4348448211537", "appTemp_C": > "22.423477298218454", "beaufort_count": "0.0", "cloudbase_meter": > "988.6539444933627", "humidex_C": "24.96873770987386", "maxSolarRad_Wpm2": > "531.7266550230675", "hourRain_cm": "0.0", "rain24_cm": "0.0600000324", > "dayRain_cm": > "0.0600000324"} > > > On Tuesday, July 14, 2020 at 11:56:45 AM UTC-4, Didier Decoodt wrote: >> >> meteo-auffargis.decoodt.eu >> >> Le mar. 14 juil. 2020 à 17:56, Pat <p...@obrienphoto.net> a écrit : >> >>> What is the link to your site? I'll take a look at it through your debug >>> >>> On Tuesday, July 14, 2020 at 11:55:18 AM UTC-4, Didier Decoodt wrote: >>>> >>>> How do you do that? >>>> >>>> >>>> Le mar. 14 juil. 2020 à 17:50, Pat <p...@obrienphoto.net> a écrit : >>>> >>>>> What does your mqtt say for rain or day rain? >>>>> >>>>> On Tuesday, July 14, 2020 at 11:40:57 AM UTC-4, Didier Decoodt wrote: >>>>>> >>>>>> I verify rainTotal in graphs.conf, it's OK 0,6 mm >>>>>> >>>>>> Le mar. 14 juil. 2020 à 17:33, Didier Decoodt <didier...@gmail.com> >>>>>> a écrit : >>>>>> >>>>>>> I try rainTotal and rainRate ==> Invalid observation >>>>>>> I try rainWithRainRate ==> always 0,1mm (instead of 0,6) >>>>>>> >>>>>>> >>>>>>> Le mar. 14 juil. 2020 à 17:23, Pat <p...@obrienphoto.net> a écrit : >>>>>>> >>>>>>>> Or if you want them separated, try >>>>>>>> >>>>>>>> station_observations = "barometer", "dewpoint", "outHumidity", >>>>>>>> "rainTotal", "rainRate" >>>>>>>> >>>>>>>> >>>>>>>> "rain" will show you just the last rain value from mqtt, if you >>>>>>>> want the total you'll need to try rainTotal or rainWithRainRate >>>>>>>> >>>>>>>> On Tuesday, July 14, 2020 at 11:21:40 AM UTC-4, Pat wrote: >>>>>>>>> >>>>>>>>> I think you'll want this >>>>>>>>> >>>>>>>>> station_observations = "barometer", "dewpoint", "outHumidity", >>>>>>>>> "rainWithRainRate" >>>>>>>>> >>>>>>>>> Save and restart weewx >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tuesday, July 14, 2020 at 11:18:11 AM UTC-4, Didier Decoodt >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Ah... this is for today (missunderstanding) >>>>>>>>>> But today I have 3*0.2=0.6 mm >>>>>>>>>> >>>>>>>>>> # Station Observations. Special observation >>>>>>>>>> rainWithRainRate combines Daily Rain with Rain Rate in 1 line >>>>>>>>>> station_observations = barometer, dewpoint, >>>>>>>>>> outHumidity, rain, rainRate >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Le mar. 14 juil. 2020 à 17:12, Pat <p...@obrienphoto.net> a >>>>>>>>>> écrit : >>>>>>>>>> >>>>>>>>>>> Why is this a problem? >>>>>>>>>>> >>>>>>>>>>> You've had 0,1mm of rain today right? >>>>>>>>>>> >>>>>>>>>>> This shows the rain you've had for today. >>>>>>>>>>> >>>>>>>>>>> What do you have for your station_observations setting? >>>>>>>>>>> >>>>>>>>>>> On Tuesday, July 14, 2020 at 10:58:30 AM UTC-4, Didier Decoodt >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> OK >>>>>>>>>>>> But now it is 5 PM, and the last rainfall was at 11 AM this >>>>>>>>>>>> morning, and I see 0,1 mm. >>>>>>>>>>>> This is a problem... >>>>>>>>>>>> >>>>>>>>>>>> Le mar. 14 juil. 2020 à 16:49, Pat <p...@obrienphoto.net> a >>>>>>>>>>>> écrit : >>>>>>>>>>>> >>>>>>>>>>>>> When the page is first loaded, it loads the information from >>>>>>>>>>>>> the database. After MQTT connects, it then updates from any >>>>>>>>>>>>> information in >>>>>>>>>>>>> MQTT. >>>>>>>>>>>>> >>>>>>>>>>>>> Sometimes MQTT is more updated than the databased depending on >>>>>>>>>>>>> the time of your archives. timing of loop, etc. >>>>>>>>>>>>> >>>>>>>>>>>>> On Tuesday, July 14, 2020 at 6:19:38 AM UTC-4, >>>>>>>>>>>>> didier....@gmail.com wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi >>>>>>>>>>>>>> >>>>>>>>>>>>>> I don't understand why I have a rain = 0,1 mm while it hasn't >>>>>>>>>>>>>> been raining for 1/4 h >>>>>>>>>>>>>> (RainRate seems to be correct during this period) >>>>>>>>>>>>>> When I press F5 to refresh the screen, it appears very >>>>>>>>>>>>>> shortly 0 mm, then 0,1 mm >>>>>>>>>>>>>> Do you have an explaination? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hereafter the "ip"/v1/current_conditions >>>>>>>>>>>>>> {"data":{"did":"001D0A711DF5","ts":1594720938,"conditions":[{"lsid":319839,"data_structure_type":1,"txid":1,"temp": >>>>>>>>>>>>>> >>>>>>>>>>>>>> 59.6,"hum":83.3,"dew_point": 54.5,"wet_bulb": 56.3,"heat_index": >>>>>>>>>>>>>> 59.6,"wind_chill": 59.6,"thw_index": >>>>>>>>>>>>>> 59.6,"thsw_index":null,"wind_speed_last":0.93,"wind_dir_last":300,"wind_speed_avg_last_1_min":0.93,"wind_dir_scalar_avg_last_1_min":260,"wind_speed_avg_last_2_min":0.62,"wind_dir_scalar_avg_last_2_min":266,"wind_speed_hi_last_2_min":3.43,"wind_dir_at_hi_speed_last_2_min":300,"wind_speed_avg_last_10_min":0.93,"wind_dir_scalar_avg_last_10_min":242,"wind_speed_hi_last_10_min":4.25,"wind_dir_at_hi_speed_last_10_min":15,"rain_size":2,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rainfall_last_60_min":3,"rainfall_last_24_hr":3,"rain_storm":3,"rain_storm_start_at":1594717981,"solar_rad":null,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":3,"rainfall_monthly":8,"rainfall_year":60,"rain_storm_last":5,"rain_storm_last_start_at":1593604621,"rain_storm_last_end_at":1593702061},{"lsid":319838,"data_structure_type":4,"temp_in": >>>>>>>>>>>>>> >>>>>>>>>>>>>> 77.8,"hum_in":40.6,"dew_point_in": 52.0,"heat_index_in": >>>>>>>>>>>>>> 76.9},{"lsid":319837,"data_structure_type":3,"bar_sea_level":30.074,"bar_trend":-0.002,"bar_absolute":29.561}]},"error":null} >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> 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 weewx...@googlegroups.com. >>>>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/e1dadaa1-f15f-41c4-8c32-702d4625b030o%40googlegroups.com >>>>>>>>>>>>> >>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/e1dadaa1-f15f-41c4-8c32-702d4625b030o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>>>>> . >>>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>> 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 weewx...@googlegroups.com. >>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/551c2bc9-d1f5-4fde-8d55-2b1e11fa8828o%40googlegroups.com >>>>>>>>>>> >>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/551c2bc9-d1f5-4fde-8d55-2b1e11fa8828o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>>> . >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>> 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 weewx...@googlegroups.com. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/94cbf91b-12c5-4ad5-aea1-7b9f149d5fc0o%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/94cbf91b-12c5-4ad5-aea1-7b9f149d5fc0o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>> 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 weewx...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/fff2dd6b-b562-43ab-8a3b-5d9f902b90f2o%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/fff2dd6b-b562-43ab-8a3b-5d9f902b90f2o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> 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 weewx...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/62e69db0-dfaf-4609-8d52-4ca6e5698551o%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/62e69db0-dfaf-4609-8d52-4ca6e5698551o%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ad7b0cf0-f128-4434-ab19-4576ae30c133o%40googlegroups.com.