Thanks for the response. The reason I used the python 2 directions was pure
user error.
I retried using the python 3 instructions and was much more successful,
although am still getting an error, but it appears that the it can't open a
port to connect to the weatherlink live device.
Dec 16 15:55:52 raspberrypi1 weewx[19487] CRITICAL weewx.engine:
**** File "/usr/share/weewx/weewx/drivers/vantage.py", line 344, in
openPort
Dec 16 15:55:52 raspberrypi1 weewx[19469]: Starting weewx weather system:
weewx.
Dec 16 15:55:52 raspberrypi1 weewx[19487] CRITICAL weewx.engine:
**** raise weewx.WeeWxIOError(ex)
Dec 16 15:55:52 raspberrypi1 systemd[1]: Started LSB: weewx weather system.
Dec 16 15:55:52 raspberrypi1 weewx[19487] CRITICAL weewx.engine: ****
weewx.WeeWxIOError: [Errno 111] Connection refused
Dec 16 15:55:52 raspberrypi1 weewx[19487] CRITICAL __main__: Unable to load
driver: [Errno 111] Connection refused
Dec 16 15:55:52 raspberrypi1 weewx[19487] CRITICAL __main__: ****
Exiting...
vantage.py relevant snippet:
def openPort(self):
import socket
try:
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.socket.settimeout(self.timeout)
self.socket.connect((self.host, self.port))
except (socket.error, socket.timeout, socket.herror) as ex:
log.error("Socket error while opening port %d to ethernet host
%s.", self.port, self.host)
# Reraise as a weewx I/O error:
raise weewx.WeeWxIOError(ex)
except:
log.error("Unable to connect to ethernet host %s on port %d.",
self.host, self.port)
raise
log.debug("Opened up ethernet host %s on port %d. timeout=%s,
tcp_send_delay=%s",
self.host, self.port, self.timeout, self.tcp_send_delay)
Any direction as to why?
Thanks!
On Wednesday, December 16, 2020 at 4:13:32 PM UTC-5 vince wrote:
> aaaah - he used the python2 instructions, not the python3 instructions.
> Might be easier to just delete the package and follow the python3
> instructions which will get him the python3 package.
>
>
--
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/63473755-a844-4834-958d-035b0e5ea23bn%40googlegroups.com.