Page 2 of 3
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Sun 22 Nov 2015 6:36 pm
by steve
jarom wrote:DataTables warning: table id=PressureTable - Ajax error. For more information about this error, please see
http://datatables.net/tn/7
That's because your data logs are still empty as you haven't got as far as configuring it for your station yet.
Till the end of this magic moment everyfing goes well. In effect the adress of CumulusMX dashboard on the browser should be (in my case) like this:
http://192.168.1.20:8998/. But when I open the dashboard and I try to make basic changes in the settings (station type, pressure units I got Error [object Object]
That's because you are using Polish settings and hence decimal commas (as I mentioned earlier). So you need to follow the instructions to uninstall your current mono-complete package and install a later version -
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13587
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Sun 22 Nov 2015 9:28 pm
by jarom
I changed the mono-complete as you suggested.
Now when I try to open CumulusMX dashboard page it does't work. Instead automatically saves the index.html in the download directory and open it in the Libre Office. It's crazy.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 8:43 am
by steve
Are you trying to use a browser on the Raspberry Pi? Most browsers which run on the Raspberry Pi are limited in what they can do. The Epiphany browser seems to work OK for me, but bear in mind that the Raspberry Pi is a very low power device.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 12:55 pm
by jarom
Thank you Steve for your guidance. I hope our correspondence will very helpful for another "fresh raspberry users". I feel I'm pretty close to the success
But...
Now I can see the the dashboard of Cumulus MX in the browser, I can change and save the settings , but my Raspberry can't find my weather station (WH1080)
Current culture: English (United Kingdom) //for default right format of decimal
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3033
Today.ini = data/today.ini
Last update=2015-11-23T12:37:37
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
23/11/2015 12:37:38
My weather station (WH 1080) is connected with my Raspberry Pi by the ordinary USB wire.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 1:27 pm
by steve
What is the output of the command lsusb ?
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 2:07 pm
by jarom
pi@raspberrypi ~ $ lsusb
Bus 001 Device 006: ID 046d:c529 Logitech, Inc. Logitech Keyboard + Mice
Bus 001 Device 005: ID 046d:c066 Logitech, Inc.
Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 2:20 pm
by jarom
and more:
pi@raspberrypi ~ $ lsusb -D /dev/bus/usb/001/004
Device: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1941 Dream Link
idProduct 0x8021 WH1080 Weather Station / USB Missile Launcher
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
_____________-
pi@raspberrypi ~ $ lsusb -v
Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1941 Dream Link
idProduct 0x8021 WH1080 Weather Station / USB Missile Launcher
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Sorry, but I don't know what info is necessary. So, you have everything listed.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 2:52 pm
by steve
What version of Mono are you using? (Do mono -V)
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 3:24 pm
by jarom
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 10:06:49 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 3:58 pm
by steve
There are problems with that version of Mono, see
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=14508
I don't know what the solution is at the moment.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 4:04 pm
by jarom
Ok. Thank you for your patience.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Mon 23 Nov 2015 8:09 pm
by steve
This should work:
First, remove mono-complete:
sudo apt-get remove mono-complete
Then delete the repository that supplied it:
sudo rm /etc/apt/sources.list.d/mono-xamarin.list
Then reinstall:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mono-complete
Then see what mono -V tells you. 3.2.8 will be fine if that's what you end up with and you don't use commas for decimals, as you are using English settings.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Fri 27 Nov 2015 1:28 am
by jarom
Thank you Steve.
Unfortunately it doesn't works.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mono-complete : Depends: mono-runtime (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-runtime-sgen (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: libmono-2.0-1 (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: libmono-profiler (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-utils (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-jay (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-devel (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-mcs (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-csharp-shell (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-2.0-gac (= 3.2.8+dfsg-10) but it is not going to be installed
Depends: mono-4.0-gac (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: mono-2.0-service (= 3.2.8+dfsg-10) but it is not going to be installed
Depends: mono-4.0-service (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: monodoc-base (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: monodoc-manual (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
Depends: libmono-cil-dev (= 3.2.8+dfsg-10) but 4.2.1.102-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi ~ $ mono -V
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 10:06:49 UTC 2015)
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Fri 27 Nov 2015 8:26 am
by steve
Sorry, I don't know how you resolve that. The instructions I gave worked for someone else in the same situation. If you can't resolve it, then I can't suggest anything other than starting with a fresh OS but leaving the mono at 3.2.8, that version works fine if you are going to use English settings.
Re: Raspberry pi 2 mirror of a system with Cumulus MX workin
Posted: Fri 27 Nov 2015 12:05 pm
by jarom
Sorry, How can I install mono at 3.2.8?