My welcome has been similar :) On the 15 years or so of data from wview. I successfully imported 12 years of data. So it's possible! :)
Good luck. Chris On Wednesday, December 27, 2017 at 8:56:51 PM UTC-8, loonsailor wrote: > > Thanks, that did it! Actually, I'm not sure whether it was the "port" or > the "tcp_port" parameter in weewx.conf, so I changed both. I'm up and > running! It barfed on importing my 15 years or so of data from wview, but > that's a problem for another day, and I won't have a chance to dig into it > for a couple of weeks. > > Thanks again for all the help! What a nice way to enter a new community. > > On Wednesday, December 27, 2017 at 6:16:56 PM UTC-8, Tom Keffer wrote: >> >> The "host" line should just be the IP address: no port. >> >> The "port" line should be the port. >> >> you're combining the two as "host". >> >> So, you want >> >> [Vantage] >> type = ethernet >> host = 192.168.198.202 >> port = 3001 >> >> -tk >> >> On Wed, Dec 27, 2017 at 6:05 PM, 'loonsailor' via weewx-user < >> [email protected]> wrote: >> >>> Thanks for this. I was really excited. Tried it, but it doesn't work. >>> Specifically, here is the log file: >>> >>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Loading station >>> type Vantage (weewx.drivers.vantage) >>> Dec 27 18:00:32 ubu-mini-weather weewx[10902]: ...done. >>> Dec 27 18:00:32 ubu-mini-weather systemd[1]: Started LSB: weewx weather >>> system. >>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: vantage: Socket error >>> while opening port 22222 to ethernet host 192.168.198.202. >>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: import of driver failed: >>> [Errno 111] Connection refused (<class 'weewx.WeeWxIOError'>) >>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Unable to load >>> driver: [Errno 111] Connection refused >>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: **** Exiting... >>> >>> >>> >>> The serial port converter wants to use socket 3001. Worked fine in >>> wview, so I chaged the socket address in weewx.conf to be >>> 192.168.198.202:3001. Then, I get the following: >>> >>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Loading station >>> type Vantage (weewx.drivers.vantage) >>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: vantage: Socket error >>> while opening port 22222 to ethernet host 192.168.198.202:3001. >>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: import of driver failed: >>> [Errno -2] Name or service not known (<class 'weewx.WeeWxIOError'>) >>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Unable to load >>> driver: [Errno -2] Name or service not known >>> Dec 27 17:31:29 ubu-mini-weather weewx[10658]: ...done. >>> >>> So, I'm not sure how to tell it to open the correct socket on the >>> lantronix. I'll have a look at the code, but any ideas? >>> >>> Thanks >>> >>> On Wednesday, December 27, 2017 at 11:03:43 AM UTC-8, Chris Alemany >>> wrote: >>> >>>> Hi loonsailor, >>>> >>>> I have been using a serial to ethernet interface for years as well >>>> (with the wview software). I moved to weewx recently and after some >>>> digging realized the support for serial-ethernet is there, just not >>>> documented up front. >>>> >>>> Just go through the regular install process and when you get into the >>>> weewx.conf file below is what I am using for my Serial-Ethernet bridge. >>>> Exactly what I used for wview all this time. Worked on the first try. >>>> >>>> Good luck! >>>> >>>> [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 = ethernet >>>> >>>> # 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/ttyUSB0 >>>> >>>> # If the connection type is ethernet, an IP Address/hostname is >>>> required: >>>> host = 192.168.1.101 >>>> >>>> ###################################################### >>>> # 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 = 4660 >>>> >>>> # 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 >>>> >>>> # The driver to use: >>>> driver = weewx.drivers.vantage >>>> >>>> >>>> >>>> On Tuesday, December 26, 2017 at 9:57:39 PM UTC-8, loonsailor wrote: >>>>> >>>>> My old computer, on which I've been running view for many years, has >>>>> died. I'd like to switch over to weewx, but I'm not sure if it will >>>>> support my hardware. I'm running an original vantage pro. The console >>>>> has >>>>> a serial port, which I've connected to my LAN with a Lantronix >>>>> serial-ethernet interface, an older version of this >>>>> <https://www.lantronix.com/products/eds1100-eds2100/> one. I can't >>>>> move the console near my computer, because the wireless won't handle the >>>>> walls and the distance. So, I have uncertainty on two levels - the old >>>>> Vantage Pro (not the newer + version), and the connection via a >>>>> serial-ethernet interface. Can I make this work, or do I need to rethink >>>>> the whole thing? >>>>> >>>>> Thanks >>>>> >>>> -- >>> 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. >>> >> >> -- 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.
