Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.17.0 (build 3184) - 23 May 2022

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

If you are interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

Connecting to WH2303

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
Bosman
Posts: 1
Joined: Wed 03 Nov 2021 4:39 pm
Weather Station: Wh2303
Operating System: Linux debian

Connecting to WH2303

Post by Bosman »

Hi

I am new to the world of Raspberry pi and decided it would be a good idea to use my Pi Zero W as a way to store and eventually transmit my WS data. Tried WeeWX and failed.....Tried CumulusMX and got the software to run!

Everything seemed to work except getting the software to connect to the station. After starting the program I kept on recieving the "Station not found" message. I switched the debug logs on and recieved the following (Only copied and pasted up to where the messages start repeating):

2021-11-02 05:47:32.164 ========================== Cumulus MX starting ==========================
2021-11-02 05:47:32.212 Command line: /home/pi/CumulusMX/CumulusMX/CumulusMX.exe
2021-11-02 05:47:32.212 Cumulus MX v.3.13.6 build 3152
2021-11-02 05:47:32.277 Platform: Unix
2021-11-02 05:47:32.278 OS version: Unix 5.10.63.0
2021-11-02 05:47:32.281 Current culture: English (United States) [en-US]
2021-11-02 05:47:32.287 Mono version: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)
2021-11-02 05:47:32.294 Checking required folders
2021-11-02 05:47:33.002 Reading Cumulus.ini file
2021-11-02 05:47:33.236 AvgSpdMins=10 AvgSpdTime=00:10:00
2021-11-02 05:47:33.250 Cumulus start date: Monday, November 1, 2021
2021-11-02 05:47:33.848 Reading Cumulus.ini file completed
2021-11-02 05:47:33.849 Directory separator=[/] Decimal separator=[.] List separator=[,]
2021-11-02 05:47:33.850 Date separator=[/] Time separator=[:]
2021-11-02 05:47:33.851 Standard time zone name: SAST
2021-11-02 05:47:33.852 Daylight saving time name: SAST
2021-11-02 05:47:33.853 Daylight saving time? False
2021-11-02 05:47:33.854 11/2/2021 5:47:33 AM
2021-11-02 05:47:33.859 Stop second instance: No other running instances of Cumulus found
2021-11-02 05:47:33.860 No start-up delay - disabled
2021-11-02 05:47:33.860 No start-up PING
2021-11-02 05:47:33.896 Data path = data/
2021-11-02 05:47:34.526 BackupData: Creating backup folder backup/20211102054734/
2021-11-02 05:47:34.567 Created backup folder backup/20211102054734/
2021-11-02 05:47:34.568 Debug logging :enabled
2021-11-02 05:47:34.569 Data logging :enabled
2021-11-02 05:47:34.569 FTP logging :disabled
2021-11-02 05:47:34.570 Email logging :disabled
2021-11-02 05:47:34.573 Spike logging :enabled
2021-11-02 05:47:34.574 Logging interval = 15 mins
2021-11-02 05:47:34.575 Real time interval = 30 secs
2021-11-02 05:47:34.576 NoSensorCheck = 0
2021-11-02 05:47:35.019 Calculating sunrise and sunset times
2021-11-02 05:47:35.091 Sunrise: 05:08:13
2021-11-02 05:47:35.092 Sunset : 18:14:05
2021-11-02 05:47:35.094 Tomorrow sunrise: 05:07:33
2021-11-02 05:47:35.098 Tomorrow sunset : 18:14:44
2021-11-02 05:47:35.101 Tomorrow length diff: 79
2021-11-02 05:47:35.448 Generating new Moon image
2021-11-02 05:47:36.260 Station type: Fine Offset with Solar
2021-11-02 05:47:36.273 WindUnit=m/s RainUnit=mm TempUnit=°C PressureUnit=hPa
2021-11-02 05:47:36.282 YTDRain=0.000 Year=0
2021-11-02 05:47:36.283 RainDayThreshold=-1.000
2021-11-02 05:47:36.283 Roll over hour=0
2021-11-02 05:47:36.302 Offsets and Multipliers:
2021-11-02 05:47:36.304 PO=0.000 TO=0.000 HO=0 WDO=0 ITO=0.000 SO=0.000 UVO=0.000
2021-11-02 05:47:36.306 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-11-02 05:47:36.306 Spike removal:
2021-11-02 05:47:36.308 TD=999.000 GD=999.000 WD=999.000 HD=999.000 PD=999.000 MR=999.000 MH=999.000
2021-11-02 05:47:36.308 Limits:
2021-11-02 05:47:36.310 TH=60.0 TL=-60.0 DH=40.0 PH=1090.0 PL=870.0 GH=90.000
2021-11-02 05:47:36.317 Primary AQ Sensor = Undefined
2021-11-02 05:47:38.214 Cumulus Starting
2021-11-02 05:47:39.053 HTML root path = /home/pi/CumulusMX/CumulusMX/interface
2021-11-02 05:47:44.971 Cumulus running at: http://localhost:8998/
2021-11-02 05:47:45.009 Lock: Cumulus waiting for the lock
2021-11-02 05:47:45.010 Lock: Cumulus has lock
2021-11-02 05:47:45.011 Opening station
2021-11-02 05:47:45.501 Last update time from today.ini: 11/2/2021 5:47:45 AM
2021-11-02 05:47:45.533 Read today file: Date = 00/00/00, LastUpdateTime = 11/2/2021 5:47:45 AM, Month = 11
2021-11-02 05:47:45.554 Sensor clock 12:00:00 AM
2021-11-02 05:47:45.555 Station clock 12:00:00 AM
2021-11-02 05:47:45.556 ET not initialised
2021-11-02 05:47:45.581 ReadTodayfile: Rain day start = -1
2021-11-02 05:47:45.849 /home/pi/CumulusMX/CumulusMX/data/alltime.ini
2021-11-02 05:47:45.907 Alltime.ini file read
2021-11-02 05:47:46.559 MonthlyAlltime.ini file read
2021-11-02 05:47:47.077 LoadDayFile: Attempting to load the day file
2021-11-02 05:47:47.078 LoadDayFile: No Dayfile found - No entries added to recent daily data list
2021-11-02 05:47:47.131 Finding raintoday from logfile data/Nov21log.txt
2021-11-02 05:47:47.132 Expecting listsep=, decimal=.
2021-11-02 05:47:47.146 Midnight rain not found, setting midnight count to raindaystart = -1
2021-11-02 05:47:47.146 Checking rain counter = -1
2021-11-02 05:47:47.147 Rain counter negative, setting to zero
2021-11-02 05:47:47.195 Getting rain totals, rain season start = 10
2021-11-02 05:47:47.196 Today = 02/11/21
2021-11-02 05:47:47.224 Rainthismonth from dayfile: 0
2021-11-02 05:47:47.233 Rainthisyear from dayfile: 0
2021-11-02 05:47:47.423 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2021-11-02 05:47:48.928 *** Fine Offset station not found ***
2021-11-02 05:47:48.929 Found the following USB HID Devices...
2021-11-02 05:47:48.980 SLAB HIDtoSPI Slave (no serial number) (VID 4292, PID 33896, version 0.0)
2021-11-02 05:47:48.981 LITEON Technology USB Keyboard (no serial number) (VID 1118, PID 1977, version 1.14)
2021-11-02 05:47:48.982 Microsoft Microsoft Basic Optical Mouse (no serial number) (VID 1118, PID 132, version 1.4)
2021-11-02 05:47:50.499 This Cumulus MX instance is running the latest version
2021-11-02 05:47:58.985 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2021-11-02 05:47:59.013 *** Fine Offset station not found ***


I noticed the following line in particular

2021-11-02 05:47:48.980 SLAB HIDtoSPI Slave (no serial number) (VID 4292, PID 33896, version 0.0)

I suspected this might be the station and remembered options in the settings menu for VID and PID. I placed these values into the fields in the settings and I actually got a message saying the station is connected, although right after that I got an error message saying the data could not be read and the station might have to be reset (even after the reset I could not get any further than this.)

The logs for that are:

2021-11-03 14:40:07.869 ========================== Cumulus MX starting ==========================
2021-11-03 14:40:07.913 Command line: /home/pi/CumulusMX/CumulusMX/CumulusMX.exe
2021-11-03 14:40:07.914 Cumulus MX v.3.13.6 build 3152
2021-11-03 14:40:07.958 Platform: Unix
2021-11-03 14:40:07.960 OS version: Unix 5.10.63.0
2021-11-03 14:40:07.961 Current culture: English (United States) [en-US]
2021-11-03 14:40:07.974 Mono version: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)
2021-11-03 14:40:07.986 Checking required folders
2021-11-03 14:40:08.567 Reading Cumulus.ini file
2021-11-03 14:40:08.748 AvgSpdMins=10 AvgSpdTime=00:10:00
2021-11-03 14:40:08.759 Cumulus start date: Monday, November 1, 2021
2021-11-03 14:40:09.241 Reading Cumulus.ini file completed
2021-11-03 14:40:09.242 Directory separator=[/] Decimal separator=[.] List separator=[,]
2021-11-03 14:40:09.243 Date separator=[/] Time separator=[:]
2021-11-03 14:40:09.244 Standard time zone name: SAST
2021-11-03 14:40:09.245 Daylight saving time name: SAST
2021-11-03 14:40:09.246 Daylight saving time? False
2021-11-03 14:40:09.247 11/3/2021 2:40:09 PM
2021-11-03 14:40:09.250 Stop second instance: No other running instances of Cumulus found
2021-11-03 14:40:09.251 No start-up delay - disabled
2021-11-03 14:40:09.251 No start-up PING
2021-11-03 14:40:09.278 Data path = data/
2021-11-03 14:40:09.812 BackupData: Creating backup folder backup/20211103144009/
2021-11-03 14:40:09.849 Created backup folder backup/20211103144009/
2021-11-03 14:40:09.850 Debug logging :enabled
2021-11-03 14:40:09.851 Data logging :enabled
2021-11-03 14:40:09.851 FTP logging :disabled
2021-11-03 14:40:09.852 Email logging :disabled
2021-11-03 14:40:09.853 Spike logging :enabled
2021-11-03 14:40:09.853 Logging interval = 15 mins
2021-11-03 14:40:09.854 Real time interval = 30 secs
2021-11-03 14:40:09.855 NoSensorCheck = 0
2021-11-03 14:40:10.224 Calculating sunrise and sunset times
2021-11-03 14:40:10.287 Sunrise: 05:07:33
2021-11-03 14:40:10.288 Sunset : 18:14:44
2021-11-03 14:40:10.290 Tomorrow sunrise: 05:06:54
2021-11-03 14:40:10.291 Tomorrow sunset : 18:15:23
2021-11-03 14:40:10.294 Tomorrow length diff: 78
2021-11-03 14:40:10.583 Generating new Moon image
2021-11-03 14:40:11.439 Station type: Fine Offset with Solar
2021-11-03 14:40:11.451 WindUnit=m/s RainUnit=mm TempUnit=°C PressureUnit=hPa
2021-11-03 14:40:11.457 YTDRain=0.000 Year=0
2021-11-03 14:40:11.458 RainDayThreshold=-1.000
2021-11-03 14:40:11.459 Roll over hour=0
2021-11-03 14:40:11.475 Offsets and Multipliers:
2021-11-03 14:40:11.477 PO=0.000 TO=0.000 HO=0 WDO=0 ITO=0.000 SO=0.000 UVO=0.000
2021-11-03 14:40:11.479 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-11-03 14:40:11.479 Spike removal:
2021-11-03 14:40:11.481 TD=999.000 GD=999.000 WD=999.000 HD=999.000 PD=999.000 MR=999.000 MH=999.000
2021-11-03 14:40:11.481 Limits:
2021-11-03 14:40:11.482 TH=60.0 TL=-60.0 DH=40.0 PH=1090.0 PL=870.0 GH=90.000
2021-11-03 14:40:11.488 Primary AQ Sensor = Undefined
2021-11-03 14:40:13.120 Cumulus Starting
2021-11-03 14:40:13.891 HTML root path = /home/pi/CumulusMX/CumulusMX/interface
2021-11-03 14:40:18.242 Cumulus running at: http://localhost:8998/
2021-11-03 14:40:18.337 Lock: Cumulus waiting for the lock
2021-11-03 14:40:18.338 Lock: Cumulus has lock
2021-11-03 14:40:18.338 Opening station
2021-11-03 14:40:18.785 Last update time from today.ini: 11/3/2021 2:40:18 PM
2021-11-03 14:40:18.839 Read today file: Date = 00/00/00, LastUpdateTime = 11/3/2021 2:40:18 PM, Month = 11
2021-11-03 14:40:18.846 Sensor clock 12:00:00 AM
2021-11-03 14:40:18.846 Station clock 12:00:00 AM
2021-11-03 14:40:18.847 ET not initialised
2021-11-03 14:40:18.870 ReadTodayfile: Rain day start = -1
2021-11-03 14:40:19.077 /home/pi/CumulusMX/CumulusMX/data/alltime.ini
2021-11-03 14:40:19.099 Alltime.ini file read
2021-11-03 14:40:19.453 MonthlyAlltime.ini file read
2021-11-03 14:40:19.827 LoadDayFile: Attempting to load the day file
2021-11-03 14:40:19.828 LoadDayFile: No Dayfile found - No entries added to recent daily data list
2021-11-03 14:40:19.876 Finding raintoday from logfile data/Nov21log.txt
2021-11-03 14:40:19.877 Expecting listsep=, decimal=.
2021-11-03 14:40:19.878 Midnight rain not found, setting midnight count to raindaystart = -1
2021-11-03 14:40:19.889 Checking rain counter = -1
2021-11-03 14:40:19.890 Rain counter negative, setting to zero
2021-11-03 14:40:19.930 Getting rain totals, rain season start = 10
2021-11-03 14:40:19.931 Today = 03/11/21
2021-11-03 14:40:19.953 Rainthismonth from dayfile: 0
2021-11-03 14:40:19.954 Rainthisyear from dayfile: 0
2021-11-03 14:40:20.159 Looking for Fine Offset station, VendorID=0x10C4 ProductID=0x8468
2021-11-03 14:40:21.334 Fine Offset station found
2021-11-03 14:40:22.640 Stream opened
2021-11-03 14:40:22.645 Reading station logging interval
2021-11-03 14:40:23.984 This Cumulus MX instance is running the latest version
2021-11-03 14:40:26.051 The operation has timed out.
2021-11-03 14:40:26.052 Error reading data from station - it may need resetting
2021-11-03 14:40:26.053 Reading station pressure offset
2021-11-03 14:40:26.054 Rel pressure = 0
2021-11-03 14:40:26.055 Abs pressure = 0
2021-11-03 14:40:26.056 Calculated Offset = 0
2021-11-03 14:40:26.079 Loading last N hour data from data logs: 11/3/2021 2:40:18 PM
2021-11-03 14:40:26.161 LoadRecent: Attempting to load 7 days of entries to recent data list
2021-11-03 14:40:26.175 LoadRecent: Error querying database for latest record - Object reference not set to an instance of an object.
2021-11-03 14:40:26.177 LoadRecent: Loaded 0 new entries to recent database
2021-11-03 14:40:26.237 LoadLast3Hour: Attempting to load 3 hour data list
2021-11-03 14:40:26.281 LoadLast3Hour: Loaded 0 entries to last 3 hour data list
2021-11-03 14:40:26.341 Creating extra sensors
2021-11-03 14:40:26.353 Lock: Station waiting for the lock
2021-11-03 14:40:27.752 843 web tags initialised
2021-11-03 14:40:27.845 Generating the daily graph data files
2021-11-03 14:40:28.145 Lock: Cumulus releasing the lock
2021-11-03 14:40:28.146 Lock: Station has the lock
2021-11-03 14:40:28.213 Current culture: English (United States)
2021-11-03 14:40:28.214 11/3/2021 2:40:28 PM
2021-11-03 14:40:28.214 Start reading history data
2021-11-03 14:40:28.222 Last Update = 11/3/2021 2:40:18 PM
2021-11-03 14:40:28.223 Reading fixed memory block
2021-11-03 14:40:31.405 The operation has timed out.
2021-11-03 14:40:31.405 Error reading data from station - it may need resetting
2021-11-03 14:40:31.406 Lock: Station releasing the lock
2021-11-03 14:40:31.461 Archive reading thread completed
2021-11-03 14:40:31.611 Start Extra Sensors
2021-11-03 14:40:31.611 Start Timers
2021-11-03 14:40:31.612 Starting 1-minute timer
2021-11-03 14:40:31.627 Data logging interval = 3 (15 mins)
2021-11-03 14:40:31.628 Starting Realtime timer, interval = 30 seconds
2021-11-03 14:40:31.629 Wundlist count is zero
2021-11-03 14:40:31.630 Windylist count is zero
2021-11-03 14:40:31.634 MySqlList is Empty
2021-11-03 14:40:31.643 Normal running
2021-11-03 14:40:41.491 Attempting to reopen the USB device...
2021-11-03 14:40:41.772 Looking for Fine Offset station, VendorID=0x10C4 ProductID=0x8468
2021-11-03 14:40:41.791 Fine Offset station found
2021-11-03 14:40:41.871 Stream opened
2021-11-03 14:40:42.069 Start Synchronising
2021-11-03 14:40:42.583 Attempting to reopen the USB device...
2021-11-03 14:40:42.623 Looking for Fine Offset station, VendorID=0x10C4 ProductID=0x8468
2021-11-03 14:40:42.632 Fine Offset station found
2021-11-03 14:40:42.720 Stream opened
2021-11-03 14:40:42.727 Reading first block
2021-11-03 14:40:43.085 Attempting to reopen the USB device...
2021-11-03 14:40:43.107 Closed.
2021-11-03 14:40:43.107 Error reading data from station - it may need resetting
2021-11-03 14:40:43.218 Looking for Fine Offset station, VendorID=0x10C4 ProductID=0x8468
2021-11-03 14:40:43.241 Fine Offset station found


The station connects without any problem to the WeatherSmart software on windows.

Any help or insight into getting this station to connect would be appreciated.
Post Reply