For completeness, here are the complete logs for an entry from my device
where it had rained earlier, but wasn't raining at the time.
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: raw data:
PASSKEY=xx&stationtype=EasyWeatherV1.4.6&dateutc=2020-01-28+06:37:00&tempinf=67.5&humidityin=46&baromrelin=29.106&baromabsin=29.106&tempf=37.9&humidity=87&winddir=274&winddir_avg10m=258&windspeedmph=10.5&windspdmph_avg10m=11.2&windgustmph=15.9&maxdailygust=28.6&rainratein=0.000&eventrainin=0.488&hourlyrainin=0.000&dailyrainin=0.106&weeklyrainin=0.488&monthlyrainin=0.921&yearlyrainin=0.921&solarradiation=0.00&uv=0&wh65batt=0&wh25batt=0&freq=433M&model=HP2551_V1.5.7
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter eventrainin=0.488
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter baromrelin=29.106
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter maxdailygust=28.6
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter monthlyrainin=0.921
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter model=HP2551_V1.5.7
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: unrecognized
parameter windspdmph_avg10m=11.2
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter hourlyrainin=0.000
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: unrecognized
parameter winddir_avg10m=258
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter freq=433M
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter yearlyrainin=0.921
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter dailyrainin=0.106
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter stationtype=EasyWeatherV1.4.6
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
parameter weeklyrainin=0.488
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: raw packet:
{'wind_speed': 10.5, 'humidity_in': 46.0, 'temperature_in': 67.5,
'solar_radiation': 0.0, 'wind_gust': 15.9, 'wh65_battery': 0.0,
'humidity_out': 87.0, 'uv': 0.0, 'dateTime': 1580193420, 'pressure':
29.106, 'temperature_out': 37.9, 'wind_dir': 274.0, 'wh25_battery': 0.0,
'rain_rate': 0.0, 'usUnits': 1}
Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: mapped
packet: {'pressure': 29.106, 'outHumidity': 87.0, 'UV': 0.0, 'radiation':
0.0, 'dateTime': 1580193420, 'windDir': 274.0, 'outTemp': 37.9,
'windSpeed': 10.5, 'inHumidity': 46.0, 'inTemp': 67.5, 'windGust': 15.9,
'rainRate': 0.0, 'usUnits': 1}
On Tuesday, 28 January 2020 16:19:37 UTC, James Berry wrote:
>
> I had assumed that since hourlyrainin and dailyrainin were present in the
> source data that these were meant to be mapped somewhere - the log says
> these are ignored (and have values in them). You are right that there was
> no rainfall at the time, but you can see that there had been some since
> midnight.
>
> Looking at interceptor.py I find the lines you refer to at line 2359
> (which is also the line they are in the latest github version)
> My weewx.config is pretty much verbatim - only just installed it and added
> the interceptor sections as per the instructions (it only has the port and
> the use of ecowitt-client) - it has no mapping extensions in
>
> Looking at my archive table I can see rain_rate is populated with values,
> but the rain column is NULL - so perhaps it is that the calculation is not
> happening rather than the mapping is wrong?
>
>
>
> On Tuesday, 28 January 2020 16:00:34 UTC, Vetti52 wrote:
>>
>> according to your data, there was no rain at that time. rain_rate is
>> zero. rain_total is not provided by your console and will be calculated. I
>> had the same problem, which is solved since version 0.51.
>> When starting interceptor.py manually, you will see, how the sensors are
>> labelled by your console.
>>
>> have a look into interceptor.py
>>
>> starting at line 2246
>>
>>> 'totalrainin': 'rain_total',
>>> 'rainratein': 'rain_rate',
>>>
>>
>> These lines made it for me. Since version 0.51 rain works fine. However,
>> now there is wh65_battery missing in weewx. So, it is not yet perfect.
>>
>> Do you have any entries in weewx.conf?
>>
>>> [Interceptor]
>>> [[sensor_map_extensions]]
>>>
>>
>>
>> Am Dienstag, 28. Januar 2020 07:40:19 UTC+1 schrieb James Berry:
>>>
>>> Looks like there was some rain since midnight, this is the log entry
>>> being generated - looks like the rain total is being ignored and this could
>>> be the reason?
>>>
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread:
>>> unrecognized parameter windspdmph_avg10m=11.2
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter hourlyrainin=0.000
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread:
>>> unrecognized parameter winddir_avg10m=258
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter freq=433M
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter yearlyrainin=0.921
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter dailyrainin=0.106
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter stationtype=EasyWeatherV1.4.6
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: ignored
>>> parameter weeklyrainin=0.488
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: raw
>>> packet: {'wind_speed': 10.5, 'humidity_in': 46.0, 'temperature_in': 67.5,
>>> 'solar_radiation': 0.0, 'wind_gust': 15.9, 'wh65_battery': 0.0,
>>> 'humidity_out': 87.0, 'uv': 0.0, 'dateTime': 1580193420, 'pressure':
>>> 29.106, 'temperature_out': 37.9, 'wind_dir': 274.0, 'wh25_battery': 0.0,
>>> 'rain_rate': 0.0, 'usUnits': 1}
>>> Jan 28 06:37:02 weather weewx[27613]: interceptor: MainThread: mapped
>>> packet: {'pressure': 29.106, 'outHumidity': 87.0, 'UV': 0.0, 'radiation':
>>> 0.0, 'dateTime': 1580193420, 'windDir': 274.0, 'outTemp': 37.9,
>>> 'windSpeed': 10.5, 'inHumidity': 46.0, 'inTemp': 67.5, 'windGust': 15.9,
>>> 'rainRate': 0.0, 'usUnits': 1}
>>>
>>> On Tuesday, 28 January 2020 06:21:48 UTC, James Berry wrote:
>>>>
>>>> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/4ba1c0f0-eaed-4412-a8e1-5e581c7306b5%40googlegroups.com.