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

Installation auf raspberry

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
bajowar
Posts: 42
Joined: Sun Jan 08, 2017 8:52 pm
Weather Station: PCE-FWS 20
Operating System: Windows 10/ RaspBerry Pi2
Contact:

Installation auf raspberry

Postby bajowar » Mon Jan 09, 2017 8:51 pm

Hello, please help me!
I have installed Cumulus on my Raspberry P2 with:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mono-complete

I dont find the Installation on my Raspberry. In which Ordner is the Installation?

with
sudo mono -V, I see:
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017)

I see, that the Installation is somewhere. Wat must I do?
Excuse my bad english
Dieter

User avatar
PFC
Posts: 7
Joined: Sun Jul 19, 2015 6:49 pm
Weather Station: Aercus ws3083
Operating System: Raspbian Jessie
Location: Newport, South Wales
Contact:

Re: Installation auf raspberry

Postby PFC » Mon Jan 09, 2017 9:39 pm

Dieter,

You don't need to see the mono installation.
Have you installed CumulusMX?
If you have then all you need to do is move to the CumulusMX folder by typing: cd CumulusMX
Then run CumulusMX by typing: sudo mono CumulusMX.exe
Remember the capital letters are important.

Paul

bajowar
Posts: 42
Joined: Sun Jan 08, 2017 8:52 pm
Weather Station: PCE-FWS 20
Operating System: Windows 10/ RaspBerry Pi2
Contact:

Re: Installation auf raspberry

Postby bajowar » Mon Jan 09, 2017 11:08 pm

I have installed with "sudo apt-get install mono-complete"
I find no directory "CumulusMX"

User avatar
PFC
Posts: 7
Joined: Sun Jul 19, 2015 6:49 pm
Weather Station: Aercus ws3083
Operating System: Raspbian Jessie
Location: Newport, South Wales
Contact:

Re: Installation auf raspberry

Postby PFC » Mon Jan 09, 2017 11:46 pm

Have you downloaded Cumulus?
If not you need to get it from here:
download/file.php?id=13646

bajowar
Posts: 42
Joined: Sun Jan 08, 2017 8:52 pm
Weather Station: PCE-FWS 20
Operating System: Windows 10/ RaspBerry Pi2
Contact:

Re: Installation auf raspberry

Postby bajowar » Tue Jan 10, 2017 4:00 pm

Hello,
thank you for your help. Now cumulus works!
Only Raspberry can not yet recognize the data from the weatherstation over USB. With Windows 10 on my PC it was okay.
But I hope I find the matter.

Dieter

User avatar
steve
Cumulus Author
Posts: 25913
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Installation auf raspberry

Postby steve » Tue Jan 10, 2017 7:04 pm

Some versions of Mono do not work with USB stations and MX, 4.6.x is one such version - see the MX 'FAQ and known issues' post.
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

bajowar
Posts: 42
Joined: Sun Jan 08, 2017 8:52 pm
Weather Station: PCE-FWS 20
Operating System: Windows 10/ RaspBerry Pi2
Contact:

Re: Installation auf raspberry

Postby bajowar » Wed Jan 11, 2017 3:01 pm

Hello Steve,
I have the version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017) Is this okey?
Where can I get a earlyer version of mono which is good for USB?
I hope you can help.

Dieter

User avatar
steve
Cumulus Author
Posts: 25913
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Installation auf raspberry

Postby steve » Wed Jan 11, 2017 3:12 pm

There are a number of posts from people who have installed a suitable version of Mono, this one may help, for example - http://sandaysoft.com/forum/viewtopic.php?f=27&t=14635&p=113229#p113598
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

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

Re: Installation auf raspberry

Postby Toxic17 » Wed Jan 11, 2017 4:21 pm

Yes running 4.6.2 on Debain here on an Intel NUC.

Code: Select all

root@conligwx:~# mono -V
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
root@conligwx:~#


Dieter I think you issue maybe the port you are using on Debain maybe incorrect.

Mine is like so:

/dev/ttyUSB0

in SSH type

lsusb

and post its findings.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Installation auf raspberry

Postby Toxic17 » Wed Jan 11, 2017 4:30 pm

you should be able to rule this script too to find your serial/usb controller.

Code: Select all

#!/bin/bash

for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
    (
        syspath="${sysdevpath%/dev}"
        devname="$(udevadm info -q name -p $syspath)"
        [[ "$devname" == "bus/"* ]] && continue
        eval "$(udevadm info -q property --export -p $syspath)"
        [[ -z "$ID_SERIAL" ]] && continue
        echo "/dev/$devname - $ID_SERIAL"
    )
done


mine shows the following:

Code: Select all

root@conligwx:~# for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
>     (
>         syspath="${sysdevpath%/dev}"
>         devname="$(udevadm info -q name -p $syspath)"
>         [[ "$devname" == "bus/"* ]] && continue
>         eval "$(udevadm info -q property --export -p $syspath)"
>         [[ -z "$ID_SERIAL" ]] && continue
>         echo "/dev/$devname - $ID_SERIAL"
>     )
> done
/dev/ttyUSB0 - Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001


or this:

Code: Select all

root@conligwx:~# echo -n "/dev/"; dmesg | grep tty|grep USB|rev|awk '{print $1}'|rev
/dev/ttyUSB0


but the first one lists the device name too.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
steve
Cumulus Author
Posts: 25913
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Installation auf raspberry

Postby steve » Wed Jan 11, 2017 4:34 pm

Fine Offset stations are USB HID devices and so the COM port setting is irrelevant. The problem is as I said, that Mono 4.6.2 is not compatible with MX and stations which are driven as HID devices rather than via a real or virtual serial port.
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

BigOkie
Posts: 195
Joined: Tue May 28, 2013 1:06 am
Weather Station: Davis VP2
Operating System: Raspian Jessie
Location: Tulsa, OK

Re: Installation auf raspberry

Postby BigOkie » Thu Jan 12, 2017 1:07 pm

steve wrote:Fine Offset stations are USB HID devices and so the COM port setting is irrelevant. The problem is as I said, that Mono 4.6.2 is not compatible with MX and stations which are driven as HID devices rather than via a real or virtual serial port.


Which is probably why it works just fine on Windows...I wonder if installing Windows IoT on a Pi would work? Just throwing stuff out there now.
Image

User avatar
steve
Cumulus Author
Posts: 25913
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Installation auf raspberry

Postby steve » Thu Jan 12, 2017 1:12 pm

BigOkie wrote:I wonder if installing Windows IoT on a Pi would work?
No, IoT isn't suitable for running applications like Cumulus.
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: 274
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Installation auf raspberry

Postby jank » Fri Jan 13, 2017 11:25 am

bajowar wrote:Hello Steve,
I have the version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017) Is this okey?
Where can I get a earlyer version of mono which is good for USB?
I hope you can help.
Dieter

Dieter, if you still are having problems to get this running, maybe I can help.....in your Language.
So if you still having questions regarding Raspberry PI, OS and NOT the station itself, please let me know and I would help.
Jan

Btw: To show you the stabillity of a RaspberryPi:

pi@cumulus ~ $ uptime
12:28:54 up 161 days, 1:24, 2 users, load average: 0,04, 0,09, 0,07
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

User avatar
rogerthn
Posts: 137
Joined: Thu Apr 11, 2013 6:31 pm
Weather Station: Oregon Scientific WMR88
Operating System: Raspbian GNU/Linux 8
Location: Trollhättan Sweden
Contact:

Re: Installation auf raspberry

Postby rogerthn » Fri Jan 13, 2017 5:35 pm

From a fresh install of 2017-01-11-raspbian-jessie-lite

Code: Select all

apt-cache show mono-complete
Package: mono-complete
Source: mono
Version: 3.2.8+dfsg-10
.
.
.
Image


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests