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 4018) - 28 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

no read data with weatherstation wh 1080

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
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

no read data with weatherstation wh 1080

Post by dimitris vichos »

for first time i attemp to run cumulus on linux.
my computer -hp110 mini- has sparky linux based on debian.
i was installed mono-complete and i can see the cumulus interface on localhost:8998 but i cant see data. the setting of the station is fine offset but i cant see data. the weather station is wh1080 and connenting to computer with usb .
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by mcrossley »

Start Cumulus with the command line parameter -debug. i.e. > CumulusMX.exe -debug
Then attach your latest MXdiags file here please.
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

Re: no read data with weatherstation wh 1080

Post by dimitris vichos »

Code: Select all

metfm@metfm:~$ sudo mono /home/metfm/CumulusMX/CumulusMX.exe -debug
[sudo] password for metfm: 
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/metfm/MXdiags'.
  at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000df] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () [0x0005d] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) [0x000e9] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.Directory.InternalGetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.Directory.GetFiles (System.String path) [0x00011] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at CumulusMX.Cumulus.GetLoggingFileName (System.String directory) [0x00000] in <f5da340e60684de0942398858416b40e>:0 
  at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x0113c] in <f5da340e60684de0942398858416b40e>:0 
  at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00018] in <f5da340e60684de0942398858416b40e>:0 
  at CumulusMX.Program.Main (System.String[] args) [0x002da] in <f5da340e60684de0942398858416b40e>:0 
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
and MX diags

Code: Select all

2020-12-14 16:58:37.172  ========================== Cumulus MX starting ==========================
2020-12-14 16:58:37.196 Command line: /home/metfm/CumulusMX/CumulusMX.exe 
2020-12-14 16:58:37.197 Cumulus MX v.3.9.1 build 3096
2020-12-14 16:58:37.207 Platform: Unix
2020-12-14 16:58:37.207 OS version: Unix 4.19.0.13
2020-12-14 16:58:37.672 Mono version: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Wed Apr 17 18:22:39 UTC 2019)
2020-12-14 16:58:37.672 Current culture: Greek (Greece)
2020-12-14 16:58:37.673 Directory separator=[/] Decimal separator=[,] List separator=[;]
2020-12-14 16:58:37.673 Date separator=[/] Time separator=[:]
2020-12-14 16:58:37.674 Standard time zone name:   EET
2020-12-14 16:58:37.674 Daylight saving time name: EEST
2020-12-14 16:58:37.674 Daylight saving time? False
2020-12-14 16:58:37.675 14/12/2020 4:58:37 μ.μ.
2020-12-14 16:58:37.798 Reading Cumulus.ini file
2020-12-14 16:58:37.850 ASM=10 AST=00:10:00
2020-12-14 16:58:37.853 Cumulus start date: Κυριακή, 6 Δεκεμβρίου 2020
2020-12-14 16:58:37.890 Data path = data/
2020-12-14 16:58:38.128 Creating backup folder backup/20201214165838/
2020-12-14 16:58:38.137 Created backup folder backup/20201214165838/
2020-12-14 16:58:38.137 Debug logging is disabled
2020-12-14 16:58:38.137 Data logging is disabled
2020-12-14 16:58:38.137 FTP logging is disabled
2020-12-14 16:58:38.138 Spike logging is enabled
2020-12-14 16:58:38.140 Logging interval = 1 mins
2020-12-14 16:58:38.140 Real time interval = 30 secs
2020-12-14 16:58:38.140 NoSensorCheck = 0
2020-12-14 16:58:38.997 Calculating sunrise and sunset times
2020-12-14 16:58:39.026 Sunrise: 07:51:18
2020-12-14 16:58:39.026 Sunset : 19:58:40
2020-12-14 16:58:39.027 Tomorrow sunrise: 07:51:46
2020-12-14 16:58:39.027 Tomorrow sunset : 19:59:09
2020-12-14 16:58:39.120 Station type: Fine Offset
2020-12-14 16:58:39.123 WindUnit=km/h RainUnit=mm TempUnit=°C PressureUnit=mb
2020-12-14 16:58:39.123 YTDRain=0,000 Year=0
2020-12-14 16:58:39.124 RainDayThreshold=-1,000
2020-12-14 16:58:39.127 Offsets and Multipliers:
2020-12-14 16:58:39.129 PO=0,000 TO=0,000 HO=0 WDO=0 ITO=0,000 SO=0,000 UVO=0,000
2020-12-14 16:58:39.130 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
2020-12-14 16:58:39.130 Spike removal:
2020-12-14 16:58:39.130 TD=999,000 GD=999,000 WD=999,000 HD=999,000 PD=999,000 MR=999,000 MH=999,000
2020-12-14 16:58:39.131 Limits:
2020-12-14 16:58:39.131 TH=60,0 TL=-60,0 DH=40,0 PH=1090,0 PL=870,0 GH=90,000
2020-12-14 16:58:39.131 Cumulus Starting
2020-12-14 16:58:39.132 Creating extra sensors
2020-12-14 16:58:39.132 Opening station
2020-12-14 16:58:39.196 Last update time from today.ini: 14/12/2020 4:58:39 μ.μ.
2020-12-14 16:58:39.198 Read today file: Date = 00/00/00, LastUpdateTime = 14/12/2020 4:58:39 μ.μ., Month = 12
2020-12-14 16:58:39.200 Sensor clock  12:00:00 π.μ.
2020-12-14 16:58:39.201 Station clock 12:00:00 π.μ.
2020-12-14 16:58:39.201 ET not initialised
2020-12-14 16:58:39.227 /home/metfm/CumulusMX/data/alltime.ini
2020-12-14 16:58:39.231 Alltime.ini file read
2020-12-14 16:58:39.298 MonthlyAlltime.ini file read
2020-12-14 16:58:39.326 Finding raintoday from logfile data/Δεκ20log.txt
2020-12-14 16:58:39.327 Expecting listsep=; decimal=,
2020-12-14 16:58:39.327 Midnight rain not found, setting midnight count to raindaystart = -1
2020-12-14 16:58:39.327 Checking rain counter = -1
2020-12-14 16:58:39.327 Rain counter negative, setting to zero
2020-12-14 16:58:39.349 Getting rain totals, rain season start = 1
2020-12-14 16:58:39.355 Today = 14/12/20
2020-12-14 16:58:39.374 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2020-12-14 16:58:39.606 Fine Offset station not found
2020-12-14 16:58:40.207 804 web tags initialised
2020-12-14 16:58:40.438 HTML root path = /home/metfm/CumulusMX/interface
2020-12-14 16:58:41.636 You are not running the latest version of CumulusMX, build 3097 is available.
2020-12-14 17:00:25.325 Updating station settings
2020-12-14 17:00:26.236 Writing Cumulus.ini file
2020-12-14 17:00:26.301 Completed writing Cumulus.ini file
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by mcrossley »

You have to change the path to the CumulusMX folder before starting the program.

It is not finding your station, what does the output from an "lusb" command look like?
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

Re: no read data with weatherstation wh 1080

Post by dimitris vichos »

change to path where? cumulus is in /home/CumulusMX my lsusb is

Code: Select all

 metfm@metfm:~$ lsusb
Bus 003 Device 004: ID 1fea:0047  
Bus 003 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by mcrossley »

Hmm, so the station is there in the lusb output, and the VID/PID are correct and match what Cumulus is looking for...

Code: Select all

2020-12-14 16:58:39.374 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2020-12-14 16:58:39.606 Fine Offset station not found
Nothing else was accessing the station at the time?
Definitely only one copy of Cumulus is running?

Otherwise I not sure what else to suggest.
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

Re: no read data with weatherstation wh 1080

Post by dimitris vichos »

its weird.
the computer its far away from here and i control it with anydesk.
the wh 1080 running with weewx but not at the same time. i closed the weewx then testing cumulus . with weewx the station works fine but i want test and cumulus on linux.
here who im testing another wh 1080 weatherstation, in my laptop with same distro and settings ,but cumulus dont again recognize the weatherstation but i can see the interface.in my laptot dont running weewx only cumulus.
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by mcrossley »

Have you installed mono-complete, or a subset of mono?
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

Re: no read data with weatherstation wh 1080

Post by dimitris vichos »

mono complete.
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by mcrossley »

I'm out of ideas - maybe a Linux guru can suggest something? Obviously lots of people are using this sort of configuration OK.

For the next release I have just added some code that if MX fails to find the station, it will dump all the USB devices it can see to the MXdiags log. Not much help to you though.
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: no read data with weatherstation wh 1080

Post by freddie »

Code: Select all

metfm@metfm:~$ sudo mono /home/metfm/CumulusMX/CumulusMX.exe -debug
[sudo] password for metfm: 
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/metfm/MXdiags'.
  at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000df] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
Do you get this output every time you start Cumulus?
Freddie
Image
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: no read data with weatherstation wh 1080

Post by rogerthn »

mcrossley wrote: Mon 14 Dec 2020 9:41 pm You have to change the path to the CumulusMX folder before starting the program.

It is not finding your station, what does the output from an "lusb" command look like?

Code: Select all

metfm@metfm:~$ sudo mono /home/metfm/CumulusMX/CumulusMX.exe -debug
[sudo] password for metfm: 
System.IO.DirectoryNotFoundException: Could not find a part of the path '/home/metfm/MXdiags'.
  at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000df] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
Looks like your working directory is /home/metfm ?
Try

Code: Select all

cd /home/metfm/CumulusMX
and retry

Code: Select all

sudo mono /home/metfm/CumulusMX/CumulusMX.exe -debug
Image
User avatar
dimitris vichos
Posts: 94
Joined: Fri 21 Oct 2011 5:29 pm
Weather Station: wh 1080
Operating System: linux mint 19
Location: nea moudania chalkidiki grecce
Contact:

Re: no read data with weatherstation wh 1080

Post by dimitris vichos »

I did it , but cumulus refuse to see data from weather station . i see the interface but not data.
Meteostation of Nea Moudania Chalkidiki Greece
https://kairos.moudania.com/index.php
Post Reply