Can you post your weewx.conf (including the [Interceptor] section)? Have
you tried to run directly the interceptor driver?
PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/interceptor.py
--device=observer --port=yourport
Il giorno giovedì 31 marzo 2022 alle 12:26:40 UTC+2 IL ha scritto:
>
> I have an old installation on raspian with weewx 4.0 and plan to move to
> Ubuntu server 20.04 LTS (64-bit version) with v 4.7 of weewx. The weather
> station is a Froggit WH3000 and I am using weewx-interceptor. The old
> installation works fine with device_type = observer, so that is what I am
> using on the new server as well.
>
> The problem is that when I change the IP-address to the new server in the
> weather station console the data is not coming through. Here is an extract
> from the log (debug mode):
>
> Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: GET:
> Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: raw data:
> Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: raw packet:
> {'dateTime': 1648719343, 'usUnits': 16}
> Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: mapped packet:
> {'dateTime': 1648719343, 'usUnits': 16}
> Mar 31 11:35:42 ubuntu weewx[1033] INFO weewx.manager: Added record
> 2022-03-31 11:35:00 CEST (1648719300) to database 'weewx.sdb'
> Mar 31 11:35:42 ubuntu weewx[1033] INFO weewx.manager: Added record
> 2022-03-31 11:35:00 CEST (1648719300) to daily summary in 'weewx.sdb'
> Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Running
> reports for latest time in the database.
> Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Running
> report 'SeasonsReport'
> Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Seasons/skin.conf for report
> 'SeasonsReport'
> Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.cheetahgenerator: Using
> search list ['weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Current',
> 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras',
> 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers',
> 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo',
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats',
> 'weewx.cheetahgenerator.UnitInfo']
> Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.manager: Daily summary
> version is 4.0
> Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.cheetahgenerator: Generated
> 8 files for report SeasonsReport in 0.98 seconds
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.manager: Daily summary
> version is 4.0
> Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.imagegenerator: Generated 30
> images for report SeasonsReport in 0.86 seconds
> Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.reportengine: Copied 0 files
> to /var/www/html/weewx
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
> 'SmartphoneReport' not enabled. Skipping.
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
> 'MobileReport' not enabled. Skipping.
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
> 'StandardReport' not enabled. Skipping.
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report 'FTP'
> not enabled. Skipping.
> Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
> 'RSYNC' not enabled. Skipping.
> Mar 31 11:35:53 ubuntu weewx[1033] DEBUG user.interceptor: empty queue
>
> The log from the old server looks like this:
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: GET:
> ID=IEKER22&PASSWORD=XXXX&indoortempf=69.8&tempf=37.0&dewptf=16.5&windchillf=37.0&
>
> indoorhumidity=28&humidity=43&windspeedmph=2.2&windgustmph=2.2&winddir=216&absbaromin=29.673&baromin=29.829&rainin=0.000&dailyrainin=0.000&
>
> weeklyrainin=0.008&monthlyrainin=0.020&solarradiation=386.09&UV=3&dateutc=2022-03-31%2008:55:00&softwaretype=EasyWeatherV1.6.2&action=updateraw&
> realtime=1&rtfreq=5
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: raw data:
> ID=IEKER22&PASSWORD=n16l3iL5&indoortempf=69.8&tempf=37.0&dewptf=16.5&windchillf=37.0&
>
> indoorhumidity=28&humidity=43&windspeedmph=2.2&windgustmph=2.2&winddir=216&absbaromin=29.673&baromin=29.829&rainin=0.000&dailyrainin=0.000&
>
> weeklyrainin=0.008&monthlyrainin=0.020&solarradiation=386.09&UV=3&dateutc=2022-03-31%2008:55:00&softwaretype=EasyWeatherV1.6.2&action=updateraw&
> realtime=1&rtfreq=5
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: using rain_total
> 0.0 from dailyrainin
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: firmware
> EasyWeatherV1.6.2: baromin is barometer
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter rainin=0.000
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter monthlyrainin=0.020
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter realtime=1
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter rtfreq=5
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter PASSWORD=XXXXXXXX
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter ID=IEKER22
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter softwaretype=EasyWeatherV1.6.2
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter action=updateraw
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored
> parameter weeklyrainin=0.008
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: raw packet:
> {'wind_speed': 2.2, 'humidity_in': 28.0, 'temperature_in': 69.8,
> 'solar_radiation': 386.09, 'windchill': 37.0, 'dewpoint': 16.5,
> 'humidity_out': 43.0, 'uv': 3.0, 'rain': 0.0, 'dateTime': 1648716900,
> 'pressure': 29.673, 'temperature_out': 37.0, 'wind_dir': 216.0,
> 'barometer': 29.829, 'rain_total': 0.0, 'usUnits': 1, 'wind_gust': 2.2}
> Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: mapped packet:
> {'barometer': 29.829, 'windchill': 37.0, 'dewpoint': 16.5,
> 'pressure': 29.673, 'outHumidity': 43.0, 'UV': 3.0, 'radiation': 386.09,
> 'rain': 0.0, 'dateTime': 1648716900, 'windDir': 216.0, 'outTemp': 37.0,
> 'windSpeed': 2.2, 'inHumidity': 28.0, 'inTemp': 69.8, 'windGust': 2.2,
> 'usUnits': 1}
> Mar 31 10:55:17 wxpi weewx[26111] DEBUG user.interceptor: empty queue
>
> I must have missed something when setting up the new server. But what? Can
> someone point me in the right direction?
>
>
>
--
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/febcf860-bc78-4453-a8d4-e9dcae6061dfn%40googlegroups.com.