Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WeeWX connection problem
#18

Hi lamda,

for me it worked with those settings in WeeWx.conf.

Code:
##############################################################################

[Vantage]
    # This section is for the Davis Vantage series of weather stations.
    
    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
       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/ttyACM0
    
    # 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

##############################################################################

As you already know you have to change your device.

Code:
##############################################################################

#   This section is for configuring the archive service.

[StdArchive]
    
    # If the station hardware supports data logging then the archive interval
    # will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval = 60
    
    # If possible, new archive records are downloaded from the station
    # hardware. If the hardware does not support this, then new archive
    # records will be generated in software.
    # Set the following to "software" to force software record generation.
    record_generation = software
    
    # Whether to include LOOP data in hi/low statistics
    loop_hilo = True
    
    # The data binding used to save archive records
    data_binding = wx_binding

##############################################################################

This should do the trick.

It is also described here: http://weewx.com/docs/usersguide.htm#StdArchive

As long as it tries to download something from the logger with the DMPAFT comand it is still configured not correctly.
I can confirm - and I have also tried myself that it works without logger and DMPAFT command.

If everything is running fine there is no need to modify some of the WeeWx internals.

Regards,
engolling
Reply


Messages In This Thread
WeeWX connection problem - by edr1924 - 19-10-2019, 11:39
RE: WeeWX connection problem - by engolling - 19-10-2019, 22:20
RE: WeeWX connection problem - by edr1924 - 20-10-2019, 09:25
RE: WeeWX connection problem - by edr1924 - 20-10-2019, 12:51
RE: WeeWX connection problem - by werk_ag - 20-10-2019, 20:30
RE: WeeWX connection problem - by mikeyk - 13-11-2019, 04:48
RE: WeeWX connection problem - by engolling - 13-11-2019, 07:07
RE: WeeWX connection problem - by lamda - 22-02-2020, 11:21
RE: WeeWX connection problem - by engolling - 22-02-2020, 22:50
RE: WeeWX connection problem - by werk_ag - 22-02-2020, 23:12
RE: WeeWX connection problem - by lamda - 22-02-2020, 23:31
RE: WeeWX connection problem - by engolling - 22-02-2020, 23:29
RE: WeeWX connection problem - by engolling - 22-02-2020, 23:39
RE: WeeWX connection problem - by lamda - 22-02-2020, 23:50
RE: WeeWX connection problem - by engolling - 23-02-2020, 00:09
RE: WeeWX connection problem - by lamda - 23-02-2020, 00:41
RE: WeeWX connection problem - by werk_ag - 23-02-2020, 02:26
RE: WeeWX connection problem - by engolling - 23-02-2020, 08:59
RE: WeeWX connection problem - by lamda - 23-02-2020, 11:49
RE: WeeWX connection problem - by engolling - 24-02-2020, 14:02
RE: WeeWX connection problem - by lamda - 04-03-2020, 18:42



Users browsing this thread: 1 Guest(s)