I am having a lot of trouble getting Weewx to recognize my weather station. 
  I have installed it on a Synology DS214PLAY and am using DSM 6.0.(latest 
version).

I first wanted to make sure that my Synology acknowledged the weather 
station being connected to it, so I used the "udevadm" command.

I used the monitor function and did the unplug the device/plug in the 
device to generate the messages below.


UDEV  [666494.874978] remove   
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1/4-1:1.0 (usb)
UDEV  [666494.875210] remove   
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1/usb_device/usbdev4.3 
(usb_device)
UDEV  [666497.908037] remove   
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1 (usb)
UDEV  [666501.803194] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1 (usb)
UDEV  [666501.804876] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1/usb_device/usbdev4.4 
(usb_device)
UDEV  [666502.002650] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1/4-1:1.0 (usb)

It appears that the Synology knows that the weather station is there, so I 
was trying to determine with port to insert in my weewx.conf


[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/usbdev4.1*
    # If the connection type is ethernet, an IP Address/hostname is 
required:
    host = 1.2.3.4

Looking at this line....

UDEV  [666501.803194] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1 (usb)

I thought the port should be the following:  *port = /dev/usbdev4.1*

Now looking at this line...

UDEV  [666501.804876] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb4/4-1/usb_device/*usbdev4.4 
*(usb_device)

I saw the "usbdev4.4" (bolded above) do I tried port = /dev/usbdev4.1

Neither worked and gave me the following error.


Aug 14 11:05:58 SuperServer weewx[26974]: engine: Unable to load driver: 
Could not configure port: (25, 'Inappropriate ioctl for device')
Aug 14 11:05:58 SuperServer weewx[26974]:     ****  Exiting...

So I tried changing the port line in the "conf" file to port = /dev/tty41 

KEEP IN MIND I'M DESPERATE HERE!

and I get the following error

Aug 14 11:08:40 SuperServer weewx[27287]: vantage: Unable to wake up console
Aug 14 11:08:40 SuperServer weewx[27287]: engine: Unable to load driver: 
Unable to wake up Vantage console
Aug 14 11:08:40 SuperServer weewx[27287]:     ****  Exiting...

And one final desperate measure, I tried changing the line in the port to *port 
= /dev/ttyS3*  Thinking I saw USB4 in the line below...

UDEV  [666501.804876] add     
 /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/*usb4*/4-1/usb_device/
*usbdev4.4 *(usb_device)

I though considering the was ttyS0, ttyS1, ttyS2, and ttyS3, I'd try ttyS3 
(remember I'm desperate).
I then got the following error

Aug 14 11:11:31 SuperServer weewx[27642]:     ****  Exiting...
Aug 14 11:12:22 SuperServer weewx[27785]: engine: Unable to load driver: 
Could not configure port: (5, 'Input/output error')


Either I have the wrong port or I need a the USB to serial port conversion 
as I had to do that on my Windows PC.  I looked a little, but I haven't 
found one for linux.  I am a novice on linux, so I apologize if I am asking 
the obvious.

Help would be immensely appreciated.




-- 
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.

Reply via email to