Page 1 of 2

Raspberry PI

Posted: Tue 13 May 2014 1:22 pm
by hqrgro
Hello,
My name is giorgio
I would like to know if anyone have tryed to interface Raspberry PI with a meteo station Fine offset 1080 with USB connection.
if yes, how has been done?

Thanks
Giorgio

Re: Raspberry PI

Posted: Tue 13 May 2014 1:27 pm
by steve
You just plug it in, and it works. I have mine connected to a Raspberry Pi at the moment; I'm working on a version of Cumulus for the Raspberry Pi (and other platforms). If you want some software to use right now, you could look at pywws - http://jim-easterbrook.github.io/pywws/ ... index.html

Re: Raspberry PI

Posted: Tue 13 May 2014 1:51 pm
by hqrgro
Wow
that is wonderful
is what I was looking for
at the moment I'm using cumulus and fine offset connected to my PC.

But I have also Raspberry PI and I would like to test......

I will try and I will inform you

Giorgio

Re: Raspberry PI

Posted: Wed 14 May 2014 7:51 am
by hqrgro
hello steve,
can I ask what kind of operating system are you using on Raspberry PI

Linux Debian Wheezy?

Thanks
Giorgio

Re: Raspberry PI

Posted: Wed 14 May 2014 8:02 am
by steve
I'm using 'Raspbian', which I understand is a version of Debian Wheezy optimised for the Pi.

Re: Raspberry PI

Posted: Wed 14 May 2014 8:09 am
by hqrgro
Thanks
yes,

:)

ciao
Giorgio

Re: Raspberry PI

Posted: Thu 15 May 2014 6:54 am
by henkg
Raspberry PI with PYWWS:
Some info about installing PYWWS: http://www.weather.dragontail.co.uk/ind ... tion_setup
Or, a much easier way, get the prebuilt image: http://www.weather.dragontail.co.uk/ind ... rasp_image
To be clear: Jim Easterbrook created PYWWS (http://jim-easterbrook.github.io/pywws/ ... index.html), dragontail just created a prebuilt image.

My RPI is headless, no monitor or keyboard attached. Maintenance is over LAN, with Putty on a Windows PC. Power consumption: less than 3 Watts (on a 24/7 yearly basis: < EUR 6,-)
I also installed the apache webserver on the RPI, for publishing the data. So no need for a web hosting provider.
Customizing the weather.ini and the xml templates will take quite some time. Some Linux knowledge is necessary, because all modifications have to be made with a Linux text editor (VI or nano), in command mode. It is not plug and play like Cumulus for Windows!

It is running for half a year now, without any problems. See the link in my signature (still need to do something about the ugly webpage).

However, I like Cumulus much more. It works almost out of the box, gives better information, easy way to export data to Excel, much more.
So, when Cumulus for RPI is available, I will try out Cumulus for RPI the very same day. Until then, I am very happy with PYWWS.

Please note that PYWWS only works with Fine Offset models.

Re: Raspberry PI

Posted: Thu 15 May 2014 9:58 am
by hqrgro
wow thanks henkg,
I will try the image....

I'm using from 3 years cumulus on my PC
but from the energy consumption point of view is really expansive....

I have installed a program on my PC using "ENVIR power meter"
in order to understood the base load....
and I have in my house every hour at least 300 W/h
too much.... the main responsible is the PC that is on from 10 years....

if you would like to see my meteo station is here

http://hqrgro.no-ip.info:4001/

ciao
Giorgio

Re: Raspberry PI

Posted: Sun 30 Nov 2014 4:11 pm
by jjudson
Bumping to the top...

Any news on Raspberry Pi OS development progress?

Re: Raspberry PI

Posted: Sun 30 Nov 2014 5:12 pm
by steve
I'm still working on it. I've written about 16,000 lines of code so far. When it's ready for people to test, I'll post an announcement.

Re: Raspberry PI

Posted: Sun 30 Nov 2014 5:52 pm
by jjudson
Sweet! Thanks Steve!

Re: Raspberry PI

Posted: Sun 07 Dec 2014 6:19 am
by cancunia
Cumulus on the RPi, what a great idea! I will happily contribute to any testing.

Re: Raspberry PI

Posted: Mon 09 Feb 2015 8:45 pm
by MM0RBZ
Hi Steve.
I'm a ferry lowper from the deep south, overlooking the skye bridge.
I'm running Cumulus on win xp and find it very easy to set up and use and upload to cwop.
However running the pc 24/7 is a pain so I tried weewx on my pi..
Find it very flakey and hard to set up so would be very keen to run Cumulus on the pi.
Even just to upload to cwop on a headless pi without displaying anything locally. (weewx generates html pages that i don't use)
Count me in if you're looking for beta testers.
73 to you and yours.
Bob.

Re: Raspberry PI

Posted: Sun 01 Mar 2015 11:20 pm
by b_1_rd
Hi. Not posted in a while but have been trying to follow the dragontail tutorial to employ a newly acquired Pi as a headless system to process the data from a Watson W-8681 to publish on weather underground. I can't figure out how to get past step 2 when I input "python -m pywws.Hourly -vvv ~/weather/data". I get the result below, which seems to stop at not finding the "underground_fr.ini". The file appears to be there. I've no doubt I've missed something but have been through several times with no success. I'd appreciate if anyone can give me a pointer.

I'm pretty new to using command line so any advice will be greatly appreciated.

Hope this is ok to post here as it was covering the subject already. Looking forward to CumulusMX :)

Code: Select all

pi@raspberrypi ~ $ python -m pywws.Hourly -vvv ~/weather/data
22:39:02:pywws.Logger:pywws version 15.01.0
22:39:02:pywws.Logger:Python version 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3]
22:39:02:pywws.WeatherStation.CUSBDrive:using pywws.device_pyusb
22:39:05:pywws.DataLogger:Synchronising to weather station
22:39:06:pywws.weather_station:delay 1, pause 12.1512
22:39:18:pywws.weather_station:delay 1, pause 0.5
22:39:19:pywws.weather_station:avoid 5.67477202415
22:39:25:pywws.weather_station:live_data new data
22:39:25:pywws.DataLogger:Reading time 22:39:22
22:39:25:pywws.DataLogger:log time 22:37:02
22:39:25:pywws.DataLogger:Fetching data
22:39:28:pywws.DataLogger:58 catchup records
22:39:28:pywws.Process:Generating summary data
22:39:28:pywws.Calib:Using default calibration
22:39:28:pywws.Process:daily: 2015-03-01 09:00:00
22:39:28:pywws.Process:monthly: 2015-03-01 09:00:00
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 111, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 108, in main
    return Hourly(args[0])
  File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 79, in Hourly
    hourly_data, daily_data, monthly_data).do_tasks():
  File "/usr/local/lib/python2.7/dist-packages/pywws/Tasks.py", line 110, in __init__
    service_name=name)
  File "/usr/local/lib/python2.7/dist-packages/pywws/toservice.py", line 205, in __init__
    'pywws', 'services/%s.ini' % (self.service_name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 916, in resource_string
    self, resource_name
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1189, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1316, in _get
    stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/pywws/services/underground_fr.ini'

Re: Raspberry PI

Posted: Mon 02 Mar 2015 8:20 am
by steve
Jim has his own forum for pywws, so you'll probably get better help with his software there - https://groups.google.com/forum/#!forum/pywws