CWOP not Posting to APRSgateway, and no Indication of Error in Log

53 views
Skip to first unread message

ch...@chrismaness.com

unread,
Dec 19, 2020, 5:11:12 PM12/19/20
to weewx-user
Can anyone see config errors?  Nothing is posting.  These lines were
working fine in version 3.9.2, so not sure if anything changed.  There
is a possibility that I was blocked or something if it was sending too
frequently.  Not sure what the interval setting is by default.  It
should be 10min.  I know the GW1000 driver polls the WX station every
20s.  I can't transmit on my APRS.fi app (through the gateway) either
for some reason.

Any help is appreciated,

Chris KQ6UP

    [[CWOP]]
        # This section is for configuring posts to CWOP.

        # If you wish to do this, set the option 'enable' to true,
        # and specify the station ID (e.g., CW1234).

        # If this is an APRS (radio amateur) station, uncomment
        # the following and replace with a passcode (e.g., 12345).
        # passcode = replace_me (APRS stations only)
        enable = true
        station = kq6up
        passcode = ######
        # server_list = cwop.aprs.net:23,
        # server_list = rotate.aprs.net:14580,
        server_list = cwop.ei3rcw.ampr.org:23,
        # server_list = cwop2.mesowest.org:23,

OpenPGP_0x55BE65AD1B41D696.asc
OpenPGP_signature

vince

unread,
Dec 19, 2020, 5:15:43 PM12/19/20
to weewx-user
You have provided no logs for us to read, so we can't help much.

ch...@chrismaness.com

unread,
Dec 19, 2020, 6:32:54 PM12/19/20
to weewx...@googlegroups.com

These were only lines related to CWOP:

Dec 19 13:32:20 raspberrypi weewx[25165] INFO weewx.restx: CWOP: Data for station KQ6UP will be posted
Dec 19 13:51:44 raspberrypi weewx[25946] INFO weewx.restx: CWOP: Data for station KQ6UP will be posted

After restart:

Dec 19 15:30:27 raspberrypi weewx[25946] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.74 seconds
Dec 19 15:30:27 raspberrypi weewx[25946] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.53 seconds
Dec 19 15:30:27 raspberrypi weewx[25946] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Dec 19 15:30:43 raspberrypi weewx[25946] INFO __main__: Received signal TERM (15).
Dec 19 15:30:43 raspberrypi weewx[25946] INFO weewx.engine: Main loop exiting. Shutting engine down.
Dec 19 15:30:43 raspberrypi weewx[25946] INFO weewx.engine: Shutting down StdReport thread
Dec 19 15:30:44 raspberrypi weewx[25946] INFO user.gw1000: Gw1000Collector thread has been terminated
Dec 19 15:30:44 raspberrypi weewx[25946] INFO __main__: Terminating weewx version 4.2.0
Dec 19 15:30:49 raspberrypi weewx[29538] INFO __main__: Initializing weewx version 4.2.0
Dec 19 15:30:49 raspberrypi weewx[29538] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
Dec 19 15:30:49 raspberrypi weewx[29538] INFO __main__: Platform Linux-5.4.79-v7l+-armv7l-with-debian-10.7
Dec 19 15:30:49 raspberrypi weewx[29538] INFO __main__: Locale is 'en_US.UTF-8'
Dec 19 15:30:49 raspberrypi weewx[29538] INFO __main__: PID file is /var/run/weewx.pid
Dec 19 15:30:49 raspberrypi weewx[29543] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Dec 19 15:30:49 raspberrypi weewx[29543] INFO __main__: Debug is 1
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: field map is {'UV': 'uvi', 'dateTime': 'datetime', 'dayRain': 'rainday', 'daymaxwind': 'daymaxwind', 'dewpoint': 'dewpoint', 'extraHumid1': 'humid1', 'extraHumid2': 'humid2', 'extraHumid3': 'humid3', 'extraHumid4': 'humid4', 'extraHumid5': 'humid5', 'extraHumid6': 'humid6', 'extraHumid7': 'humid7', 'extraHumid8': 'humid8', 'extraTemp1': 'temp1', 'extraTemp2': 'temp2', 'extraTemp3': 'temp3', 'extraTemp4': 'temp4', 'extraTemp5': 'temp5', 'extraTemp6': 'temp6', 'extraTemp7': 'temp7', 'extraTemp8': 'temp8', 'heatindex': 'heatindex', 'hourRain': 'rainhour', 'inHumidity': 'inhumid', 'inTemp': 'intemp', 'leak1': 'leak1', 'leak2': 'leak2', 'leak3': 'leak3', 'leak4': 'leak4', 'lightning_distance': 'lightningdist', 'lightning_last_det_time': 'lightningdettime', 'lightning_strike_count': 'lightning_strike_count', 'luminosity': 'light', 'monthRain': 'rainmonth', 'outHumidity': 'outhumid', 'outTemp': 'outtemp', 'pm2_5': 'pm251', 'pm2_51_24hav': 'pm251_24hav', 'pm2_52': 'pm252', 'pm2_52_24hav': 'pm252_24hav', 'pm2_53': 'pm253', 'pm2_53_24hav': 'pm253_24hav', 'pm2_54': 'pm254', 'pm2_54_24hav': 'pm254_24hav', 'pressure': 'absbarometer', 'rain': 'rain', 'rainRate': 'rainrate', 'relbarometer': 'relbarometer', 'soilMoist1': 'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3': 'soilmoist3', 'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5', 'soilMoist6': 'soilmoist6', 'soilMoist7': 'soilmoist7', 'soilMoist8': 'soilmoist8', 'soilMoist9': 'soilmoist9', 'soilMoist10': 'soilmoist10', 'soilMoist11': 'soilmoist11', 'soilMoist12': 'soilmoist12', 'soilMoist13': 'soilmoist13', 'soilMoist14': 'soilmoist14', 'soilMoist15': 'soilmoist15', 'soilMoist16': 'soilmoist16', 'soilTemp1': 'soiltemp1', 'soilTemp2': 'soiltemp2', 'soilTemp3': 'soiltemp3', 'soilTemp4': 'soiltemp4', 'soilTemp5': 'soiltemp5', 'soilTemp6': 'soiltemp6', 'soilTemp7': 'soiltemp7', 'soilTemp8': 'soiltemp8', 'soilTemp9': 'soiltemp9', 'soilTemp10': 'soiltemp10', 'soilTemp11': 'soiltemp11', 'soilTemp12': 'soiltemp12', 'soilTemp13': 'soiltemp13', 'soilTemp14': 'soiltemp14', 'soilTemp15': 'soiltemp15', 'soilTemp16': 'soiltemp16', 'stormRain': 'rainevent', 'totalRain': 'raintotals', 'uvradiation': 'uv', 'weekRain': 'rainweek', 'wh25_batt': 'wh25_batt', 'wh26_batt': 'wh26_batt', 'wh31_ch1_batt': 'wh31_ch1_batt', 'wh31_ch2_batt': 'wh31_ch2_batt', 'wh31_ch3_batt': 'wh31_ch3_batt', 'wh31_ch4_batt': 'wh31_ch4_batt', 'wh31_ch5_batt': 'wh31_ch5_batt', 'wh31_ch6_batt': 'wh31_ch6_batt', 'wh31_ch7_batt': 'wh31_ch7_batt', 'wh31_ch8_batt': 'wh31_ch8_batt', 'wh40_batt': 'wh40_batt', 'wh41_ch1_batt': 'wh41_ch1_batt', 'wh41_ch2_batt': 'wh41_ch2_batt', 'wh41_ch3_batt': 'wh41_ch3_batt', 'wh41_ch4_batt': 'wh41_ch4_batt', 'wh51_ch1_batt': 'wh51_ch1_batt', 'wh51_ch2_batt': 'wh51_ch2_batt', 'wh51_ch3_batt': 'wh51_ch3_batt', 'wh51_ch4_batt': 'wh51_ch4_batt', 'wh51_ch5_batt': 'wh51_ch5_batt', 'wh51_ch6_batt': 'wh51_ch6_batt', 'wh51_ch7_batt': 'wh51_ch7_batt', 'wh51_ch8_batt': 'wh51_ch8_batt', 'wh51_ch9_batt': 'wh51_ch9_batt', 'wh51_ch10_batt': 'wh51_ch10_batt', 'wh51_ch11_batt': 'wh51_ch11_batt', 'wh51_ch12_batt': 'wh51_ch12_batt', 'wh51_ch13_batt': 'wh51_ch13_batt', 'wh51_ch14_batt': 'wh51_ch14_batt', 'wh51_ch15_batt': 'wh51_ch15_batt', 'wh51_ch16_batt': 'wh51_ch16_batt', 'wh55_ch1_batt': 'wh55_ch1_batt', 'wh55_ch2_batt': 'wh55_ch2_batt', 'wh55_ch3_batt': 'wh55_ch3_batt', 'wh55_ch4_batt': 'wh55_ch4_batt', 'wh57_batt': 'wh57_batt', 'wh65_batt': 'wh65_batt', 'wh68_batt': 'wh68_batt', 'windDir': 'winddir', 'windGust': 'gustspeed', 'windSpeed': 'windspeed', 'windchill': 'windchill', 'ws80_batt': 'ws80_batt', 'yearRain': 'rainyear'}
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: driver version is 0.1.0b12
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: GW1000 address is 10.3.141.99:45000
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: poll interval is 20 seconds
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: StdConvert target unit is 0x1
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Archive will use data binding wx_binding
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Record generation will be attempted in 'software'
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: StationRegistry: Station will be registered.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: Wunderground: Posting not enabled.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: PWSweather: Posting not enabled.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: CWOP: Data for station KQ6UP will be posted
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: WOW: Posting not enabled.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.restx: AWEKAS: Posting not enabled.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO __main__: Starting up weewx version 4.2.0
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.manager: Starting backfill of daily summaries
Dec 19 15:30:49 raspberrypi weewx[29543] INFO weewx.engine: Starting main packet loop.
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: Using 'rainyear' for rain total
Dec 19 15:30:49 raspberrypi weewx[29543] INFO user.gw1000: skipping rain measurement of 241.3: no last rain

@@@@@@@@@@@@@

weewx# systemctl status weewx

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Sat 2020-12-19 15:30:49 PST; 1min 3s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 29526 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/weewx.service
           └─29543 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] DEBUG weewx.engine: Station does not support reading the time
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] INFO weewx.manager: Starting backfill of daily summaries
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] INFO weewx.engine: Starting main packet loop.
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] INFO user.gw1000: Using 'rainyear' for rain total
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] INFO user.gw1000: skipping rain measurement of 241.3: no last rain
Dec 19 15:30:49 raspberrypi python3[29543]: weewx[29543] DEBUG weewx.manager: Daily summary version is 2
Dec 19 15:31:09 raspberrypi python3[29543]: weewx[29543] DEBUG user.gw1000: Next update in 20 seconds
Dec 19 15:31:30 raspberrypi python3[29543]: weewx[29543] DEBUG user.gw1000: Next update in 20 seconds
Dec 19 15:31:50 raspberrypi python3[29543]:


On 12/19/20 2:15 PM, vince wrote:
You have provided no logs for us to read, so we can't help much. --
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/0109507c-7077-41cb-a3fa-c93814a7ec3cn%40googlegroups.com.
OpenPGP_0x55BE65AD1B41D696.asc
OpenPGP_signature

gjr80

unread,
Dec 19, 2020, 7:55:50 PM12/19/20
to weewx-user
Um, you’ve effectively shown us one second of a debug startup log. Sometimes the clue is not an error message in the log but rather what WeeWX is/is not doing and what is/is not in the log. Please post a debug startup log extract that shows the entire startup sequence and at least 20 minutes of log.

Gary

Christopher Maness

unread,
Dec 19, 2020, 8:08:08 PM12/19/20
to weewx...@googlegroups.com
What is a debug startup log?  I can cat /var/log/message | grep weewx
post all relevant entries.  I have the verbose flat set.  Is that what
you mean?  I don't see any CWOP lines in any log other than the ones I
posted.

Thanks,

Chris KQ6UP
OpenPGP_0x55BE65AD1B41D696.asc
OpenPGP_signature

gjr80

unread,
Dec 19, 2020, 8:14:35 PM12/19/20
to weewx-user
To get a debug startup log edit weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for a number of archive periods (in this I want to see at least three archive periods) and take an extract of the log from when WeeWX was restarted through until the number of archive periods has elapsed. Don’t edit the log extract and post it here.

As I said, sometimes the clue is not in an error message or what is in the log, rather it can be what is not in the log. For example, if WeeWX is not producing archive records than the RESTful services are never run and consequently nothing is ever posted to CWOP.

Gary

ch...@chrismaness.com

unread,
Dec 21, 2020, 8:16:46 AM12/21/20
to weewx...@googlegroups.com

Gary, your referring to the /var/log/messages log, correct?

Thanks,

Chris Maness KQ6UP

--
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.
OpenPGP_0x55BE65AD1B41D696.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages