Slashdot Mirror


Running Linux On Your Swimming Pool

Forkenhoppen writes: "Ever considered having a computer look after your swimming pool maintenance? Check out this project by Richard J. Kinch. Mr. Kinch uses a Linux box configured with several shell scripts to control the chlorination levels of his pool."

40 of 174 comments (clear)

  1. Oh good God! by gatesh8r · · Score: 2, Funny

    What next? A device that runs Linux so that their toilet flushes? :-)

    --
    Karma whorin' since 1999
    1. Re:Oh good God! by heliocentric · · Score: 5, Funny

      What next? A device that runs Linux so that their toilet flushes? :-)

      Hmmm... will you settle for one running slackware here -

      http://tbp.berkeley.edu/~harlan/projects/ToiletPap er.html

      --
      Wheeeee
  2. Misleading Title!!!!!! by Wakko+Warner · · Score: 3, Insightful

    Hooking crap up to a serial port isn't exactly the same as inserting a Debian CD in your skimmer basket and installing LILO on your pool's boot sector.

    Anyway, mine runs NetBSD just fine.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  3. Not bad but . . . by ahfoo · · Score: 3, Interesting

    How about installing an electronic ozone system? They're supposed to be quite efficient and don't require much maintenance as they're basically just a fancy neon tube that the water passes by. I understand they've been required in many european countries since the seventies.

  4. Overkill????? by jsimon12 · · Score: 3, Insightful

    As much as I am a fan of putting Linux where ever it is possible but lets be honest, this is overkill for the application. There is considerably more mundane technology and none-tech devices that can perform this job, just as effeciently.

    1. Re:Overkill????? by mckeever · · Score: 2, Funny

      I've seen worse.

      The local rep for one of the major DSP manufacturers uses the eval boards he's given for home automation... his hot tub is currently controlled by a 600 MIP 32-bit DSP unit.

      He claims the temperature hasn't changed more than half a degree in the past year.

    2. Re:Overkill????? by ccmay · · Score: 2, Funny
      I loved it when I got to this part:

      I cut up ready-made cables and stripped the ends to attach to the protoboard via cable ties; there's no point in making more work than necessary.

      You don't say...

      -ccm

      --
      Too much Law; not enough Order.
    3. Re:Overkill????? by ndogg · · Score: 3, Insightful

      I would not say it is overkill. I have taken care of a pool before (for over half of my life, I have lived in a house with a pool.) Taking care of a pool is a tedious and repetitive task. There are a lot of things that could and should be automated.

      For example, this guy could extend this to controling those self-propelled pool vacuums to clean the pool (and do the backwash as well.) There are actually pool vacuums that propel themselves and clean the floor bottom by themselves. They climb right up the wall and back down. It is a really neat sight to see. I could imagine using the computer, putting the vacuum in a small compartment with an automatic door that the computer could open and close to let the vacuum out. Also, instead of having the vacuum having to run the vacuum nearly all the time like you would normally do (the vacuum has no AI or anything, it largely just goes back and forth), the computer would know the dimensions of the pool and how it is shaped and so strategize the fastest way to vacuum the bottom.

      Also, chlorine is not the only chemical that needs to be put in the pool (but is the main component.) All pools have to worry about algae and the vacuum and chlorine are not enough to handle algae, so a lot of pool owners have a stock of algaecide for that.

      I could also imagine there being cameras on the pool connected to the computer so that the computer could determine if there are people in it, the cleanliness of the pool, etc.

      There are so many tedious tasks to taking care of a pool that having a system that is automated would be a blessing to many pool owners.

      --
      // file: mice.h
      #include "frickin_lasers.h"
  5. Yeah, but by mESSDan · · Score: 2, Redundant
    What happens when some script kiddie gets access to your pool's box and raises the acid content so much that everytime you go for a swim, you come out missing 3 layers of skin.

    Or some chemist hacker figures out a way to add "pee" to your pool by modifying what chemicals the program puts out.

    Just food for thought. ;)

    --

    -- Dan
    1. Re:Yeah, but by Metrollica · · Score: 3, Funny

      Thought this would be appropriate

      Homer: Ah, there's nothing like rising with the sun for a quiet,
      peaceful dip in your very own pool.
      [cheers, dives in]
      [comes up covered in algae, yells and sputters]
      [Lisa walks out] Lisa, the Blob has got me! Don't touch me or
      he'll get you too.
      Lisa: Dad, you have to put chlorine in the water every day to keep it
      clean.
      Homer: Chlorine, eh?
      [later, all the kids scream and rub their bloodshot eyes]
      Ralph: [coming up] Ow, my face is on fire!

      --



      --Metrollica
  6. dude! by saviorsloth · · Score: 2, Funny

    My family in The Sims could so use that. a free cookie to the first person to make that an item :)

  7. the real sun is probably a better measure by ndevice · · Score: 2, Insightful

    while the use of calculated sunrise and sunset times are pretty neat, a simple photosensor might be an idea too. (Of course, the photosensor might get dirty and give faulty data.)

    And what happens if the server hangs (which is possible if not likely)? The pool might get much more clorination than he hoped for.

    Parallel backup safety systems is probably a good idea here - perhaps just a 555 variant (cascaded?) circuit with a long, if not accurate, delay time that shuts down the system if it ever stays on too long.

  8. What theme is he running? by WIAKywbfatw · · Score: 5, Funny

    I'm willing to bet it's Aqua.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  9. Pretty cool. by Soko · · Score: 3, Interesting

    Something like this would be a prime candidate for Embedded Linux running on a smaller, weathertight, dedicated device instead of a full blown PC tho.

    The headline remined me of what I used to say to the people (several years ago) in the office when I had to re-boot a NetWare server:

    "Everybody out of the memory pool!!"

    Soko

    --
    "Depression is merely anger without enthusiasm." - Anonymous
    1. Re:Pretty cool. by Midnight+Thunder · · Score: 2

      Embedded Linux is certainly a prime candidate, with a network connection for updating the configuration. The only catch is that most embedded linux boards that I have come across cost around the same as an old x586 or more. The day I can get an embedded Linux board for less than $300 (USD) is the day that I will consider making a purchase.

      --
      Jumpstart the tartan drive.
  10. Similar Project by T3kno · · Score: 3, Interesting

    I am thinking about doing something similar with a reef tank that I am going to build. Hook a cheap 486 or pentium up to all of the monitors and dosers that I need to run the tank. I would also like to hook it up to the light ballasts and pumps and have them controlled by some sort of software that mimics the sun and moonlight in the corals natural habitat. What would be really cool is some sort of random cloud generation, as well as random storms in the winter. Even some water temperature variations would be nice.

    I was origionally going to use X10 for the design, but I am going to look closer at his custom designs and possibly use those. I really would like to stay away from X10 because of those damn popup windows that they started. I really dont want to support that sort of company.

    I am really glad he did this project, it really gives me some good ground work on which to base my smaller project on.

    --
    (B) + (D) + (B) + (D) = (K) + (&)
  11. its alive by crystalplague · · Score: 2, Funny

    Feb 10, 2002- A test script was run to more accurately monitor the chlorine levels. everything seemed alright until a power surge interrupted the script. the box hummed strangely. The water took on an eerie glow. arcs of electricity shot through the water. steam floated over the water. small globs of matter formed and floated to the surface. they began to take shape. the realization struck me like a bat...the machine had created primordial life...it was god. dun, duun, DUUUN!

  12. And in related news.... by Alsee · · Score: 2

    A Linux box to control the porch light! It receives sunrise/sunset times over the internet to decide when to switch the light on and off. It even factors in weather related adjustments!

    We can finally throw away those damn photocell controllers!

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    1. Re:And in related news.... by passion · · Score: 2

      Ah... but what if there is an eclipse, or even a meteorite blocking the sun... you want real-time hardware intelligence taking over that job.

      --
      - passion
  13. Water + Electricity by rackrent · · Score: 2, Interesting

    = smart people who can negotiate them. By the time any kind of control for the pool filtering & lighting system reaches it, it's gone through so many physical and electrical insulations, that it should be completely safe. Heck, I could control the Atlantic ocean if my blender ran more than Redhat 4.0 and I had the right kind of seals.

    Seriously.... from what I saw on this page (before it got /.'ed), this is a pretty neat idea, as it would elminate all of those stupid manual timers (which generally keep very poor time) and eliminate the need for continuous monitoring of pool chemical levels.

    --
    --- There is a man in a smiling bag.
  14. how about those pool robots? by OmegaDan · · Score: 5, Funny

    this is cool, but ... I always loved those pool cleaner bots that drive around the pool bottom and pick up debris. Could we get a rediculously complicated computer controlled one? let it be run by perl scripts and have a mysql database to log the ammount leaves picked up and ammount of urine in the pool. This will be served from the pool robot itself running a custom apache rig via an 802.11 underwater access point :)

    this would be a proper geek project

  15. Dem pesky neighbours by LadyLucky · · Score: 5, Funny
    try {
    PoolState poolState = pool.getPoolState();
    if( poolState.getChlorineLevel() < MIN_CHLORINE_LEVEL ) {
    dispense();
    }
    } catch( KidPissedInPoolException kpipe ) {
    MainsPower.reRouteTo( pool, MainsPower.MAX_VOLTAGE );
    }

    Sorry. I just had to.

    --
    dominionrd.blogspot.com - Restaurants on
  16. Re:Wow! by Restil · · Score: 2

    Got one... although its only a 486 that does it. But its running linux.

    To to the link in my sig and go to the den cam... and turn on the lavalamp. :)

    -Restil

    --
    Play with my webcams and lights here
  17. Wow, the money I can save! by one-egg · · Score: 2
    Boy, I can't wait to do this to my spa.

    I'll guess I can get an adequate Linux box for $300. Then I need power to run it, special hardware to handle the chemicals, and of course about $500 worth of my time (at best) to set it all up.

    When I'm done, I can get rid of that $5 timed-release dispenser that has kept my chlorine levels stable for years. The chemical costs will remain about the same, of course, but hey, I can get a geekiness award.

    As to the timer, if I were going to waste my time to create elaborate software that knows the daylight schedule, why not just wire up a few SCR switches to a photocell? Or better, run the pump at night when evaporation is lower and never have to change the timer settings?

    I figure he'll earn his money back in about 2 decades. By which time the PC will have long since rotted.

    OK, this kind of project can be fun for its own sake. But let's not pretend it makes economic sense.

  18. a Linux zealot's pool party by nomadic · · Score: 5, Funny

    "Thanks for inviting me to the pool party!"

    "No problem, Ed."

    Ed enters the water.

    "Ahhh! It burns!"

    "That's impossible, Ed. You see, the chlorination levels are controlled by several scripts running under Linux. It's Open Source, so it's stable and it can't help but work."

    "For the love of all that's holy, someone help me!"

    "You see, with open source any bugs that would have cropped up would have been immediately been fixed by the many independent programmers around the world who check the source code."

    "Oh the pain! My skin is being flayed from my body!"

    "See the neighbor's kid over there? The one in the Limp Bizkit t-shirt with the baseball cap? He's one of the many open source coders around the world who maintain the system I use to automate my pool. Don't let his age, lack of education, or immaturity fool you; because he's an open source coder he's far superior to any corporate drone with a masters in CS. Now don't you feel better?"

    "Oh, the pain! It's like acid!"

    "Ed, the chlorine level is precisely monitored, as I've been telling you. Whatever you're feeling is most definitely not the result of chlorine."

    Ed finally manages to crawl out of the pool. His skin is an angry red, and his hair has turned white.

    "Ohhh...someone...help..."

    "Ok, I see how it is, Ed. You're one of those Microsoft supporters, just trying to spread FUD about the open source movement. I think you should leave."

  19. Interesting slashdot effect by flacco · · Score: 4, Funny
    When I try to load the page, all I get is a blank screen with this across the top:

    Swimming poo

    Ick.

    --
    pr0n - keeping monitor glass spotless since 1981.
  20. Overkill by tkrotchko · · Score: 4, Interesting

    The problem with this system is that its automating something that is more easily handled by cheap mechanical devices. Mechanical autochlorinator technology is cheap and works.

    Most people think a pool with too much chlorine will have a "chlorine" smell and will irritate your eyes. This is a fallacy; pools get that funny smell because the available chlorine has been turned to chloramines. The only way to get rid of the chloramines is to add more chlorine. So ironically, a "chlorine" smell in a pool is a sign of poor maintence and NOT ENOUGH CHLORINE! Your eyes will not be irritated, your skin won't turn red, you won't be harmed by too much chlorine in a pool.

    Besides this is attacking the wrong problem. Keeping the proper chlorine levels in a pool with the proper chemistry is simple. Combined with the mechnical device I've already mentioned makes checking the chlorine levels a once-a-week chore for a residential pool. Its the least bothersome part of running a pool.

    The tricky part is the rest of the chemistry (particularly total alkalinity and pH). It can be done via automation, but there's no particular need to have a computer do it. Again, its a once-a-week check, and then you add small doses of chemicals at that time if it needs to be balanced. But the balance is critical to everything about the pool and the health of the people in it.

    The bottom line is that you have to check it once a week yourself anyway, regardless of the automation system. Spend your time swimming, not inventing the equivalent of an electric dog polisher.

    --
    You were mistaken. Which is odd, since memory shouldn't be a problem for you
    1. Re:Overkill by tkrotchko · · Score: 3, Informative

      In my experience, people who say this are intolerent to bad pH balance or chloramines. I've had people tell me that "they can't tolerate chlorine", and tell me my pool hardly has any chlorine.

      The truth is, I keep my pool chlorine levels relatively high. The trick is proper pH balance.

      Incidentally, I don't have any experience with Bacquil, but the people who I know that use it, I never like the clarity of the water.

      That's not a knock on anything, everybody keeps their pool the way they like it; we've been happy with chlorine (in fact, I had the ozone generator removed because I'm convinced residential ozone generators are useless).

      Pool season in only 3 1/2 months. Can't wait.

      --
      You were mistaken. Which is odd, since memory shouldn't be a problem for you
  21. Seems a bit pointless by Tony+Hoyle · · Score: 2

    After all, houses with pools generally don't sell for much less than half a million, so if you can afford something like that you can afford to hire a human to do the work of cleaning it for you (hell, you can probably afford to hire an army of topless models to do the cleaning for you!).

    1. Re:Seems a bit pointless by Quixote · · Score: 2

      After all, houses with pools generally don't sell for much less than half a million,

      You must be in the Bay Area...
      In the rest of the country (US), this isn't the case. You can buy a house with an outdoor pool for about $250K on average in "normal" areas.

    2. Re:Seems a bit pointless by cr0sh · · Score: 2

      Hell, here in Phoenix, it is even possible to do it for less - ok, maybe the house and pool aren't new, but tommorow I will be looking at a 3 bdr house w/covered RV parking, covered patio, and diving pool (ie, pool with 10 foot deep end) - and it is selling for "only" $120,000!!!

      --
      Reason is the Path to God - Anon
  22. Wheel re-invention by gruntvald · · Score: 2, Insightful

    When I got to the first part about not using X10, and making his own controller, (despite crud complaints about X10 stuff not being made for high voltages), I gave him the benefit of the doubt. When I got to the next part about not using a basic stamp either, I figured we were at the wheel re-invention stage, and lost interest. Not only that, it doesn't use sensors for chemical level detection ... oh well. However, this kind of stuff always has the potential for interest - folks - you might like homepower magazine too www.homepower.com - especially if you live are being shafted by California power policies right now!

  23. Aquarium maintenance by thing12 · · Score: 2

    There are lots of programs out there now that remind you when things need to be done in an aquarium -- but this kind of thing (not the one on his site, that's still open loop, it just acts on faith that the chemicals its adding are actually needed) would be very useful in aquarium maintenance, especially marine/reef aquariums. You could set up pH, specific gravity, etc... meters and based on those add chemicals and fresh water. Or you could run all those tests manually and have the system add the appropriate amounts based on the numbers you feed it. I'm sure large public aquariums run systems like this to keep things in check, but it would be cool to do it at home.

    1. Re:Aquarium maintenance by thing12 · · Score: 2

      An example of a commercial system... basically does all the stuff I want, I forgot all about these guys :-) Neptune Systems lots of cool toys to keep everything in check. It's not open source though, so you're kinda stuck with the interface they provide you.

  24. X10 Ads (a bit off-topic) by daviddennis · · Score: 2

    Worse yet, the ads are misleading. They imply that the quality of images produced by an X10 camera is adequate.

    Fry's had a demonstration of the XCam, and the picture was so fuzzy as to be virtually unusable. Even the voyueristic possibilities inherent in the X10 ads would be destroyed by the awful quality.

    You have been warned.

    D

  25. aquarium? by josepha48 · · Score: 2

    I wonder if I can do this with my aquariums? It would be nice to have the pH, ammonia, nitrites and nitrates, Kh and GK automagically measured or easily accessable. Rather than having to use drops for each test.

    --

    Only 'flamers' flame!

  26. But what about.. by Patrick+Cable+II · · Score: 2, Funny

    ... the gene pool?

    Too bad we cant have a linux box control that ;-)

    ..pcable

  27. Best pool I ever swam in... by cr0sh · · Score: 2

    Was a salt-water pool. The filtration/cleaning system was electrical based, and super simple looking and small to boot. The water was VERY gentle, you could easily open your eyes underwater without any burning, and when you got out, you weren't "sticky".

    Now, true - maybe a chlorine pool can be the same way with proper care and attention to everything - I don't know, I have never owned a pool. But I tell you, the cost in savings of chemicals alone for a salt water pool make it seem worth it (basically, you use big bags of salt, and a bit of electricity - cheap).

    --
    Reason is the Path to God - Anon
    1. Re:Best pool I ever swam in... by tkrotchko · · Score: 2

      An interesting thing that I've learned...the chemicals are the least expensive part of running a pool. The most expensive part (aside from equipment repairs) is the cost of electricity to run pumps. That adds about $40-60 a month in the summer.

      --
      You were mistaken. Which is odd, since memory shouldn't be a problem for you
  28. Least expense... by cr0sh · · Score: 2

    True, I would have to concede that running the pump is the most expensive thing, and you don't get away from that with a salt-water pool. I tend to wonder, though, whether you have to run a salt-water pool pump more or less? Would be something interesting and worthwhile to know, to say the least.

    Still, the advantages of simple salt over pool chemicals still make sense, if only for the simple reason that one is safer (overall - storage, transport, use) than the other (chlorine/acid vs salt)...

    --
    Reason is the Path to God - Anon