OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 164314.0
October 2, 2011 12:36 AM

Categories: Pogoplug Classic

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

davygravy

Member
Joined: 09/15/2011

davysweather.dyndns.org

This thread is a basic log of what I've done to get my POGOE02 converted to host a basic 1-Wire Weather Station + Weathercam, using Debian, Maxim/DallasSemiconductor sensors, a USB adapter, digitemp, rrdtool, lighttpd, and a few tweaks...

The thread was initially a hardware question regarding the suitability of the Pogoplug for exterior use, condensation concerns, etc.  As I put things together and tried to do this on Debian (instead of w/ Optware),  I discovered that there were enough bumps in the road that I had to leave a trail of breadcrumbs for myself, in case I ever needed to retrace my steps.

================================

(Peter : could you please route this question to your hardware people?  I know that any physical mods may void the warranty - I'm willing to accept that, just need advice regarding the circuit board )

I'm replacing my 1-Wire Weather Station's embedded device (a TomatoUSB-ized Asus WL-520GU running Optware) with a POGOE02 running Debian/Squeeze.

The benefit I get from this is that it will draw less power, but it will also run a web-cam much more robustly.

I want to  put the entire unit in my backyard garden... overlooking the birdfeeder/waterer.

Any ideas what kind of housing will protect it from humidity and cold extremes?  

Is there a protective coating that I could apply to the board (except key components that need to emit heat) so that humidity/moisture would not be a problem?

Check out my 1-Wire Weather Station/Cam hosted on a PogoPlug . . . . . http://davysweather.dyndns.org

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

October 2, 2011 12:57 AM

davygravy,

Your best bet in doing this would be to remove the PCB from the plastic and put it into your own special container.

But I wouldn't worry about humidity or cold extremes with the Pogoplug. As long as it remains powered up it puts out enough heat to keep it from freezing.

I would just make sure it is coverered from direct rain and you shouldn't have any problem.

Place Shifting Enthusiasts

October 2, 2011 1:42 AM updated: October 2, 2011 10:34 AM

Nerds... :-)

Lee Jones

October 2, 2011 7:23 PM updated: October 7, 2011 11:12 PM

Yeah, I can't argue w/ that, Lee...  :^)

===========

Steps:

1.  Debianize the POGOE02, w/ a Squeeze installation on a 1GB flashdrive I have laying around.

Reasons for Debian instead of Optware:  package variety, compiler/build tools for native builds, ready-made kernel & modules - fairly new, uboot control via netcat

2.  Got webcam set up, using motion and the uvc.ko module, worked out-of-the-box

3.  Got digitemp and 1-Wire sensors working

- needed to blacklist the ds2490 module, since digitemp talks to the sensors via libusb (userspace), not via the kernel

- needed to recompile libusb, using this patch :   http://trac.nslu2-linux.org/optware/browser/trunk/sources/libusb/digitemp.pat...

and had to symlink my way around the installed (and partially faulty) libusb

- needed to compile digitemp 3.4.0, as the 3.5.0.deb package did not work correctly for me

4.  Set up scripts and cron jobs to collect round-robin data, and create graphs

5.  Put them together in a simple webpage, served out by lighttpd.  

6.  dyndns setup and update is via inadyn

7.  made the whole thing wireless, so it just needs a power supply, no ethernet cable - used wireless-tools, rt73usb module, wpasupplicant, and ralink-firmware

8.  I had to kludge a fix to the possibility of a dropped wireless connection ... once on a great while my TomatoUSB-ized Asus RT-N16 just drops a connection.  It doesn't look like the hardware or software/driver fails on my Pogodebian, its just a router-side hickup.  My temporary fix was just to restart networking on the Pogodebian every 15 minutes.    This is not optimal by a longshot - checking connectivity to some known reliable boxes here in my SOHO network is in order, first, before restarting networking.  

I found this very nice article : http://www.cyberciti.biz/tips/simple-linux-and-unix-system-monitoring-with-pi...

... and have altered it to test some trusted/reliable hosts, and to attempt 1st a network restart, and if that doesn't work, reboot the pogodebian.  I've tested it w/ both router drops and USB disconnects - it seems robust enough to work in all cases.

9.  added a script to check to see that motion is running.  check for motion status logfile, create if not.

10.  Working on a status page (uptime, load, threads for motion)

11.  event programming...  

Check out my 1-Wire Weather Station/Cam hosted on a PogoPlug . . . . . http://davysweather.dyndns.org

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window