Weewx Interceptor Unrecognized parameter / Ignored parameter

518 views
Skip to first unread message

Invisible Man

unread,
Oct 14, 2022, 3:28:18 AM10/14/22
to weewx-user
Hi,
I am using the Interceptor to process packets from an EcoWitt HP2551 weather station (I do not have the GW1000 gateway).
The logs of weewx show a few anomalies I'd like to check if it is normal / solution.

1- PASSKEY

Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: raw data: b'PASSKEY=CENSORED&stationtype=EasyWeatherPro_V5.0.6&runtime=496678&dateutc=2022-10-
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] INFO user.interceptor: unrecognized parameter b'PASSKEY=CENSORED

I suppose this passkey is specific to the EcoWitt protocol and it's normal the interceptor does not recognize it?

2- Station type

14+07:18:09&tempinf=72.9&humidityin=63&baromrelin=29.734&baromabsin=29.734&tempf=60.8&humidity=90&winddir=226&windspeedmph=0.00&windgustmph=2.24&maxdailygust=3.36&solarradiation=59.51&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=1.122&monthlyrainin=1.449&yearlyrainin=1.449&wh65batt=0&wh25batt=0&freq=868M&model=HP2551AE_Pro_V1.8.0'
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter stationtype=EasyWeatherPro_V5.0.6

It does not know either about "stationtype". This is perhaps normal too. But checking.

3- baromrelin, maxdailygust,

There are many other ignored parameters. Is this normal?

Oct 14 09:18:09 vegan python3[28665]: weewx[28665] INFO user.interceptor: unrecognized parameter runtime=496678
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter baromrelin=29.734
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter maxdailygust=3.36
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter eventrainin=0.000
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter hourlyrainin=0.000
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter dailyrainin=0.000
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter weeklyrainin=1.122
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter monthlyrainin=1.449
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter freq=868M
Oct 14 09:18:09 vegan python3[28665]: weewx[28665] DEBUG user.interceptor: ignored parameter model=HP2551AE_Pro_V1.8.0'

Thanks,

Axelle.

Rainer Lang

unread,
Oct 14, 2022, 4:30:02 AM10/14/22
to weewx...@googlegroups.com
yes, this is normal in the sense that the interceptor driver only handles the classic observations and the ones shown in your log are out of the normal (for the standard interceptor).

Most of these messages (ignored parameter) only appear in the syslog when you have debug = 1 activated in weewx.conf

The driver knows "stationtype" and is supposed to ignore it - see interceptor.py line 2371 IGNORED_LABELS
It should recognize "PASSKEY" though. Why it doesn't do this and writes an error messages is to be figured out but only a "beauty thing". The driver will still work properly and provide your console data to weewx.

regarding baromrelin (= rel pressure in inches), weewx calculates the relative air pressure from the absolute air pressure using the 12-hour average of outdoor temperature and your station elevation - so no worries here. maydailygust will be determined by weewx from the recorded gust values.

the interceptor driver doesn't know the rather new "runtime" variable in the Ecowitt protocol yet - you can edit/add it to the ignored label list in line 2371 of the interceptor.py file
(you have to put the to be added parameters into ' ', i.e. 'runtime' and not just runtime - and also add a comma e.g. " 'runtime', " [without ""]; the position in the list doesn't matter)
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b09540d8-27b7-4131-b59b-7ac159b6a611n%40googlegroups.com.


Invisible Man

unread,
Oct 15, 2022, 4:45:15 AM10/15/22
to weewx-user
Thanks, then this is perfect :) I added `runtime` to the interceptor, for the beauty of it, but it's not an issue. Also, I'll be upgrading the console's firmware shortly.

For PASSKEY, indeed it is listed in `interceptor.py` IGNORED_LABELS... It is strange, because I have 2 different logs using PASSKEY. One posting `PASSKEY=XXXX` (I'm not even censoring the info: it's really XXXX here), and another "raw_data" with PASSKEY=<a real value>.

Oct 15 10:05:31 vegan weewx[15068] DEBUG user.interceptor: POST: b'PASSKEY=XXXX&stationtype=EasyWeatherPro_V5.1.0&runtime=2&....'
Oct 15 10:05:31 vegan weewx[15068] DEBUG user.interceptor: raw data: b'PASSKEY=CENSORED&stationtype=EasyWeatherPro_V5.1.0&runtime=2&...'
Oct 15 10:05:31 vegan weewx[15068] INFO user.interceptor: unrecognized parameter b'PASSKEY=CENSORED'

I don't really mind, it's more like a mystery to solve than anything.

Thanks for your help and ... merci :)

-- Axelle
Reply all
Reply to author
Forward
0 new messages