Hi Paul, /usr/share/weewx/user/interceptor.py dated Jan 16 - DRIVER_VERSION = '0.52'
I guess there must be a difference between the HP2551 and GW1000. I did see the current record rain_rate increase in the web page, but rain today did not, and the graph does not show any rainfall. I will attempt to increase the level of logging ahead of next rainfall to see if I can capture what is coming from the device. Best wishes James On Tuesday, 28 January 2020 03:41:22 UTC, Paul McGeorge wrote: > > Are you using the latest version .52? > > I am getting identical readings on ecowitt.net and Weewx with my GW1000 > and the latest version and no extra configuration for rain. > > On Monday, January 27, 2020 at 10:44:38 AM UTC-7, James Berry wrote: >> >> It has been raining here today. My HP2551 has uploaded rain to >> ecowitt.net and wu, but nothing has appeared in weewx. Looking at this >> perhaps the default config for the ecowitt-client needs some changes for me >> to get rain to be logged? >> >> Did you work out what to do? >> >> On Saturday, 18 January 2020 15:25:05 UTC, Vetti52 wrote: >>> >>> >>> >>> Am Montag, 13. Januar 2020 12:32:33 UTC+1 schrieb Vetti52: >>>> >>>> >>>> >>>> Am Sonntag, 12. Januar 2020 22:01:36 UTC+1 schrieb mwall: >>>>> >>>>> On Sunday, January 12, 2020 at 7:23:30 AM UTC-5, Vetti52 wrote: >>>>>> >>>>>> This will make things a bit easier. However, I must confess, that I >>>>>> am sometimes a bit messy. So, when updating interceptor.py from your >>>>>> site, >>>>>> I will have to remember, on which parts I mades my modifications. So, >>>>>> for >>>>>> me it would be much easier, if all modifications could reside in a >>>>>> separate file. I am afraid, that realizing this would a hard job for now. >>>>>> >>>>> >>>>> the only modifications you should make are to the weewx configuration >>>>> file. >>>>> >>>>> m >>>>> >>>> >>>> Well, I followed the procedure of Stephen to import rain event: >>>> >>>> https://www.wxforum.net/index.php?topic=37471.msg386960#msg386960 >>>> >>>> and additionally modified 'baromrelin': 'barometer', because my WS2900 >>>> has a very simple way to calculate "relative pressure" by just adding >>>> constantly 26.9 hPa to the measured "absolute pressure". For better >>>> comparison with official Weather Station data, I have changed the absolute >>>> pressure, so that the relative pressure meets the official data now. So, >>>> the absolute pressure is "wrong" and should not be the basis of >>>> calulation. >>>> At least not the way, it actually is. >>>> >>>> I am not sure, if both modifications could be entered into weewx.conf. >>>> >>> >>> Now, as it finally rains today, I have tried to modify weewx.conf that >>> way: >>> >>> [Interceptor] >>>> # This section is for the network traffic interceptor driver. >>>> >>>> # The driver to use: >>>> driver = user.interceptor >>>> device_type = ecowitt-client >>>> mode = listen >>>> port = 9000 >>>> [[sensor_map_extensions]] >>>> baromrelin = barometer >>>> battery_wh65 = battery >>>> eventrainin = rain_event >>>> rain_event = rainEvent >>>> >>>> >>>> >>>> >>> Rain is ok now. However, in Weewx current conditions barometer shows a >>> calculated value, derived from absolute pressure, not the adjusted relative >>> pressure, as expected. And the battery status is completely gone now. In >>> addition, I detected an alien: "ET 0.0 mm". What is it??? >>> >>> So, I went back to modify interceptor.py that way: >>> I introduced 'rainEvent': 'rain_event' into the DEFAULT_SENSOR_MAP in >>> class Consumer(object), introduced 'baromrelin': 'barometer', and >>> 'eventrainin': 'rain_event', in the LABEL_MAP of class >>> EcowittClient(Consumer) and commented out # 'baromrelin', 'eventrainin', in >>> the adjacent IGNORED_LABELS. >>> >>> That works fine, except that again there is no battery status at all. >>> And still ET is here... >>> >>> >>> -- 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/9f3cde1a-118a-4373-a217-8c9670917a5a%40googlegroups.com.