Author Topic: Raspberry Pi for 24/7  (Read 8595 times)

0 Members and 1 Guest are viewing this topic.

Offline scott1459

  • Member
  • *
  • Posts: 2
Raspberry Pi for 24/7
« on: January 09, 2015, 01:19:49 PM »
been thinking of using this as a "always' on for my 5 in 1#01036
http://www.amazon.com/CanaKit-Raspberry-Complete-Original-Preloaded/dp/B008XVAVAW/ref=sr_1_3?ie=UTF8&qid=1420826841&sr=8-3&keywords=raspberrypi
would like to hear thoughts/ideas on this
thanks

Offline Beaudog

  • Forecaster
  • *****
  • Posts: 1217
Re: Raspberry Pi for 24/7
« Reply #1 on: January 09, 2015, 01:25:53 PM »
That looks like a really good deal.         I might even give it a try.

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: Raspberry Pi for 24/7
« Reply #2 on: January 09, 2015, 02:00:34 PM »
I been using a Pi with Meteohub for a while now.
Works like a charm.

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Raspberry Pi for 24/7
« Reply #3 on: January 09, 2015, 03:15:10 PM »
I have been running mine since mid July with no problems.

Uptime is 70 days...

Code: [Select]
root@meteohub-rpi:~# uptime
 15:10:54 up 70 days,  8:49,  1 user,  load average: 2.07, 2.51, 2.63

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: Raspberry Pi for 24/7
« Reply #4 on: January 09, 2015, 03:55:57 PM »
I have been running mine since mid July with no problems.

Uptime is 70 days...

Code: [Select]
root@meteohub-rpi:~# uptime
 15:10:54 up 70 days,  8:49,  1 user,  load average: 2.07, 2.51, 2.63

Greg H.


Time for an update 5.0d is out. :P :D

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb

Offline vreihen

  • El Niņo chaser
  • Forecaster
  • *****
  • Posts: 1216
  • K2BIG
Re: Raspberry Pi for 24/7
« Reply #5 on: January 10, 2015, 07:45:05 AM »
I did an eval of Meteohub with a B+ Pi and my USB 1035 console back in the summer.  It ran fine for several days until the eval software time expired.  The only gotcha is that MeteoHUB at the time did not support the Acu-Rite Internet bridge as an input source, so I ultimately went with MeteoBRIDGE in a $20 D-Link DIR-505 travel router which has truly been set and forget.....
WU Gold Stars for everyone! :lol:

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Raspberry Pi for 24/7
« Reply #6 on: January 10, 2015, 09:01:42 AM »
I have been running mine since mid July with no problems.

Uptime is 70 days...

Code: [Select]
root@meteohub-rpi:~# uptime
 15:10:54 up 70 days,  8:49,  1 user,  load average: 2.07, 2.51, 2.63

Greg H.



Time for an update 5.0d is out. :P :D


Thanks for the heads-up. I updated it, unfortunately my uptime was reset to zero again....  :-(
The RasPi out in the garage (ambient=21°F in the cabinet), has a 79 day uptime. This one is just running Raspian with the PiCam and PiFace connected.

Greg H.


Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3337
Re: Raspberry Pi for 24/7
« Reply #7 on: January 10, 2015, 09:02:38 PM »
been thinking of using this as a "always' on for my 5 in 1#01036
http://www.amazon.com/CanaKit-Raspberry-Complete-Original-Preloaded/dp/B008XVAVAW/ref=sr_1_3?ie=UTF8&qid=1420826841&sr=8-3&keywords=raspberrypi
would like to hear thoughts/ideas on this
thanks

I've been running a handful of Pi's for a couple years now for various tasks, one of which is pulling data from the Acurite bridge (http://nincehelser.com/ipwx)

I've been very pleased with their performance.  The biggest problem I've had is not having a beefy enough power supply and having the unit burp under heavy power load (e.g. having several USB devices attached).  I prefer one that can supply 1 amp, but I have gone as low as 0.8 amp without problems.

Offline Gulfcoast

  • Senior Contributor
  • ****
  • Posts: 264
Re: Raspberry Pi for 24/7
« Reply #8 on: January 10, 2015, 09:16:47 PM »
Is anyone running MeteoBridge on Raspberry Pi? 

Offline vreihen

  • El Niņo chaser
  • Forecaster
  • *****
  • Posts: 1216
  • K2BIG
Re: Raspberry Pi for 24/7
« Reply #9 on: January 10, 2015, 09:28:46 PM »
Is anyone running MeteoBridge on Raspberry Pi?

AFAIK, it isn't an option:

http://meteobridge.com/wiki/index.php/Hardware

If you plan to use the Acu-Rite bridge as your data source, buy the D-Link DIR-505.  It has twice the RAM of the others, and MeteoBridge is a tad short on RAM with the packet-sniffer code running on the other boxes.  At about $20 street price for the DIR-505, the MB software is your major expense if you go this route.

Also note that if you use one of these routers with a USB console, you will need to pick up a USB hub to serve as a signal converter.  There's a cheap 2-port one listed in the MeteoHub sub-forum here that will do the job.....
WU Gold Stars for everyone! :lol:

Offline txweather.org

  • Forecaster
  • *****
  • Posts: 1597
    • Texas Weather
Re: Raspberry Pi for 24/7
« Reply #10 on: January 10, 2015, 09:41:13 PM »
Is anyone running MeteoBridge on Raspberry Pi? 

As mentioned before by another user, That is not possible.
You can run Meteohub on a Pi though.
I been running my Pi/Meteohub for about 1yr and my meteobridge for about 2yrs+ now :)

----
Davis Vantage Pro2 Plus +FARS|Meteobridge Nano SD|Meteohub|Meteobridge MR-3020|WU KTXSPRIN75/PWS JRARGWX75/CWOP EW2972/WBB TXWDVUE75/Blitzortung ID: 1142|AWEKAS: 12095
Donations are welcome: https://paypal.me/ffuentesb

Offline scott1459

  • Member
  • *
  • Posts: 2
Re: Raspberry Pi for 24/7
« Reply #11 on: January 11, 2015, 10:17:41 AM »
been thinking of using this as a "always' on for my 5 in 1#01036
http://www.amazon.com/CanaKit-Raspberry-Complete-Original-Preloaded/dp/B008XVAVAW/ref=sr_1_3?ie=UTF8&qid=1420826841&sr=8-3&keywords=raspberrypi
would like to hear thoughts/ideas on this
thanks

I've been running a handful of Pi's for a couple years now for various tasks, one of which is pulling data from the Acurite bridge (http://nincehelser.com/ipwx)

I've been very pleased with their performance.  The biggest problem I've had is not having a beefy enough power supply and having the unit burp under heavy power load (e.g. having several USB devices attached).  I prefer one that can supply 1 amp, but I have gone as low as 0.8 amp without problems.
  I'm going to give it a try, thanks!!

Offline gelhack

  • Member
  • *
  • Posts: 2
Re: Raspberry Pi for 24/7
« Reply #12 on: January 12, 2015, 11:16:11 AM »
Maybe I'm missing something here, but I don't see the Acurite 01036 listed as supported hardware for either Meteohub http://wiki.meteohub.de/Main_Page or Meteobridge http://www.meteobridge.com/wiki/index.php/Stations . I would really like to be able to connect my 01036 to a Raspberry Pi and feed the data to something other than the Acurite My Backyard Weather site due to the lack of quality in their Android app. Has anyone actually gotten something to work with the PI and the 01036?

Offline oldman43

  • Member
  • *
  • Posts: 10
Re: Raspberry Pi for 24/7
« Reply #13 on: January 20, 2015, 02:44:45 AM »
If I am running the Nincehelser script on a Raspberry Pi and the Pi is turned off, will the Acu-link bridge still report events to Weather @ 15 minute intervals or will there be no reporting until the Pi is turned back on?

Offline skysummit

  • Forecaster
  • *****
  • Posts: 806
    • StormCast
Re: Raspberry Pi for 24/7
« Reply #14 on: January 20, 2015, 08:54:20 AM »
I'm also wondering the same thing. I'm using Weather Display right now for my data but I keep having issues with the USB connection. Does this option also generate files for website use?
Hardware:  Acurite Atlas with Lightning Detector
CoCoRaHs Station: LA-TG-11

NWS's Ponchatoula/Hammond Area's COOP Member
President | Director of Operations - StormCast

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3337
Re: Raspberry Pi for 24/7
« Reply #15 on: January 20, 2015, 02:37:44 PM »
If I am running the Nincehelser script on a Raspberry Pi and the Pi is turned off, will the Acu-link bridge still report events to Weather @ 15 minute intervals or will there be no reporting until the Pi is turned back on?

The Pi has to be turned on and operating with the bridged network in order for the Acurite Bridge to report (because otherwise there would be no live network connection).

The scripts themselves don't need to be running, though.  If they aren't, the Acurite Bridge still reports to MBW as it normally would. 

As for MBW reporting back to wunderground every 15 minutes, you can still do that as a backup, but make sure you have the same barometric offset on both the Pi and MBW, or you might get some weirdness on your barometer.
« Last Edit: January 20, 2015, 02:50:54 PM by nincehelser »

Offline mwall

  • Contributor
  • ***
  • Posts: 135
Re: Raspberry Pi for 24/7
« Reply #16 on: January 21, 2015, 11:39:36 AM »
Has anyone actually gotten something to work with the PI and the 01036?

there is an acurite driver for weewx, and weewx runs quite nicely on a pi.  version 0.9 of the acurite driver is beta quality.  the acurite driver should be included in the next weewx release.

the driver is here:

https://svn.code.sf.net/p/weewx/code/trunk/bin/weewx/drivers/acurite.py

instructions for adding it to a weewx 3.0.1 installation are in this thread:

https://groups.google.com/forum/#!topic/weewx-user/ErAUDBQEsDU

this driver works with acurite consoles that have a usb port.  it does not work with the acurite bridge.

m

Offline gelhack

  • Member
  • *
  • Posts: 2
Re: Raspberry Pi for 24/7
« Reply #17 on: January 23, 2015, 01:52:22 PM »
mwall,

Thanks for the info. I have installed weewx and the AcuRite driver and my 5 in 1 01036 is now on line:

http://www.wunderground.com/personal-weather-station/dashboard?ID=KTXDALLA176

« Last Edit: January 23, 2015, 04:02:56 PM by gelhack »

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Raspberry Pi for 24/7
« Reply #18 on: April 04, 2015, 12:55:51 PM »
I have followed every step for install ipwx and ./listener | ./parser are working just great and showing the information from my bridge

Where I am having an issue is that WEEWX is not parsing that information to <myip> /weewx/index.html.  I have modified simulator.py with the modified file
with the one on http://nincehelser.com/ipwx - I am missing something but am at a loss. 

I even started my PI from scratch and went through each step. 

Dennis

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3337
Re: Raspberry Pi for 24/7
« Reply #19 on: April 04, 2015, 01:21:13 PM »
I have followed every step for install ipwx and ./listener | ./parser are working just great and showing the information from my bridge

Where I am having an issue is that WEEWX is not parsing that information to <myip> /weewx/index.html.  I have modified simulator.py with the modified file
with the one on http://nincehelser.com/ipwx - I am missing something but am at a loss. 

I even started my PI from scratch and went through each step. 

Dennis

Did you load the version of weewx in the instructions, or the latest one?

If you used the newest weewx, the driver needs changes.  I have a newer driver in beta.

If you're using the older software as written, there might be a problem with the code indentation due to cut and paste.  You might check /var/log/syslog to see how weewx is failing.

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Raspberry Pi for 24/7
« Reply #20 on: April 04, 2015, 01:23:20 PM »
I used the version from your instructions to keep it simple.  I will check the cut and paste and error log

Thanks - Dennis

Offline nincehelser

  • Forecaster
  • *****
  • Posts: 3337
Re: Raspberry Pi for 24/7
« Reply #21 on: April 04, 2015, 01:33:16 PM »
Oh, there is a bug in the driver file I haven't corrected.

There's a line that contains "/home/pi/wxdata".  It should read "/home/ipwx/wxdata" instead.

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Raspberry Pi for 24/7
« Reply #22 on: April 04, 2015, 01:36:54 PM »
error log

Apr  4 10:28:25 raspberrypi weewx[2776]: wxengine: Caught
unrecoverable exception in wxengine:
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****  [Errno 21] Is a
directory: '/home/pi/wxdata'
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****  Traceback (most
recent call last):
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****    File
"/usr/share/weewx/weewx/wxengine.py", line 889, in main
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****      engine.run()
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****    File
"/usr/share/weewx/weewx/wxengine.py", line 160, in run
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****      for packet in
self.console.genLoopPackets():
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****    File
"/usr/share/weewx/weewx/drivers/simulator.py", line 144, in
genLoopPackets
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****      with
open("/home/pi/wxdata") as f:
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****  IOError: [Errno 21]
Is a directory: '/home/pi/wxdata'
Apr  4 10:28:25 raspberrypi weewx[2776]:     ****  Exiting.

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Raspberry Pi for 24/7
« Reply #23 on: April 04, 2015, 02:13:00 PM »
Fixed the driver error and it is working now  :grin:  Thank you!

Time to take a break and go for a run

 

anything