I have been using weewx on a Raspberry Pi for about two years now. After my
old Fine Offset died soon after I moved from pywws I bought a Eurochron
WS2900 which I got running using the interceptor driver, and that worked
fine until the weather station stopped giving temperature readings this
winter. I was able to fix that last week (bad connector on the cable from
the temperature sensor to the circuit board in the sensor array) but when I
reconnected it to weewx I started to experience various odd things. The
unit shows correct data on its display and sends data to weewx, and the
webpages rendered by weewx are correct (e.g. temperature ranging between
16°C and 28°C the other day) but the temperatures sent to Windy (and
others) by weewx varies from -2°C to 21°C for the same day. Thinking that
there might be some API change or something during the half year my station
was offline, and that I for some time have had thoughts of moving it to a
virtual server on my ESXi station anyway, I set up a Centos 8 machine and
installed weewx on it. Simulator works fine, but using the same interceptor
settings as on my Raspberry Pi I don't get any data (IP updated in the
weather station settings).
Using
PYTHONPATH=/usr/share/weewx python3 -m user.interceptor --debug
--mode=listen --port=8000 --device=ecowitt-client
I was able to once capture this after listening maybe one hour:
raw data:
raw packet: {'dateTime': 1627416663, 'usUnits': 1}
mapped packet: {'dateTime': 1627416663, 'usUnits': 1}
Yay! A timestamp!
Trying to connect to port 8000 from another computer in the network shows
that the port is open.
Thinking there is some problem with the weather station I have reseted it,
but no change. The device is by itself directly uploading to Weather
Underground and some other sites, and that works.
Frustrated I one again change the local IP the weather station should send
data to to the Raspberry Pi, but now I don't get any data there at all.
This is the interceptor settings of weewx.conf:
…
station_type = Interceptor
…
##############################################################################
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use:
driver = user.interceptor
# Specify the hardware device to capture. Options include:
# acurite-bridge - acurite internet bridge, smarthub, or access
# observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
# lw30x - oregon scientific LW301/LW302
# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
# wu-client - any hardware that uses the weather underground protocol
# device_type = observer
device_type = ecowitt-client
port = 8000
##############################################################################
I'm not sure what more is relevant logs to post.
I see no dropped packages originating from the weather station in the
firewall log.
Does anyone have any idea how I should proceed or what I should try?
regards
Konrad Skeri Ekblad
--
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/c1b9308c-7f4d-47df-baaf-b64f0ae24542n%40googlegroups.com.