If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

CumulusMX gets no connection to Wh1080

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
l2k
Posts: 4
Joined: Tue Dec 06, 2016 10:00 pm
Weather Station: wh1080 fine offset (pce fws-20)
Operating System: linux mint/debian stretch
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby l2k » Thu Aug 24, 2017 8:40 am

yesterday i tried to resolve the problem with my new raspbian stretch and a fine offset station; in stretch mono version is 4.6.2 (https://packages.debian.org/it/stretch/mono-complete) that is not functioning properly with fine offset, so i installed mono version 4.0.5 (i'm using it on another installation of raspian+cumulusmx+fineoffset):
- add repo 'deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main' in /etc/apt/sources.list
- aptitude update (ignore :roll: if some errors appear about mono signature)
- aptitude install mono-complete=4.0.5.1-0xamarin1 (attention: you have to try aptitude to find the best solution to install the right version)

next time you'll update raspbian you have to pay attention not to upgrade mono, don't use apt-get dist-upgrade (it is recommended to use apt-mark to hold mono version 4.0.5) you have to use 'apt-mark hold mono-runtime mono-complete' to hold version (otherwise with dist-upgrade mono will be upgrade); with this config cumulusmx+fine offset is ok as you can see on my weather site :D (http://www.leone2000.net).

edit: add command to update repo; add instruction for apt-mark
Last edited by l2k on Mon Sep 18, 2017 10:10 am, edited 3 times in total.

maccpl
Posts: 3
Joined: Wed Jan 20, 2016 10:26 pm
Weather Station: PCE-FWS-20
Operating System: Windows 7 Ultimate
Location: Florida, USA

Re: CumulusMX gets no connection to Wh1080

Postby maccpl » Sat Aug 26, 2017 12:46 am

I really wish I knew what magic you performed to get your Fine Offset station to be recognized by CumulusMX. I originally had my Pi3 configured with Raspbian Jessie 8 and Mono 5.0. I tried all the tips I could find here, but none of them worked. There was no TTYdev0 showing up on my machine. On the contrary, when I inserted the USB cable, a new folder opened up in the Dev folder called "usb". Inside was a single file called hiddev0 (or something much like that). After I read this a some similar posts I downgraded to Mono 3.19 or so. Still have the usb folder and also noticed that there is an additional device showing up in the Dev folder... I think it was hidraw0 or something like that.

After several days fighting this, I decided to take the weekend off. Any tips would be greatly appreciated. I'm thinking that running Jessie 8 may be part of the problem.

JR In Florida

fabiochi
Posts: 1
Joined: Wed Dec 14, 2016 9:41 pm
Weather Station: WS 1080
Operating System: Rasbian

Re: CumulusMX gets no connection to Wh1080

Postby fabiochi » Sat Sep 02, 2017 10:21 pm

I got into similar problem with Stretch and the default mono 4.6.2 version
After struggling for more than 2 days I solved downgrading mono to 4.0.5.1 from Wheezy following @l2k's recommendations.
Now CumuluxMX is able to connect to my fine offset meteo station again
fabio

sv1kwz
Posts: 2
Joined: Thu Feb 09, 2017 12:22 pm
Weather Station: 1
Operating System: 1

Re: CumulusMX gets no connection to Wh1080

Postby sv1kwz » Fri Sep 08, 2017 11:07 am

my problem is the following.

rpi with raspbian stretch.

i follow the @l2k instructions to install mono 4.0.5 (as mono 4.6.2 has problem detecting my ws)

sudo aptitude install mono-complete=4.0.5.1-0xamarin1
Unable to find a version "4.0.5.1-0xamarin1" for the package "mono-complete"
Unable to apply some actions, aborting

is something wrong ?

vr34
Posts: 18
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby vr34 » Sat Sep 09, 2017 11:51 am

Hi sv1kwz,
I am quite new in Raspberry and cumulusMX and intends to pass my fine offset ws3083 from Win7+Cumulus1.9 to Rasberry Pi3/CumulusMX
I did a first step from Win7+Cumulus1.9 to Win7+CumulusMX with success ;)

About mono 4.0.5.1, I found this page : https://stackoverflow.com/questions/337 ... on-of-mono

Hope it will help.

User avatar
Toxic17
Posts: 498
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby Toxic17 » Sat Sep 09, 2017 10:59 pm

3.2.8 maybe old, but its the only one that seems to be stable with Fine offset Weather stations.

If stretch has 5, just uninstall, edit your sources.list to include the mono that works for you then install mono.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

vr34
Posts: 18
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby vr34 » Sun Sep 10, 2017 2:52 pm

Thx Toxic17 for your message.
mono of my Pi3 under jessie is 3.2.8. My fine offset WS3083 is recognized by CumulusMX now (please do not ask me how I downgraded mono from 5.2 to 3.2.8 as I cannot answer: I tried so many things that I cannot remember their history, lol) The webpages are updated (not all *) but no data is displayed in localhost:8998. I can see the localhost:8998 interface but without any value in dashboard, now, gauges, ...
It was updated well when my WS was plugged on my old netbook win7+CumulusMX. I just copied the whole folder CumulusMX to my new Pi3.

* 'now', 'today', ... are updated,
some graphs of 'trends' are updated but for instance 'temperature/day' is empty even if CumulusMX/data/dayfile.txt is ok... same for rainfall/day and solar/day. (you can visit my French weather web pages on my contact profile ;). "courbes" is trends)

Also, when I press 'save' button in any page of the localhost:8998 interface, the answer is always "error [object Object]"

At least, concerning the installation of any older version of mono (3.2.8 or 4.0.5.1), please could you write the full line of /etc/apt/sources.list.d/mono-official.list to be replace from

Code: Select all

deb http://download.mono-project.com/repo/debian raspbianjessie main


Regards, vr34

SpaceHiker
Posts: 3
Joined: Thu Sep 07, 2017 4:25 pm
Weather Station: Ambient WS-2095
Operating System: xp

Re: CumulusMX gets no connection to Wh1080

Postby SpaceHiker » Thu Sep 14, 2017 6:04 am

Running the same config as l2k, but I can't get his config to work. No matter what solution I try within aptitude, the install fails due to dependencies, and mono just returns "illegal instruction" when executed.

As the required version of mono continues to fall farther behind, dependencies are going to become impossible to meet. It's getting kind of ridiculous. Hopefully a solution will be found that will allow MX to run with current versions of mono.

User avatar
steve
Cumulus Author
Posts: 26141
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby steve » Thu Sep 14, 2017 11:19 am

SpaceHiker wrote:It's getting kind of ridiculous. Hopefully a solution will be found that will allow MX to run with current versions of mono.

Here's a link to the USB library which MX uses. The source code is available. Assuming that the problem isn't a bug in later versions of Mono, the solution is presumably to make that library work with later versions of Mono. This is not something that I am in a position to do.

https://www.nuget.org/packages/HidSharp/
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

jank
Posts: 292
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX gets no connection to Wh1080

Postby jank » Thu Sep 14, 2017 4:35 pm

Also this is working now with German Locale and a LaCrosse WS2350 with Serial2USB Adapter

Linux OS Version: "Raspbian GNU/Linux" - DEBIAN - 9 (STRETCH) - 4.9.41-v7+
Mono Version: Mono JIT compiler version 5.2.0.215 (tarball Mon Aug 14 16:25:12 UTC 2017)
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

SpaceHiker
Posts: 3
Joined: Thu Sep 07, 2017 4:25 pm
Weather Station: Ambient WS-2095
Operating System: xp

Re: CumulusMX gets no connection to Wh1080

Postby SpaceHiker » Thu Sep 14, 2017 4:41 pm

steve wrote:Here's a link to the USB library which MX uses. The source code is available. Assuming that the problem isn't a bug in later versions of Mono, the solution is presumably to make that library work with later versions of Mono. This is not something that I am in a position to do.

https://www.nuget.org/packages/HidSharp/


Thanks! Like everyone else, time is a precious resource for me, but I'll try to take a look in the near future. I do a bit of open source development so I should be able to figure this out.

SpaceHiker
Posts: 3
Joined: Thu Sep 07, 2017 4:25 pm
Weather Station: Ambient WS-2095
Operating System: xp

Re: CumulusMX gets no connection to Wh1080

Postby SpaceHiker » Sun Sep 17, 2017 11:09 pm

What I know so far:

1. Hidsharp development was abandoned in 2013.
2. In 2015 an update was made to mono that changed the path of libraries from .../lib64 to .../lib. This caused a lot of stuff to break and there are complaints about it all over the 'net from that time period.
3. Hidsharp functionality broke at that same time: System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
4. Because Hidsharp had already been abandoned, it was never fixed.
5. It's likely that there's a hardcoded path to .../lib64 in there somewhere, so that's what I'm going to look for next. If that's the case, it should be a simple fix.

User avatar
steve
Cumulus Author
Posts: 26141
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: CumulusMX gets no connection to Wh1080

Postby steve » Mon Sep 18, 2017 11:21 am

Well done - and good luck!
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

mrkencollins
Posts: 1
Joined: Thu Jul 20, 2017 9:25 pm
Weather Station: aercus instruments ws3083
Operating System: Windows 10

Re: CumulusMX gets no connection to Wh1080

Postby mrkencollins » Tue Sep 19, 2017 7:31 pm

Hi all,

First time poster, long time lurker here.

I recently tried to get CumulusMX running with a PI 3, but couldnt make debian stretch download a working version of mono.

I re-flashed my SD card with a version of raspian jessie lite from July 2017 and it installed Mono 3.8.2 without any tinkering.

https://downloads.raspberrypi.org/raspb ... 017-07-05/

I use raspian lite as it is a headless server, but the full version has the GUI too:

https://downloads.raspberrypi.org/raspb ... 017-07-05/

It connected to my WS3083 first time, and hasn't missed a beat in 7 days.

Ken


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests