Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Raspberry Pi and Cumulus MX
#31

(26-04-2016, 11:51)hornychz Wrote:  Hi,

I'm using for my internal usage CumulusMX Start/Stop Script, which has an option "-n", and this is my 7" LCD screen at Raspberry Pi:

Thats script it's a must have. I'm using it too.
It starts Cumulus MX automatically after a PI reboot, but there are an important thing that WeatherDuino Pro2 users should do: Add a delay of 2 or 3 minutes to start the script after a PI reboot.
In case of a power failure, this delay allows that the WeatherDuino Pro2 RX unit could be ready to connect by USB when the script starts.

Reply
#32

(26-04-2016, 21:31)Wizza Wrote:  That's the info we were looking for. Thanks hornychz. Does your 7" screen attached via the HDMI port on the Pi..???
Mark R

Yes, exactly ...
Bye

Best Regards
Zdenek

Brandys/L Weather
Reply
#33

Ok, this is a steep learning curve... I managed to get the Pi3 up and running. Had to use a format tool to format the sd card, then copied on the Raspbian wth noobs and got the OS up and running. Have explored the OS Gui interface and got the ssh working. Now trying to find Mono, and how to load it...? And have downloaded CumulusMX but can't find any info yet on how to install it.? Any advise out there would be greatly appreciated. Will keep searching and tinkering in the mean time, and I think that's half the fun...
Thanks, Mark R
Reply
#34

(29-04-2016, 21:27)Wizza Wrote:  Now trying to find Mono, and how to load it...? And have downloaded CumulusMX but can't find any info yet on how to install it.? Any advise out there would be greatly appreciated.

Hi,

try this:
http://sandaysoft.com/forum/viewtopic.php?f=27&t=12908
Good luck!

Best Regards
Zdenek

Brandys/L Weather
Reply
#35

OK, take two.... Smile Managed to get the VNC installed and auto running upon boot, however had an error in the VNC every time you launched a session. Tried many things all afternoon to fix it, then eventually couldn't reboot and get the GUI to start. So flattened the image and reloaded from scratch... See how this time round goes... Yup, steep learning curve, even for an old IT guy like myself (never played with Linux really)... Had some SCO Unix exposure about 15 years ago, so some of it is familiar and coming back to me (slowly).... Round 2 up and running and distro updating...

Mark R
Reply
#36

(30-04-2016, 09:32)Wizza Wrote:  OK, take two....

Mark,

I'm now 63 years old ... Angry, but many young IT men I still shove in my pocket ... Tongue. (But I have one advantage against you - because I've been intensively working with Linux since 1998 ...)

I've never used VNC, because in every Linux there is natively SSH daemon. I think it's better option to install for example Bitvise SSH client on your Windows desktop and connect to SSH server (Raspbrerry Pi) with it. For installation it's the best by my opinion to use old TV set with HDMI connector or 7" LED display - for my old eyes the TV is better - bigger letters Smile

Good luck in the second round!

Best Regards
Zdenek

Brandys/L Weather
Reply
#37

Round two of Raspbian loaded and running. Didn't take too long, second time round. Have SSH working ok and using my trusting old PuTTY client that I use for Cisco programming. All good there. Loaded the VNC again, per the many instructions around the net, and still the same issue. Did some more testing, and the error relating to an authentication agent already present only shows if you have the xwindows GUI running on the Pi (on the HDMI output). If I change raspi-config to not load the xwindows GUI on boot, then there is no issue on the VNC client. Was going to run headless anyway, so will probably just do this and move on. This gives me xwindows via VNC and SSH shell so all good for admin and setup tasks down the track Now to work out how to load Mono and CumulusMX. I'll head off and have at look at the URL referred to above. Thanks guys...

Cheers for now.
Mark R

Sandaysoft says no installer, just unzip and copy into a folder. Shall I pull the SD card from the PI, and do the copy over on a PC..??? Dont know what the file system is, or if a PC will even read it..??? Is there a recommendation for where and what to call the new folder..??? Just "Cumulus" foldername, off the Pi home folder / directory..??? Is it going to be one of these things down the track, where someone says, oh you should have called the folder this, or you should have put it there..???? All new... I'll keep reading..

Mark R
Reply
#38

(30-04-2016, 20:12)Wizza Wrote:  Round two of Raspbian loaded and running

I run tightvnc on my Raspberry Pis - I don't have the problem that you describe.
Code:
sudo apt-get install tightvncserver
then manually run tightvncserver from the shell (just type "tightvncserver") to set the VNC password. You'll need to contrive a script if you want to make it start automatically (or modify the script you currently have).

You may also want "autocutsel" to copy/paste between your VNC session and the RPi
Code:
sudo apt-get install autocutsel

Then add the line "autocutsel -fork" to the file /home/pi/.vnc/xstartup so autocutsel runs in the background automatically when X starts.

The easiest way to download the current CumulusMX is to just start X and use the web browser built in to the Raspberry Pi (or the wget command line tool) to download the file. Don't forget that you'll need a web browser to configure CumulusMX anyway - it doesn't have a built in user interface. A quick 'n dirty alternative to downloading on the RPi is to copy the file to a USB flash drive on your Windows machine, then plug the flash drive in to the RPi. Linux will automatically mount the flash drive for you - even if it's formatted as FAT16 or FAT32. Windows will not be able to read or write your RPi SD card without special software.

You may want to unpack the .zip file to a temporary directory, then move it out to wherever you want to keep it permanently:
Code:
mkdir temp
unzip -d ./temp ./CumulusMXDist3037.zip

My setup is slightly more complex than most. My RPi is also functioning as a media centre PC, so it's running OSMC instead of Raspbian. I just run CumulusMX from a directory under /home, called "CumuluxMX" (not a very original name). I don't think there is any convention here, but it seemed logical to go with the name of the directory in the zip file.

You'll probably want to get X working via VNC so you can leave a terminal window open with CumulusMX running in it and disconnect / reconnect to VNC without stopping CumulusMX. I use a slightly different approach in that I run CumulusMX from an SSH session, but use the "screen" utility to keep it running in the background when my SSH session is disconnected. I'm happy to share how this is done if anyone is interested, but it's probably not of interest to many people.

Once CumulusMX is started, you should be able to browse to: http://localhost:8998
Reply
#39

Congratulations!
I just wanted to recall, that said Bitvise SSH Client (Tunellier) has in himself an SFTP client, so allows you to copy directly from your Windows desktop, without transferring files via USB.
Regards

Best Regards
Zdenek

Brandys/L Weather
Reply
#40

All good information everyone. My circuit boards should turn up in the mail any day now, so my construction commencement is not far away.

Wizza - is there any chance that you could put together a brief guide as you get things sorted, so that others who follow in your footsteps don't have to reinvent the wheel?
Reply




Users browsing this thread: 1 Guest(s)