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
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 4019) - 03 April 2024
Legacy Cumulus 1 release 1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.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
"Fine Offset not found" on Raspberry pi Zero W
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: "Fine Offset not found" on Raspberry pi Zero W
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
-
- Posts: 2
- Joined: Tue 05 Dec 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
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.
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.