I am trying to get back into Linux after several years away.  I recently 
installed CentOS 7 on a Dell OptiPlex 790.  It has an Intel i5-2400 3.10 
ghz process and 4GB of RAM.  I installed weewx 3.9.2 from the rpm package.  
I have a Davis Vantage Pro2 model 6162 weather station.  It has a wireless 
console with the data logger.  I recently upgraded the console firmware to 
v3.80.  The computer is dual-boot with Win7 Professional 64-bit on the 
other side.  I have been using the Davis Weatherlink software to uploaded 
data to their website which then disseminates it to CWOP and Wunderground.  
I have not been able to get weewx to upload similarly.  I am using FTP with 
the same parameters entered in weewx.conf as I have in Weatherlink.  I 
recently upgraded the kernel to 5.3 after reading some information 
indicating it might have better hardware support but that did not help.  
The Davis console is connected to the computer with a USB cable.  In CentOS 
it is connected at /dev/ttyUSB0.  I can enter wee_device --info and get 
various error messages regarding the console sleeping/waking up.  I will 
copy two of these messages below along with a sample of the log.  The 
console will usually wake up after 2-3 attempts like this.  I have been 
reading blog posts and have seen several instances of similar behavior but 
I have not found an exact match for what I am experiencing nor have I have 
a clear solution.  I appear to be able to FTP to the Davis site manually.  
Any help is very much appreciated.  Thanks,  Kevin

Using configuration file /etc/weewx/weewx.conf

Using Vantage driver version 3.1.1 (weewx.drivers.vantage)

Traceback (most recent call last):

File "/bin/wee_device", line 66, in <module>

main()

File "/bin/wee_device", line 62, in main

device.configure(config_dict)

File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure

self.do_options(options, parser, config_dict, prompt)

File "/usr/share/weewx/weewx/drivers/vantage.py", line 1973, in do_options

station = Vantage(**config_dict[DRIVER_NAME])

File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__

self._setup()

File "/usr/share/weewx/weewx/drivers/vantage.py", line 1290, in _setup

unit_bits = self._getEEPROM_value(0x29)[0]

File "/usr/share/weewx/weewx/drivers/vantage.py", line 1376, in 
_getEEPROM_value

raise weewx.RetriesExceeded("While getting EEPROM data value at address 
0x%X" % offset)

weewx.RetriesExceeded: While getting EEPROM data value at address 0x29



sing configuration file /etc/weewx/weewx.conf

Using Vantage driver version 3.1.1 (weewx.drivers.vantage)

Traceback (most recent call last):

File "/bin/wee_device", line 66, in <module>

main()

File "/bin/wee_device", line 62, in main

device.configure(config_dict)

File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure

self.do_options(options, parser, config_dict, prompt)

File "/usr/share/weewx/weewx/drivers/vantage.py", line 1973, in do_options

station = Vantage(**config_dict[DRIVER_NAME])

File "/usr/share/weewx/weewx/drivers/vantage.py", line 489, in __init__

syslog.syslog(syslog.LOG_DEBUG, "vantage: Hardware name: %s" % 
self.hardware_name)

File "/usr/share/weewx/weewx/drivers/vantage.py", line 1256, in 
hardware_name

raise weewx.UnsupportedFeature("Unknown hardware type %d" % 
self.hardware_type)

weewx.UnsupportedFeature: Unknown hardware type 79



[kphillips@RadioShack ~]$ service weewx restart

Restarting weewx (via systemctl): [ OK ]

[kphillips@RadioShack ~]$ sudo tail -f /var/log/messages

[sudo] password for kphillips: 

Oct 15 05:38:12 RadioShack weewx[4433]: restx: CWOP: Posting not enabled.

Oct 15 05:38:12 RadioShack weewx[4433]: restx: WOW: Posting not enabled.

Oct 15 05:38:12 RadioShack weewx[4433]: restx: AWEKAS: Posting not enabled.

Oct 15 05:38:12 RadioShack weewx[4433]: engine: Starting up weewx version 
3.9.2

Oct 15 05:38:12 RadioShack weewx[4433]: engine: Clock error is 2.16 seconds 
(positive is fast)

Oct 15 05:38:12 RadioShack weewx[4433]: engine: Starting main packet loop.

Oct 15 05:38:41 RadioShack dbus[971]: [system] Activating via systemd: 
service name='net.reactivated.Fprint' unit='fprintd.service'

Oct 15 05:38:41 RadioShack systemd: Starting Fingerprint Authentication 
Daemon...

Oct 15 05:38:41 RadioShack dbus[971]: [system] Successfully activated 
service 'net.reactivated.Fprint'

Oct 15 05:38:41 RadioShack systemd: Started Fingerprint Authentication 
Daemon.

Oct 15 05:40:01 RadioShack systemd: Created slice User Slice of root.

Oct 15 05:40:01 RadioShack systemd: Started Session 3 of user root.

Oct 15 05:40:01 RadioShack systemd: Removed slice User Slice of root.

Oct 15 05:41:03 RadioShack systemd: Starting Cleanup of Temporary 
Directories...

Oct 15 05:41:03 RadioShack systemd: Started Cleanup of Temporary 
Directories.

Oct 15 05:42:52 RadioShack dbus[971]: [system] Activating via systemd: 
service name='net.reactivated.Fprint' unit='fprintd.service'

Oct 15 05:42:52 RadioShack systemd: Starting Fingerprint Authentication 
Daemon...

Oct 15 05:42:52 RadioShack dbus[971]: [system] Successfully activated 
service 'net.reactivated.Fprint'

Oct 15 05:42:52 RadioShack systemd: Started Fingerprint Authentication 
Daemon.

Oct 15 05:42:56 RadioShack weewx[4433]: vantage: SerialException on read.

Oct 15 05:42:56 RadioShack weewx[4433]: **** device reports readiness to 
read but returned no data (device disconnected or multiple access on port?)

Oct 15 05:42:56 RadioShack weewx[4433]: **** Is there a competing process 
running??

Oct 15 05:42:56 RadioShack weewx[4433]: vantage: LOOP try #1; error: device 
reports readiness to read but returned no data (device disconnected or 
multiple access on port?)

Oct 15 05:43:12 RadioShack weewx[4433]: vantage: Unable to wake up console

Oct 15 05:43:12 RadioShack weewx[4433]: vantage: LOOP try #2; error: Unable 
to wake up Vantage console

Oct 15 05:43:12 RadioShack weewx[4433]: vantage: SerialException on read.

Oct 15 05:43:12 RadioShack weewx[4433]: **** device reports readiness to 
read but returned no data (device disconnected or multiple access on port?)

Oct 15 05:43:12 RadioShack weewx[4433]: **** Is there a competing process 
running??

Oct 15 05:43:16 RadioShack wee_device[5135]: vantage: Max retries exceeded 
while getting EEPROM data at address 0x29

Oct 15 05:43:16 RadioShack python: detected unhandled Python exception in 
'/bin/wee_device'

Oct 15 05:43:17 RadioShack abrt-server: Package 'weewx' isn't signed with 
proper key

Oct 15 05:43:17 RadioShack abrt-server: 'post-create' on 
'/var/spool/abrt/Python-2019-10-15-05:43:17-5135' exited with 1

Oct 15 05:43:17 RadioShack abrt-server: Deleting problem directory 
'/var/spool/abrt/Python-2019-10-15-05:43:17-5135'

Oct 15 05:43:28 RadioShack weewx[4433]: vantage: SerialException on read.

Oct 15 05:43:28 RadioShack weewx[4433]: **** device reports readiness to 
read but returned no data (device disconnected or multiple access on port?)

Oct 15 05:43:28 RadioShack weewx[4433]: **** Is there a competing process 
running??

Oct 15 05:43:28 RadioShack weewx[4433]: vantage: LOOP try #3; error: device 
reports readiness to read but returned no data (device disconnected or 
multiple access on port?)

Oct 15 05:43:32 RadioShack wee_device[5182]: vantage: SerialException on 
read.

Oct 15 05:43:32 RadioShack wee_device[5182]: **** device reports readiness 
to read but returned no data (device disconnected or multiple access on 
port?)

Oct 15 05:43:32 RadioShack wee_device[5182]: **** Is there a competing 
process running??

Oct 15 05:43:32 RadioShack weewx[4433]: vantage: No <ACK> received from 
console

Oct 15 05:43:32 RadioShack weewx[4433]: vantage: LOOP try #4; error: No 
<ACK> received from Vantage console

Oct 15 05:43:32 RadioShack weewx[4433]: vantage: LOOP max tries (4) 
exceeded.

Oct 15 05:43:32 RadioShack weewx[4433]: engine: Main loop exiting. Shutting 
engine down.

Oct 15 05:43:32 RadioShack wee_device[5182]: vantage: No <ACK> received 
from console

Oct 15 05:43:32 RadioShack weewx[4433]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.

Oct 15 05:43:32 RadioShack weewx[4433]: **** Waiting 60 seconds then 
retrying...

Oct 15 05:43:32 RadioShack wee_device[5182]: vantage: No <ACK> received 
from console

Oct 15 05:43:36 RadioShack python: detected unhandled Python exception in 
'/bin/wee_device'

Oct 15 05:43:36 RadioShack abrt-server: Not saving repeating crash in 
'/bin/wee_device'

Oct 15 05:44:19 RadioShack dbus[971]: [system] Activating via systemd: 
service name='org.freedesktop.hostname1' 
unit='dbus-org.freedesktop.hostname1.service'

Oct 15 05:44:19 RadioShack systemd: Starting Hostname Service...

Oct 15 05:44:19 RadioShack dbus[971]: [system] Successfully activated 
service 'org.freedesktop.hostname1'

Oct 15 05:44:19 RadioShack systemd: Started Hostname Service.

Oct 15 05:44:32 RadioShack weewx[4433]: engine: retrying...

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Using configuration file 
/etc/weewx/weewx.conf

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Loading station type 
Vantage (weewx.drivers.vantage)

Oct 15 05:44:32 RadioShack weewx[4433]: engine: StdConvert target unit is 
0x1

Oct 15 05:44:32 RadioShack weewx[4433]: wxcalculate: The following values 
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, 
rainRate=prefer_hardware, windrun=prefer_hardware, 
heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware

Oct 15 05:44:32 RadioShack weewx[4433]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Archive will use data 
binding wx_binding

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Record generation will be 
attempted in 'hardware'

Oct 15 05:44:32 RadioShack weewx[4433]: engine: The archive interval in the 
configuration file (120) does not match the station hardware interval 
(1800).

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Using archive interval of 
1800 seconds (specified by hardware)

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'

Oct 15 05:44:32 RadioShack weewx[4433]: manager: Starting backfill of daily 
summaries

Oct 15 05:44:32 RadioShack weewx[4433]: restx: StationRegistry: 
Registration not requested.

Oct 15 05:44:32 RadioShack weewx[4433]: restx: Wunderground: Posting not 
enabled.

Oct 15 05:44:32 RadioShack weewx[4433]: restx: PWSweather: Posting not 
enabled.

Oct 15 05:44:32 RadioShack weewx[4433]: restx: CWOP: Posting not enabled.

Oct 15 05:44:32 RadioShack weewx[4433]: restx: WOW: Posting not enabled.

Oct 15 05:44:32 RadioShack weewx[4433]: restx: AWEKAS: Posting not enabled.

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Starting up weewx version 
3.9.2

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Clock error is 2.35 seconds 
(positive is fast)

Oct 15 05:44:32 RadioShack weewx[4433]: engine: Starting main packet loop.

Oct 15 05:44:37 RadioShack journal: unable to create file 
'/run/user/1000/dconf/user': Permission denied. dconf will not work 
properly.

Oct 15 05:44:49 RadioShack weewx[4433]: vantage: SerialException on read.

Oct 15 05:44:49 RadioShack weewx[4433]: **** device reports readiness to 
read but returned no data (device disconnected or multiple access on port?)

Oct 15 05:44:49 RadioShack weewx[4433]: **** Is there a competing process 
running??

Oct 15 05:44:49 RadioShack weewx[4433]: vantage: LOOP try #1; error: device 
reports readiness to read but returned no data (device disconnected or 
multiple access on port?)

Oct 15 05:44:53 RadioShack wee_device[5296]: vantage: SerialException on 
read.

Oct 15 05:44:53 RadioShack wee_device[5296]: **** device reports readiness 
to read but returned no data (device disconnected or multiple access on 
port?)

Oct 15 05:44:53 RadioShack wee_device[5296]: **** Is there a competing 
process running??

Oct 15 05:44:53 RadioShack weewx[4433]: vantage: No <ACK> received from 
console

Oct 15 05:44:53 RadioShack weewx[4433]: vantage: LOOP try #2; error: No 
<ACK> received from Vantage console

Oct 15 05:44:53 RadioShack wee_device[5296]: vantage: No <ACK> received 
from console

Oct 15 05:44:53 RadioShack weewx[4433]: vantage: No <ACK> received from 
console

Oct 15 05:44:53 RadioShack weewx[4433]: vantage: LOOP try #3; error: No 
<ACK> received from Vantage console

Oct 15 05:44:54 RadioShack weewx[4433]: vantage: SerialException on read.

Oct 15 05:44:54 RadioShack weewx[4433]: **** device reports readiness to 
read but returned no data (device disconnected or multiple access on port?)

Oct 15 05:44:54 RadioShack weewx[4433]: **** Is there a competing process 
running??

Oct 15 05:44:54 RadioShack weewx[4433]: vantage: LOOP try #4; error: device 
reports readiness to read but returned no data (device disconnected or 
multiple access on port?)

Oct 15 05:44:54 RadioShack weewx[4433]: vantage: LOOP max tries (4) 
exceeded.

Oct 15 05:44:54 RadioShack weewx[4433]: engine: Main loop exiting. Shutting 
engine down.

Oct 15 05:44:54 RadioShack weewx[4433]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.

Oct 15 05:44:54 RadioShack weewx[4433]: **** Waiting 60 seconds then 
retrying...

Oct 15 05:44:54 RadioShack python: detected unhandled Python exception in 
'/bin/wee_device'

Oct 15 05:44:55 RadioShack abrt-server: Package 'weewx' isn't signed with 
proper key

Oct 15 05:44:55 RadioShack abrt-server: 'post-create' on 
'/var/spool/abrt/Python-2019-10-15-05:44:55-5296' exited with 1

Oct 15 05:44:55 RadioShack abrt-server: Deleting problem directory 
'/var/spool/abrt/Python-2019-10-15-05:44:55-5296'

Oct 15 05:45:54 RadioShack weewx[4433]: engine: retrying...

Oct 15 05:45:54 RadioShack weewx[4433]: engine: Using configuration file 
/etc/weewx/weewx.conf

Oct 15 05:45:54 RadioShack weewx[4433]: engine: Loading station type 
Vantage (weewx.drivers.vantage)

Oct 15 05:45:55 RadioShack weewx[4433]: engine: StdConvert target unit is 
0x1

Oct 15 05:45:55 RadioShack weewx[4433]: wxcalculate: The following values 
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, 
rainRate=prefer_hardware, windrun=prefer_hardware, 
heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware

Oct 15 05:45:55 RadioShack weewx[4433]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Archive will use data 
binding wx_binding

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Record generation will be 
attempted in 'hardware'

Oct 15 05:45:55 RadioShack weewx[4433]: engine: The archive interval in the 
configuration file (120) does not match the station hardware interval 
(1800).

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Using archive interval of 
1800 seconds (specified by hardware)

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'

Oct 15 05:45:55 RadioShack weewx[4433]: manager: Starting backfill of daily 
summaries

Oct 15 05:45:55 RadioShack weewx[4433]: restx: StationRegistry: 
Registration not requested.

Oct 15 05:45:55 RadioShack weewx[4433]: restx: Wunderground: Posting not 
enabled.

Oct 15 05:45:55 RadioShack weewx[4433]: restx: PWSweather: Posting not 
enabled.

Oct 15 05:45:55 RadioShack weewx[4433]: restx: CWOP: Posting not enabled.

Oct 15 05:45:55 RadioShack weewx[4433]: restx: WOW: Posting not enabled.

Oct 15 05:45:55 RadioShack weewx[4433]: restx: AWEKAS: Posting not enabled.

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Starting up weewx version 
3.9.2

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Clock error is 1.94 seconds 
(positive is fast)

Oct 15 05:45:55 RadioShack weewx[4433]: engine: Starting main packet loop.

Oct 15 05:50:01 RadioShack systemd: Created slice User Slice of root.

Oct 15 05:50:01 RadioShack systemd: Started Session 4 of user root.

Oct 15 05:50:01 RadioShack systemd: Removed slice User Slice of root.

Oct 15 06:00:01 RadioShack systemd: Created slice User Slice of root.

Oct 15 06:00:01 RadioShack systemd: Started Session 5 of user root.

Oct 15 06:00:01 RadioShack systemd: Removed slice User Slice of root.

Oct 15 06:00:16 RadioShack weewx[4433]: manager: Added record 2019-10-15 
06:00:00 CDT (1571137200) to database 'weewx.sdb'

Oct 15 06:00:16 RadioShack weewx[4433]: manager: Added record 2019-10-15 
06:00:00 CDT (1571137200) to daily summary in 'weewx.sdb'

Oct 15 06:00:17 RadioShack weewx[4433]: cheetahgenerator: Generated 8 files 
for report SeasonsReport in 0.86 seconds

Oct 15 06:00:18 RadioShack weewx[4433]: imagegenerator: Generated 42 images 
for SeasonsReport in 1.12 seconds

Oct 15 06:00:18 RadioShack weewx[4433]: copygenerator: copied 5 files to 
/var/www/html/weewx

Oct 15 06:00:49 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:01:01 RadioShack systemd: Created slice User Slice of root.

Oct 15 06:01:01 RadioShack systemd: Started Session 6 of user root.

Oct 15 06:01:19 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:01:49 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:02:19 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:02:34 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : [Errno -2] Name or service not known

Oct 15 06:03:04 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:03:34 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:04:04 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:04:34 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:05:04 RadioShack weewx[4433]: ftpupload: Unable to connect or log 
into server : timed out

Oct 15 06:05:04 RadioShack weewx[4433]: ftpupload: Attempted 10 times to 
connect to server www.davisnet.com. Giving up.

Oct 15 06:05:04 RadioShack weewx[4433]: ftpgenerator: ftp'd 0 files in 
285.80 seconds






[[FTP]]
        # FTP'ing the results to a webserver is treated as just another 
report,
        # albeit one with an unusual report generator!
        skin = Ftp
        
        # If you wish to use FTP, set "enable" to "true", then
        # fill out the next four lines.
        # Use quotes around passwords to guard against parsing errors.
        enable = true
        user = kphill01
        password = "[hidden]"
        server = www.davisinstruments.com    # The ftp server name, e.g, 
www.myserver.org
        path = \    # The destination directory, e.g., /weather
        
        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = False
        
        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = /var/www/html/weewx
        
        # Most FTP servers use port 21
        port = 21
        
        # Set to 1 to use passive mode, zero for active mode
        passive = 1

    # WeeWX will try up to this many times to FTP a file up to your server 
before giving up.         # Default is 3.
    max_tries = 10
    

-- 
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/8b4e1760-a2a1-4832-b4bc-5a4e0bf0fa43%40googlegroups.com.

Reply via email to