Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

CumulusMX on Synology DS218 : Fine Offset station not found

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

Hello
On my synology DS218 NAS are installed Mono 5.8.0.108-11 from the package available on the Synology community and CumuluxMX v.3.11.4 build 3133.
I also installed the USBSerialDrivers DSM 6.2 package edited by Jadahl.
I have a PCE-FWS20 weather station which is a clone of the WH1080. The station is connected directly to one of the USB ports on the NAS.
The NAS seems to detect the station on the USB port as shown by the result of the commands below:
ash-4.3# lsusb -t
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/0p, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
lsusb -v

Bus 004 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1941 Dream Link
idProduct 0x8021 WH1080 Weather Station / USB Missile Launcher
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
ls -al /dev/usb
total 0
drwxr-xr-x 2 root root 60 Jul 22 11:13 .
drwxr-xr-x 13 root root 7480 Jul 22 11:13 ..
crw------- 1 root root 180, 104 Jul 22 11:13 hiddev8
However, when I run CumulusMX via mono, CumulusMX cannot find the station. Here is the content of the CumulusMX log:
2021-07-22 11:26:55.934 ========================== Cumulus MX starting ==========================
2021-07-22 11:26:55.945 Command line: /volume1/web/CumulusMX/CumulusMX.exe
2021-07-22 11:26:55.945 Cumulus MX v.3.11.4 build 3133
2021-07-22 11:26:55.968 Platform: Unix
2021-07-22 11:26:55.975 OS version: Unix 4.4.59.0
2021-07-22 11:26:55.977 Mono version: 5.8.0.108 (tarball Mon Dec 7 17:53:59 UTC 2020)
2021-07-22 11:26:55.977 Current culture: English (United States)
2021-07-22 11:26:55.979 Directory separator=[/] Decimal separator=[.] List separator=[,]
2021-07-22 11:26:55.979 Date separator=[/] Time separator=[:]
2021-07-22 11:26:55.979 Standard time zone name: CET
2021-07-22 11:26:55.980 Daylight saving time name: CEST
2021-07-22 11:26:55.982 Daylight saving time? True
2021-07-22 11:26:55.987 7/22/2021 11:26:55 AM
2021-07-22 11:26:56.109 Reading Cumulus.ini file
2021-07-22 11:26:56.177 AvgSpdMins=10 AvgSpdTime=00:10:00
2021-07-22 11:26:56.192 Cumulus start date: Wednesday, July 21, 2021
2021-07-22 11:26:56.575 No start-up PING
2021-07-22 11:26:56.575 No start-up delay - disabled
2021-07-22 11:26:56.586 Data path = data/
2021-07-22 11:26:56.731 BackupData: Creating backup folder backup/20210722112656/
2021-07-22 11:26:56.755 Created backup folder backup/20210722112656/
2021-07-22 11:26:56.755 Debug logging is disabled
2021-07-22 11:26:56.755 Data logging is disabled
2021-07-22 11:26:56.755 FTP logging is disabled
2021-07-22 11:26:56.755 Email logging is disabled
2021-07-22 11:26:56.755 Spike logging is enabled
2021-07-22 11:26:56.755 Logging interval = 1 mins
2021-07-22 11:26:56.755 Real time interval = 30 secs
2021-07-22 11:26:56.756 NoSensorCheck = 0
2021-07-22 11:26:56.832 Calculating sunrise and sunset times
2021-07-22 11:26:56.866 Sunrise: 06:02:04
2021-07-22 11:26:56.866 Sunset : 21:35:58
2021-07-22 11:26:56.867 Tomorrow sunrise: 06:03:17
2021-07-22 11:26:56.868 Tomorrow sunset : 21:34:47
2021-07-22 11:26:57.066 Station type: Fine Offset
2021-07-22 11:26:57.069 Units.Wind=km/h RainUnit=mm TempUnit=°C PressureUnit=hPa
2021-07-22 11:26:57.071 YTDRain=0.000 Year=0
2021-07-22 11:26:57.072 RainDayThreshold=-1.000
2021-07-22 11:26:57.072 Roll over hour=0
2021-07-22 11:26:57.076 Offsets and Multipliers:
2021-07-22 11:26:57.077 PO=0.000 TO=0.000 HO=0 WDO=0 ITO=0.000 SO=0.000 UVO=0.000
2021-07-22 11:26:57.078 PM=1.000 WSM=1.000 WGM=1.000 TM=1.000 TM2=0.000 HM=1.000 HM2=0.000 RM=1.000 SM=1.000 UVM=1.000
2021-07-22 11:26:57.078 Spike removal:
2021-07-22 11:26:57.078 TD=999.000 GD=999.000 WD=999.000 HD=999.000 PD=999.000 MR=999.000 MH=999.000
2021-07-22 11:26:57.078 Limits:
2021-07-22 11:26:57.078 TH=60.0 TL=-60.0 DH=40.0 PH=1090.0 PL=870.0 GH=90.000
2021-07-22 11:26:57.079 Primary AQ Sensor = Undefined
2021-07-22 11:26:57.547 Cumulus Starting
2021-07-22 11:26:57.651 HTML root path = /volume1/web/CumulusMX/interface
2021-07-22 11:26:58.370 Opening station
2021-07-22 11:26:58.434 Last update time from today.ini: 7/22/2021 11:26:58 AM
2021-07-22 11:26:58.435 Read today file: Date = 00/00/00, LastUpdateTime = 7/22/2021 11:26:58 AM, Month = 7
2021-07-22 11:26:58.440 Sensor clock 12:00:00 AM
2021-07-22 11:26:58.440 Station clock 12:00:00 AM
2021-07-22 11:26:58.441 ET not initialised
2021-07-22 11:26:58.442 ReadTodayfile: Rain day start = -1
2021-07-22 11:26:58.470 /volume1/web/CumulusMX/data/alltime.ini
2021-07-22 11:26:58.472 Alltime.ini file read
2021-07-22 11:26:58.507 MonthlyAlltime.ini file read
2021-07-22 11:26:58.558 Finding raintoday from logfile data/Jul21log.txt
2021-07-22 11:26:58.559 Expecting listsep=, decimal=.
2021-07-22 11:26:58.559 Midnight rain not found, setting midnight count to raindaystart = -1
2021-07-22 11:26:58.559 Checking rain counter = -1
2021-07-22 11:26:58.559 Rain counter negative, setting to zero
2021-07-22 11:26:58.565 Getting rain totals, rain season start = 1
2021-07-22 11:26:58.566 Today = 22/07/21
2021-07-22 11:26:58.582 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2021-07-22 11:26:58.724 *** Fine Offset station not found ***
2021-07-22 11:26:58.724 Found the following USB HID Devices...
2021-07-22 11:26:58.724 No USB HID devices found!
2021-07-22 11:26:59.184 This Cumulus MX instance is running the latest version
2021-07-22 11:27:08.725 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2021-07-22 11:27:08.726 *** Fine Offset station not found ***
2021-07-22 11:27:08.726 Found the following USB HID Devices...
2021-07-22 11:27:08.726 No USB HID devices found!
I tried to revert to an older version of Mono but the result remains the same and after browsing the forum looking for solutions I did not find any that solved the problem.
Does somebody have an idea ?
User avatar
Gyvate
Posts: 295
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650WiFi/HP2553/GW2000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by Gyvate »

Did you choose Fine Offset as station type in the General settings
and then filled-in the USB entries in the Fine Offset Settings / Fine Offset Advanced options ?
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

Yes, I chose the type of station "file offset" and entered the ComportName "/dev/usb/hiddev8" in the Cumulus.ini file
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by sfws »

ycat51 wrote: Thu 22 Jul 2021 1:10 pm entered the ComportName "/dev/usb/hiddev8" in the Cumulus.ini file
Hello, it should be

Code: Select all

ComportName=/dev/ttyUSB8
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by mcrossley »

Sorry guys, but there is no need for any configuration for the FineOffset USB stations. They are HID devices, MX just scans for a HID device with the correct VID:PID and uses that.

As you can see from the log it is not seeing any USB HID devices at all - "No USB HID devices found!"

So the problem lies elsewhere.

Perhaps this may help? viewtopic.php?f=40&t=18773&p=153366&hil ... gy#p153366
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

there is no ttyUSB8 in /dev
brw------- 1 root root 8, 2 Jul 21 21:22 sda2
brw------- 1 root root 8, 3 Jul 21 21:22 sda3
brw------- 1 root root 8, 5 Jul 21 21:22 sda5
brw------- 1 root root 8, 16 Jul 21 21:22 sdb
brw------- 1 root root 8, 17 Jul 21 21:22 sdb1
brw------- 1 root root 8, 18 Jul 21 21:22 sdb2
brw------- 1 root root 8, 19 Jul 21 21:22 sdb3
brw------- 1 root root 8, 21 Jul 21 21:22 sdb5
crw------- 1 root root 21, 0 Jul 21 21:22 sg0
crw------- 1 root root 21, 1 Jul 21 21:22 sg1
drwxrwxrwt 2 root root 120 Jul 22 18:48 shm
drwxr-xr-x 2 root root 60 Jul 21 21:23 snd
lrwxrwxrwx 1 root root 15 Jul 21 21:22 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jul 21 21:22 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jul 21 21:22 stdout -> /proc/self/fd/1
crw-r--r-- 1 root root 201, 0 Jul 21 21:22 synobios
crw-rw-rw- 1 root root 5, 0 Jul 22 17:03 tty
crw------- 1 root root 4, 64 Jan 1 1970 ttyS0
crw------- 1 root root 4, 65 Jul 21 21:24 ttyS1
crw------- 1 root root 4, 66 Jan 1 1970 ttyS2
crw------- 1 root root 4, 67 Jan 1 1970 ttyS3
crw------- 1 root root 252, 250 Jul 21 21:22 uio250
crw------- 1 root root 252, 251 Jul 21 21:22 uio251
crw------- 1 root root 252, 252 Jul 21 21:22 uio252
crw------- 1 root root 252, 253 Jul 21 21:22 uio253
crw-rw-rw- 1 root root 1, 9 Jul 21 21:22 urandom
drwxr-xr-x 2 root root 60 Jul 22 18:47 usb
crw------- 1 root root 10, 61 Jul 21 21:22 ve3
drwxr-xr-x 2 root root 60 Jul 21 21:22 vg1000
crw------- 1 root root 10, 62 Jul 21 21:22 vpu
crw-rw-rw- 1 root root 1, 5 Jul 21 21:22 zero
I also read this post viewtopic.php?f=40&t=18773&p=153366&hil ... gy#p153366 but that don't solve the problem.
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by mcrossley »

Searching does not reveal anyone who has managed to get a FineOffset running Synology. :(

Do you have the file libudev.so.1 on your system?
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

mcrossley wrote: Thu 22 Jul 2021 6:10 pm Searching does not reveal anyone who has managed to get a FineOffset running Synology. :(

Do you have the file libudev.so.1 on your system?
libudev.so.1 not found on my system ...
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by mcrossley »

Ah, what about libudev.so.0 ? (sorry I should have asked in my first request).

Then can you find a libudev.so.1 for the Synology?

If not, you *may* (it has worked on some systems) be able to get away with copying libudev.so.0 -> libudev.so.1 in the same folder then retrying Cumulus.
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

mcrossley wrote: Thu 22 Jul 2021 7:35 pm Ah, what about libudev.so.0 ? (sorry I should have asked in my first request).

Then can you find a libudev.so.1 for the Synology?

If not, you *may* (it has worked on some systems) be able to get away with copying libudev.so.0 -> libudev.so.1 in the same folder then retrying Cumulus.
Dont find any libudev.so.0 or libudev.so.1 ...
I don't think these files are originaly present on Synology NAS.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by sfws »

Apologies for my previous incorrect reply, re the COMPORT parameter, and thanks to Mark for teaching me another fact I did not know.
ycat51 wrote: Thu 22 Jul 2021 8:10 pm Dont find any libudev.so.0 or libudev.so.1 ...
I don't think these files are originaly present on Synology NAS.
I now wonder if this past post might help you?

I did find another synology user unable to solve problem .
ycat51
Posts: 7
Joined: Sat 13 Apr 2019 8:15 am
Weather Station: PCE-FWS20
Operating System: ubuntu LTE 16.04

Re: CumulusMX on Synology DS218 : Fine Offset station not found

Post by ycat51 »

sfws wrote: Fri 23 Jul 2021 10:31 am Apologies for my previous incorrect reply, re the COMPORT parameter, and thanks to Mark for teaching me another fact I did not know.
ycat51 wrote: Thu 22 Jul 2021 8:10 pm Dont find any libudev.so.0 or libudev.so.1 ...
I don't think these files are originaly present on Synology NAS.
I now wonder if this past post might help you?

I did find another synology user unable to solve problem .
Perhaps this post viewtopic.php?p=107913#p107913 could help me but i don't know wher to find libudev library for a synology NAS because the Linux system of Synology NAS is not a standard distrib like ubuntu or others :
ash-4.3# uname -r
4.4.59+
ash-4.3# uname -a
Linux Yves_Syno 4.4.59+ #25556 SMP Thu Mar 4 17:52:53 CST 2021 aarch64 GNU/Linux synology_rtd1296_ds218
Post Reply