Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

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

"Fine Offset not found" on Raspberry pi Zero W

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
DavidK
Posts: 2
Joined: Tue Dec 05, 2017 9:28 pm
Weather Station: Fine Offset WH 1080
Operating System: Raspberry Pi Zero W

"Fine Offset not found" on Raspberry pi Zero W

Postby DavidK » Tue Dec 12, 2017 12:47 pm

Hi All

I have been running the original cumulus for some years now - most recently on Windows 10 - with no problems. Because of issues with keeping my Windows PC awake or powered up, I decided to try a setup on a Raspberry pi board. I had a Raspberry pi Zero W available - not sure if that board has adequate capabilities. I'll also add that I'm pretty much a newbie with Raspberry pi and Linux.

Anyhow, Cumulus MX downloaded and I could set it up OK. The browser interface worked OK and I could enter details, but it didn't talk to the weather station via USB (Fine Offset type). I am wondering if this is an issue with the version of mono I downloaded? Any advice would be gratefully accepted.

These are the relevant OS etc details and error messages:

OS version Linux raspberrypi 4.9.59+ #1047
Mono JIT compiler version 5.4.1.6 (tarball Wed Nov 8 22:23:23 UTC 2017)

Output on running Cumulus MX:

pi@raspberrypi:~/Downloads/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United Kingdom)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-12-08T08:12:24
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x0070c] in <6e241547b2184f08b8370f11a198586d>:0
at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <6e241547b2184f08b8370f11a198586d>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.String& release, System.String& machine) [0x00047] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.Version& release, System.String& machine) [0x00004] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00002] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
Not supported
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
08/12/2017 08:12:26
Type Ctrl-C to terminate

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

Re: "Fine Offset not found" on Raspberry pi Zero W

Postby steve » Tue Dec 12, 2017 1:01 pm

It’s an incompatibility between the usb library mx uses and later versions of Mono. There is a test version of the library available which should fix this, but it’s far from clear whether it would then actually work, and in any case I would have to release a new version of mx to go with it. See other threads about this, in particular the one where I apologise for lack of updates, which has now gone off at a tangent somewhat.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

DavidK
Posts: 2
Joined: Tue Dec 05, 2017 9:28 pm
Weather Station: Fine Offset WH 1080
Operating System: Raspberry Pi Zero W

Re: "Fine Offset not found" on Raspberry pi Zero W

Postby DavidK » Thu Dec 14, 2017 1:10 am

Thanks for that - I wondered if that might be the problem.
I might try installing an older version of mono - I believe 3.2.8 worked OK?

Could anyone advise how to download the older version? My Raspberry Pi has Raspbian 9 with stretch, so this is how I got the latest version of mono:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian raspbianstretch main" | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update

Any ideas how to specify version 3.2.8? A lot of the on-line forums have info for Ubuntu and Debian, but not Raspian.


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 6 guests