Hi all
I'm unable to get a connection going between wh2310 and pi, most likely 
from what I've read, because the usb voltage is not high enough and I'm 
waiting on powered hub 
but in the meantime if I could get you guys to check the config would be 
great.
Sorry not able to run with debug on in config because the station is not at 
this site but I think it's probably a more basic problem

Syslog-:

May 16 13:33:57 raspberrypi dbus-daemon[563]: [session uid=1000 pid=563] 
Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
May 16 13:33:57 raspberrypi systemd[470]: Started Virtual filesystem 
service - GNOME Online Accounts monitor.
May 16 13:34:04 raspberrypi systemd[1]: systemd-hostnamed.service: 
Succeeded.
May 16 13:34:07 raspberrypi vncserver-x11[365,root]: Connections: 
connected: fe80::1d0:9447:9f59:373b%wlan0::56399 (TCP)
May 16 13:34:07 raspberrypi vncserver-x11[365,root]: Connections: 
authenticated: fe80::1d0:9447:9f59:373b%wlan0::56399 (TCP), as pi (f 
permissions)
May 16 13:34:08 raspberrypi vncserver-x11[365,root]: SPrintConnMgr: Failed 
to add printer: server-error-service-unavailable
May 16 13:38:01 raspberrypi vncserver-x11[365,root]: Connections: 
disconnected: fe80::1d0:9447:9f59:373b%wlan0::56399 (TCP) ([ViewerClosed] 
VNC Viewer closed)
May 16 13:39:17 raspberrypi vncserver-x11[365,root]: Connections: 
connected: fe80::1d0:9447:9f59:373b%wlan0::56411 (TCP)
May 16 13:39:18 raspberrypi vncserver-x11[365,root]: Connections: 
authenticated: fe80::1d0:9447:9f59:373b%wlan0::56411 (TCP), as pi (f 
permissions)
May 16 13:39:18 raspberrypi vncserver-x11[365,root]: SPrintConnMgr: Failed 
to add printer: server-error-service-unavailable
May 16 13:42:27 raspberrypi kernel: [  574.389546] usb 1-1: new full-speed 
USB device number 2 using dwc2
May 16 13:42:28 raspberrypi kernel: [  574.640825] usb 1-1: New USB device 
found, idVendor=10c4, idProduct=8468, bcdDevice= 0.00
May 16 13:42:28 raspberrypi kernel: [  574.640846] usb 1-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=0
May 16 13:42:28 raspberrypi kernel: [  574.640854] usb 1-1: Product: 
HIDtoSPI Slave
May 16 13:42:28 raspberrypi kernel: [  574.640861] usb 1-1: Manufacturer: 
SLAB
May 16 13:42:28 raspberrypi kernel: [  574.655863] hid-generic 
0003:10C4:8468.0001: hiddev96,hidraw0: USB HID v1.01 Device [SLAB HIDtoSPI 
Slave] on usb-20980000.usb-1/input0
May 16 13:42:28 raspberrypi mtp-probe: checking bus 1, device 2: 
"/sys/devices/platform/soc/20980000.usb/usb1/1-1"
May 16 13:42:28 raspberrypi mtp-probe: bus: 1, device: 2 was not an MTP 
device
May 16 13:42:29 raspberrypi mtp-probe: checking bus 1, device 2: 
"/sys/devices/platform/soc/20980000.usb/usb1/1-1"
May 16 13:42:29 raspberrypi mtp-probe: bus: 1, device: 2 was not an MTP 
device
May 16 13:48:10 raspberrypi systemd[1]: Starting Cleanup of Temporary 
Directories...
May 16 13:48:11 raspberrypi systemd[1]: systemd-tmpfiles-clean.service: 
Succeeded.
May 16 13:48:11 raspberrypi systemd[1]: Started Cleanup of Temporary 
Directories.
May 16 13:48:12 raspberrypi systemd[1]: Stopping LSB: weewx weather 
system...
May 16 13:48:13 raspberrypi weewx[1336]: Stopping weewx weather system: 
weewx not running....
May 16 13:48:13 raspberrypi systemd[1]: weewx.service: Succeeded.
May 16 13:48:13 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
May 16 13:48:25 raspberrypi systemd[1]: Starting LSB: weewx weather 
system...
May 16 13:48:28 raspberrypi weewx[1396] INFO __main__: Initializing weewx 
version 4.0.0
May 16 13:48:28 raspberrypi weewx[1396] INFO __main__: Using Python 3.7.3 
(default, Dec 20 2019, 18:57:59) #012[GCC 8.3.0]
May 16 13:48:28 raspberrypi weewx[1396] INFO __main__: Platform 
Linux-4.19.97+-armv6l-with-debian-10.3
May 16 13:48:28 raspberrypi weewx[1396] INFO __main__: Locale is 
'en_US.UTF-8'
May 16 13:48:28 raspberrypi weewx[1396] INFO __main__: PID file is 
/var/run/weewx.pid
May 16 13:48:29 raspberrypi weewx[1384]: Starting weewx weather system: 
weewx.
May 16 13:48:29 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 16 13:48:29 raspberrypi weewx[1400] INFO __main__: Using configuration 
file /etc/weewx/weewx.conf
May 16 13:48:30 raspberrypi weewx[1400] INFO weewx.engine: Loading station 
type WS1 (weewx.drivers.ws1)
May 16 13:48:30 raspberrypi weewx[1400] INFO weewx.drivers.ws1: driver 
version is 0.40
May 16 13:48:30 raspberrypi weewx[1400] INFO weewx.drivers.ws1: using 
serial port /dev/ttyUSB0
May 16 13:48:30 raspberrypi weewx[1400] ERROR weewx.engine: Import of 
driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
such file or directory: '/dev/ttyUSB0' (<class 
'serial.serialutil.SerialException'>)
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
Traceback (most recent call last):
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 265, in 
open
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
File NotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
During handling of the above exception, another exception occurred:
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
Traceback (most recent call last):
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/engine.py", line 103, in setupStation
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  self.console = loader_function(config_dict, self)
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/drivers/ws1.py", line 36, in loader
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  return WS1Driver(**config_dict[DRIVER_NAME])
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/drivers/ws1.py", line 102, in __init__
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  self.station.open()
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/drivers/ws1.py", line 230, in open
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  timeout=self.timeout)
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in 
__init__
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  self.open()
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in 
open
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****    
  raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL weewx.engine:     ****  
serial.serialutil.SerialException: [Errno 2] could not open port 
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL __main__: Unable to load 
driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file 
or directory: '/dev/ttyUSB0'
May 16 13:48:30 raspberrypi weewx[1400] CRITICAL __main__:     ****  
Exiting...
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
relevant part of weewx.conf minus passwords and location

# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer <tkef...@gmail.com>
# 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/pi/weewx

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# 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 = 4.0.0

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

#   This section is for information about the station.

[Station]
    
-
-
-
-
    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    altitude = 195, meter
    
    # 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 = WS1
    
    # 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

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

[WS1]
    # This section is for the ADS WS1 series of weather stations.
    
    # Driver mode - tcp, udp, or serial
    mode = serial
    
    # If serial, specify the serial port device. (ex. /dev/ttyS0, 
/dev/ttyUSB0,
    # or /dev/cuaU0)
    # If TCP, specify the IP address and port number. (ex. 
192.168.36.25:3000)
    port = /dev/ttyUSB0
    
    # The amount of time, in seconds, before the connection fails if there 
is
    # no response
    timeout = 3
    
    # The driver to use:
    driver = weewx.drivers.ws1

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

Thanks

Neil

(My first post, haven't quite got into it yet)

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9e80e399-27cd-4d5a-927c-757f555b4ce2%40googlegroups.com.

Reply via email to