Hi, I have been using Weewx for several months with interceptor driver in a Debian 9 system installed in a VPS. My PWS is a WH24 (Fine Offset) and observations are sent to the server by a GET request, and intercepted by a websocket.
Recently I had to change the VPS provider, with Debian 10. So I did a fresh install of Weewx 4.8, then interceptor driver, and configured the options the same way as the other server (btw, still online for a couple of days before my plan expires). However, there is no way I get to make it work. weewx.conf relevant info: [Station] station_type = Interceptor [Interceptor] driver = user.interceptor device_type = observer address = localhost port = 2737 I can see packets of observations arriving and being parsed by the interceptor driver, but Weewx does not do anything with them: database is not updating nor the website. Attached you will find the log file. Can someone help me? Thanks! rfm -- 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/bb3e2e86-5107-4d36-aa4e-9f3df82c58e6n%40googlegroups.com.
Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Initializing weewx version 4.8.0 Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Using Python 3.7.3 (default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0] Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Platform Linux-4.19.0-20-amd64-x86_64-with-debian-10.12 Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Locale is 'en_US.UTF-8' Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Using configuration file /etc/weewx/weewx.conf Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: Debug is 1 Apr 26 17:09:36 vps38501 weewx[18790] INFO __main__: PID file is /var/run/weewx.pid Apr 26 17:09:36 vps38501 weewx[18794] DEBUG __main__: Initializing engine Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Loading station type Interceptor (user.interceptor) Apr 26 17:09:36 vps38501 weewx[18780]: Starting weewx weather system: weewx. Apr 26 17:09:36 vps38501 weewx[18794] INFO user.interceptor: driver version is 0.53 Apr 26 17:09:36 vps38501 weewx[18794] INFO user.interceptor: device type: observer Apr 26 17:09:36 vps38501 weewx[18794] INFO user.interceptor: mode is listen Apr 26 17:09:36 vps38501 weewx[18794] INFO user.interceptor: listen on localhost:2737 Apr 26 17:09:36 vps38501 weewx[18794] INFO user.interceptor: sensor map: {'pressure': 'pressure', 'barometer': 'barometer', 'outHumidity': 'humidity_out', 'inHumidity': 'humidity_in', 'outTemp': 'temperature_out', 'inTemp': 'temperature_in', 'windSpeed': 'wind_speed', 'windGust': 'wind_gust', 'windDir': 'wind_dir', 'windGustDir': 'wind_gust_dir', 'radiation': 'solar_radiation', 'dewpoint': 'dewpoint', 'windchill': 'windchill', 'rain': 'rain', 'rainRate': 'rain_rate', 'UV': 'uv', 'txBatteryStatus': 'battery', 'extraTemp1': 'temperature_1', 'extraTemp2': 'temperature_2', 'extraTemp3': 'temperature_3', 'extraHumid1': 'humidity_1', 'extraHumid2': 'humidity_2', 'soilTemp1': 'soil_temperature_1', 'soilTemp2': 'soil_temperature_2', 'soilMoist1': 'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 'soilMoist3': 'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 'leafWet1': 'leafwetness_1', 'leafWet2': 'leafwetness_2', 'pm2_5': 'pm2_5', 'extraTemp4': 'temperature_4', 'extraTemp5': 'temperature_5', 'extraTemp6': 'temperature_6', 'extraTemp7': 'temperature_7', 'extraTemp8': 'temperature_8', 'extraHumid3': 'humidity_3', 'extraHumid4': 'humidity_4', 'extraHumid5': 'humidity_5', 'extraHumid6': 'humidity_6', 'extraHumid7': 'humidity_7', 'extraHumid8': 'humidity_8', 'soilTemp3': 'soil_temperature_3', 'soilTemp4': 'soil_temperature_4'} Apr 26 17:09:36 vps38501 weewx[18794] DEBUG user.interceptor: start tcp server Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdConvert Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: StdConvert target unit is 0x1 Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdQC Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.manager: Daily summary version is 4.0 Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdArchive Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Archive will use data binding wx_binding Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Record generation will be attempted in 'software' Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Using archive interval of 60 seconds (software record generation) Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1 Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: StationRegistry: Registration not requested. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: Wunderground: Posting not enabled. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: PWSweather: Posting not enabled. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: CWOP: Posting not enabled. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdWOW Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: WOW: Posting not enabled. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.restx: AWEKAS: Posting not enabled. Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdPrint Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Loading service weewx.engine.StdReport Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: 'pyephem' detected, extended almanac data is available Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport Apr 26 17:09:36 vps38501 weewx[18794] INFO __main__: Starting up weewx version 4.8.0 Apr 26 17:09:36 vps38501 weewx[18794] DEBUG weewx.engine: Station does not support reading the time Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb' Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.manager: Starting backfill of daily summaries Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.manager: Daily summaries up to date Apr 26 17:09:36 vps38501 weewx[18794] INFO weewx.engine: Starting main packet loop. Apr 26 17:09:46 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:09:56 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:06 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:16 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:26 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:36 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:46 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: GET: ID=tcc&PASSWORD=XXXX&indoortempf=-9999&indoorhumidity=-9999&tempf=72.3&humidity=10&dewptf=12.7&winddir=179&windspeedmph=3&windgustmph=7&rainin=9&dailyrainin=9&weeklyrainin=0&monthlyrainin=0&yearlyrainin=0&solarradiation=9.16&UV=0&baromin=31.308&absbaro=27.673&battery=76&wh65batt=1&dateutc=2022-04-26+16%3A15%3A00&softwaretype=tcc%20V1.1.26&action=updateraw&realtime=1&rtfreq=5 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: raw data: ID=tcc&PASSWORD=password&indoortempf=-9999&indoorhumidity=-9999&tempf=72.3&humidity=10&dewptf=12.7&winddir=179&windspeedmph=3&windgustmph=7&rainin=9&dailyrainin=9&weeklyrainin=0&monthlyrainin=0&yearlyrainin=0&solarradiation=9.16&UV=0&baromin=31.308&absbaro=27.673&battery=76&wh65batt=1&dateutc=2022-04-26+16%3A15%3A00&softwaretype=tcc%20V1.1.26&action=updateraw&realtime=1&rtfreq=5 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: using rain_total 0.0 from yearlyrainin Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: firmware tcc%20V1.1.26: baromin is barometer Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter ID=tcc Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter PASSWORD=XXXXXXXX Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter rainin=9 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter weeklyrainin=0 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter monthlyrainin=0 Apr 26 17:10:52 vps38501 weewx[18794] INFO user.interceptor: unrecognized parameter battery=76 Apr 26 17:10:52 vps38501 weewx[18794] INFO user.interceptor: unrecognized parameter wh65batt=1 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter softwaretype=tcc%20V1.1.26 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter action=updateraw Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter realtime=1 Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: ignored parameter rtfreq=5 Apr 26 17:10:52 vps38501 weewx[18794] INFO user.interceptor: skipping rain measurement of 0.0: no last rain Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: raw packet: {'dateTime': 1650989700, 'usUnits': 1, 'rain_total': 0.0, 'temperature_in': None, 'humidity_in': None, 'temperature_out': 72.3, 'humidity_out': 10.0, 'dewpoint': 12.7, 'wind_dir': 179.0, 'wind_speed': 3.0, 'wind_gust': 7.0, 'solar_radiation': 9.16, 'uv': 0.0, 'barometer': 31.308, 'pressure': 27.673, 'rain': None} Apr 26 17:10:52 vps38501 weewx[18794] DEBUG user.interceptor: mapped packet: {'dateTime': 1650989700, 'usUnits': 1, 'pressure': 27.673, 'barometer': 31.308, 'outHumidity': 10.0, 'inHumidity': None, 'outTemp': 72.3, 'inTemp': None, 'windSpeed': 3.0, 'windGust': 7.0, 'windDir': 179.0, 'radiation': 9.16, 'dewpoint': 12.7, 'rain': None, 'UV': 0.0} Apr 26 17:11:02 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:11:12 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:11:22 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:11:32 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:11:42 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:11:52 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:02 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:12 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:22 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:32 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:42 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:12:52 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:13:02 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:13:12 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:13:22 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:13:32 vps38501 weewx[18794] DEBUG user.interceptor: empty queue Apr 26 17:13:42 vps38501 weewx[18794] DEBUG user.interceptor: empty queue