What version did you update from? There have been no significant changes to the Vantage runtime in years --- just configuration changes.
You are using the port /dev/vantage. Make sure it points to the port you think it points to. As an experiment, try using the real port name (usually /dev/ttyUSB0). If that works, you know you have a udev problem. -tk On Fri, Aug 31, 2018 at 3:07 PM jfk <[email protected]> wrote: > Hello there, > > Did a full update to the latest Raspberry PI 3B+, Weewx 3.8.2 it seems > either the vantage tty is bouncing, or weewx has some issue with it: > > Aug 31 14:56:17 dcrwx weewx[12677]: engine: Initializing weewx version > 3.8.2 > > Aug 31 14:56:17 dcrwx weewx[12677]: engine: Using Python 2.7.13 (default, > Nov 24 2017, 17:33:09) #012[GCC 6.3.0 20170516] > > Aug 31 14:56:17 dcrwx weewx[12677]: engine: Platform > Linux-4.14.66-v7+-armv7l-with-debian-9.4 > > Aug 31 14:56:17 dcrwx weewx[12677]: engine: Locale is 'en_US.UTF-8' > > Aug 31 14:56:17 dcrwx weewx[12677]: engine: pid file is > /var/weewx/run/weewx.pid > > Aug 31 14:56:17 dcrwx weewx[12683]: engine: Using configuration file > /home/drycreekwxuser/weewx/weewx.conf > > Aug 31 14:56:17 dcrwx weewx[12683]: engine: Loading station type Vantage > (weewx.drivers.vantage) > > Aug 31 14:56:17 dcrwx weewx[12651]: . > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: StdConvert target unit is 0x1 > > Aug 31 14:56:18 dcrwx weewx[12683]: 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 > > Aug 31 14:56:18 dcrwx weewx[12683]: wxcalculate: The following algorithms > will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Archive will use data binding > wx_binding > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Record generation will be > attempted in 'hardware' > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Using archive interval of 300 > seconds (specified by hardware) > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Using binding 'wx_binding' to > database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Starting backfill of daily > summaries > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: StationRegistry: Registration > not requested. > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: Wunderground: Posting not > enabled. > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: PWSweather: Posting not enabled. > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: CWOP: Posting not enabled. > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: WOW: Posting not enabled. > > Aug 31 14:56:18 dcrwx weewx[12683]: restx: AWEKAS: Posting not enabled. > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Starting up weewx version 3.8.2 > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Clock error is -0.10 seconds > (positive is fast) > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:25:00 PDT (1535750700) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:25:00 PDT (1535750700) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:30:00 PDT (1535751000) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:30:00 PDT (1535751000) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:35:00 PDT (1535751300) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:35:00 PDT (1535751300) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:40:00 PDT (1535751600) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:40:00 PDT (1535751600) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:45:00 PDT (1535751900) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:45:00 PDT (1535751900) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:50:00 PDT (1535752200) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:50:00 PDT (1535752200) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:55:00 PDT (1535752500) to database 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: manager: Added record 2018-08-31 > 14:55:00 PDT (1535752500) to daily summary in 'weewx.sdb' > > Aug 31 14:56:18 dcrwx weewx[12683]: engine: Starting main packet loop. > > Aug 31 14:56:30 dcrwx weewx[12683]: vantage: SerialException on read. > > Aug 31 14:56:30 dcrwx weewx[12683]: **** device reports readiness to > read but returned no data (device disconnected or multiple access on port?) > > Aug 31 14:56:31 dcrwx weewx[12683]: **** Is there a competing process > running?? > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: LOOP try #1; error: device > reports readiness to read but returned no data (device disconnected or > multiple access on port?) > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: Unable to wake up console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: LOOP try #2; error: Unable to > wake up Vantage console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: Unable to wake up console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: LOOP try #3; error: Unable to > wake up Vantage console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: Unable to wake up console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: LOOP try #4; error: Unable to > wake up Vantage console > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: LOOP max tries (4) exceeded. > > Aug 31 14:56:31 dcrwx weewx[12683]: vantage: SerialException on write. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** write failed: [Errno 5] > Input/output error > > Aug 31 14:56:31 dcrwx weewx[12683]: engine: Caught WeeWxIOError: Max tries > exceeded while getting LOOP data. > > Aug 31 14:56:31 dcrwx weewx[12683]: **** Waiting 60 seconds then > retrying... > > Aug 31 14:57:31 dcrwx weewx[12683]: engine: retrying... > > Aug 31 14:57:31 dcrwx weewx[12683]: engine: Using configuration file > /home/drycreekwxuser/weewx/weewx.conf > > Aug 31 14:57:31 dcrwx weewx[12683]: engine: Loading station type Vantage > (weewx.drivers.vantage) > > Aug 31 14:57:31 dcrwx weewx[12683]: import of driver failed: [Errno 2] > could not open port /dev/vantage: [Errno 2] No such file or directory: > '/dev/vantage' (<class 'serial.serialutil.SerialException'>) > > Aug 31 14:57:31 dcrwx weewx[12683]: engine: Unable to load driver: [Errno > 2] could not open port /dev/vantage: [Errno 2] No such file or directory: > '/dev/vantage' > > Aug 31 14:57:31 dcrwx weewx[12683]: **** Exiting... > > > pi@dcrwx:~ $ sudo /home/drycreekwxuser/weewx/bin/wee_debug --info > > Using verbosity=1, displaying most info > > > wee_debug output will be sent to stdout(console) > > > Using configuration file /home/drycreekwxuser/weewx/weewx.conf > > Using database binding 'wx_binding', which is bound to database > 'archive_sqlite' > > > System info > > Platform: Linux-4.14.66-v7+-armv7l-with-debian-9.4 > > Python Version: 2.7.13 > > > Load Information > > 1 minute load average: 1.39 > > 5 minute load average: 1.22 > > 15 minute load average: 1.08 > > > General Weewx info > > Weewx version 3.8.2 detected. > > > Station info > > Station type: Vantage > > Driver: weewx.drivers.vantage > > > Driver info > > [Vantage] > > # This section is for the Davis Vantage series of weather stations. > > > > # Connection type: serial or ethernet > > # serial (the classic VantagePro) > > # ethernet (the WeatherLinkIP) > > type = serial > > > > # If the connection type is serial, a port must be specified: > > # Debian, Ubuntu, Redhat, Fedora, and SuSE: > > # /dev/ttyUSB0 is a common USB port name > > # /dev/ttyS0 is a common serial port name > > # BSD: > > # /dev/cuaU0 is a common serial port name > > port = /dev/vantage > > > > # If the connection type is ethernet, an IP Address/hostname is > required: > > host = 1.2.3.4 > > > > ###################################################### > > # The rest of this section rarely needs any attention. > > # You can safely leave it "as is." > > ###################################################### > > > > # Serial baud rate (usually 19200) > > baudrate = 19200 > > > > # TCP port (when using the WeatherLinkIP) > > tcp_port = 22222 > > > > # TCP send delay (when using the WeatherLinkIP): > > tcp_send_delay = 0.5 > > > > # The id of your ISS station (usually 1). If you use a wind meter > connected > > # to a anemometer transmitter kit, use its id > > iss_id = 1 > > > > # How long to wait for a response from the station before giving up (in > > # seconds; must be greater than 2) > > timeout = 4 > > > > # How long to wait before trying again (in seconds) > > wait_before_retry = 1.2 > > > > # How many times to try before giving up: > > max_tries = 4 > > > > # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2 > > model_type = 2 > > > > # The driver to use: > > driver = weewx.drivers.vantage > > > Currently installed extensions > > Extension Name Version Description > > dcrskin 1.1.6 dcrskin skin for weewx. > > > Archive info > > Database name: weewx.sdb > > Table name: archive > > Unit system: 1 (US) > > First good timestamp: 2016-01-02 16:40:00 PST (1451781600) > > Last good timestamp: 2018-08-31 15:00:00 PDT (1535752800) > > Number of records: 213051 > > weewx (weewx.conf) is set to use an archive interval of 300 seconds. > > The station hardware was not interrogated in determining archive > interval. > > > Databases configured in weewx.conf > > Database name: weewx.sdb > > Database driver: weedb.sqlite > > > Database name: weewx > > Database driver: weedb.mysql > > Database host: localhost > > > > Parsed and obfuscated weewx.conf > > # WEEWX CONFIGURATION FILE > > # > > # Copyright (c) 2009-2015 Tom Keffer <[email protected]> > > # See the file LICENSE.txt for your rights. > > > > ############################################################################## > > > # This section is for general configuration information. > > > # Set to 1 for extra debug info, otherwise comment it out or set to zero > > debug = 0 > > > # Root directory of the weewx data file hierarchy for this station > > WEEWX_ROOT = /home/drycreekwxuser/weewx > > > # How long to wait before timing out a socket (FTP, HTTP) connection > > socket_timeout = 20 > > > # Do not modify this. It is used when installing and updating weewx. > > version = 3.8.2 > > > > ############################################################################## > > > # This section is for information about the station. > > > [Station] > > > > # Description of the station location > > location = "Glasshouse, Dry Creek" > > > > # Latitude and longitude in decimal degrees > > latitude = 38.394415 > > longitude = -122.416557 > > > > # Altitude of the station, with unit it is in. This is downloaded from > > # from the station if the hardware supports it. > > altitude = 612, foot # Choose 'foot' or 'meter' for unit > > > > # Set to type of station hardware. There must be a corresponding stanza > > # in this file with a 'driver' parameter indicating the driver to be > used. > > station_type = Vantage > > > > # If you have a website, you may specify an URL > > #station_url = http://www.example.com > > > > # The start of the rain year (1=January; 10=October, etc.). This is > > # downloaded from the station if the hardware supports it. > > rain_year_start = 1 > > > > # Start of week (0=Monday, 6=Sunday) > > week_start = 6 > > > > ############################################################################## > > > [Vantage] > > # This section is for the Davis Vantage series of weather stations. > > > > # Connection type: serial or ethernet > > # serial (the classic VantagePro) > > # ethernet (the WeatherLinkIP) > > type = serial > > > > # If the connection type is serial, a port must be specified: > > # Debian, Ubuntu, Redhat, Fedora, and SuSE: > > # /dev/ttyUSB0 is a common USB port name > > # /dev/ttyS0 is a common serial port name > > # BSD: > > # /dev/cuaU0 is a common serial port name > > port = /dev/vantage > > > > # If the connection type is ethernet, an IP Address/hostname is > required: > > host = 1.2.3.4 > > > > ###################################################### > > # The rest of this section rarely needs any attention. > > # You can safely leave it "as is." > > ###################################################### > > > > # Serial baud rate (usually 19200) > > baudrate = 19200 > > > > # TCP port (when using the WeatherLinkIP) > > tcp_port = 22222 > > > > # TCP send delay (when using the WeatherLinkIP): > > tcp_send_delay = 0.5 > > > > # The id of your ISS station (usually 1). If you use a wind meter > connected > > # to a anemometer transmitter kit, use its id > > iss_id = 1 > > > > # How long to wait for a response from the station before giving up (in > > # seconds; must be greater than 2) > > timeout = 4 > > > > # How long to wait before trying again (in seconds) > > wait_before_retry = 1.2 > > > > # How many times to try before giving up: > > max_tries = 4 > > > > # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2 > > model_type = 2 > > > > # The driver to use: > > driver = weewx.drivers.vantage > > > > ############################################################################## > > > # This section is for uploading data to Internet sites > > > [StdRESTful] > > > > [[StationRegistry]] > > # To register this weather station with weewx, set this to true > > register_this_station = false > > > > [[AWEKAS]] > > # This section is for configuring posts to AWEKAS. > > > > # If you wish to do this, set the option 'enable' to true, > > # and specify a username and password. > > enable = false > > username = XXX obfuscated by wee_debug XXX > > # To guard against parsing errors, put your password in quotes: > > password = XXX obfuscated by wee_debug XXX > > > > [[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). > > enable = false > > station = XXX obfuscated by wee_debug XXX > > > > # 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) > > > > [[PWSweather]] > > # This section is for configuring posts to PWSweather.com. > > > > # If you wish to do this, set the option 'enable' to true, > > # and specify a station and password. > > enable = false > > station = XXX obfuscated by wee_debug XXX > > # To guard against parsing errors, put your password in quotes: > > password = XXX obfuscated by wee_debug XXX > > > > [[WOW]] > > # This section is for configuring posts to WOW. > > > > # If you wish to do this, set the option 'enable' to true, > > # and specify a station and password. > > enable = false > > station = XXX obfuscated by wee_debug XXX > > # To guard against parsing errors, put your password in quotes: > > password = XXX obfuscated by wee_debug XXX > > > > [[Wunderground]] > > # This section is for configuring posts to the Weather Underground. > > > > # If you wish to do this, set the option 'enable' to true, > > # and specify a station (e.g., 'KORHOODR3') and password. > > enable = false > > station = XXX obfuscated by wee_debug XXX > > # To guard against parsing errors, put your password in quotes: > > password = XXX obfuscated by wee_debug XXX > > > > # Set the following to True to have weewx use the WU "Rapidfire" > > # protocol. Not all hardware can support it. See the User's Guide. > > rapidfire = False > > > > ############################################################################## > > > # This section specifies what reports, using which skins, to generate. > > > [StdReport] > > > > # Where the skins reside, relative to WEEWX_ROOT > > SKIN_ROOT = skins > > > > # Where the generated reports should go, relative to WEEWX_ROOT > > #HTML_ROOT = public_html > > #~~~~24-Mar-18 JFK - Ramdisk root > > HTML_ROOT = /var/weewx/public_html > > > > # The database binding indicates which data should be used in reports. > > data_binding = wx_binding > > > > # Each of the following subsections defines a report that will be run. > > > > [[StandardReport]] > > # See the customizing guide to change the units, plot types and > line > > # colors, modify the fonts, display additional sensor data, and > other > > # customizations. Many of those changes can be made here by > overriding > > # parameters, or by modifying templates within the skin itself. > > > > # The StandardReport uses the 'Standard' skin, which contains the > > # images, templates and plots for the report. > > skin = Standard > > [[[Units]]] > > [[[[Groups]]]] > > group_altitude = foot > > group_speed2 = mile_per_hour2 > > group_pressure = inHg > > group_rain = inch > > group_rainrate = inch_per_hour > > group_temperature = degree_F > > group_degree_day = degree_F_day > > group_speed = mile_per_hour > > [[dcrskin]] > > HTML_ROOT = /var/weewx/public_html/dcrskin > > skin = dcrskin > > [[[Extras]]] > > current = INST_SKIN_ROOT/dcrskin/current.inc > > hilo = INST_SKIN_ROOT/dcrskin/hilo.inc > > > > [[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, uncomment and fill out the next four > lines. > > #user = replace with the ftp username > > #password = replace with the ftp password; put in quotes to guard > against parsing errors. > > #server = replace with the ftp server name, e.g, > www.threefools.org > > #path = replace with the ftp 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 = public_html > > > > # Most FTP servers use port 21 > > port = 21 > > > > # Set to 1 to use passive mode, zero for active mode > > passive = 1 > > > > [[RSYNC]] > > # rsync'ing to a webserver is treated as just another report > > skin = Rsync > > > > # If you wish to use rsync, you must configure passwordless ssh usi > -- 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]. For more options, visit https://groups.google.com/d/optout.
