Become a TFP Supporter Pool Math Forum Rules Pool School
Page 1 of 2 12 LastLast
Results 1 to 20 of 31

Thread: I created an App to control pool equipment with smartphone

  1. Back To Top    #1

    I created an App to control pool equipment with smartphone

    What's up everyone? I created an App that allows me to control my pool equipment from my smartphone. Right now it is set up to allow me to do the following:

    1. Turn the pool light off and on;
    2. Change the color of the pool light;
    3. Turn the fiber-optic lights off and on;
    4. Turn the pool pump off and on;
    5. Turn the polaris pool cleaner off and on.

    It's pretty nice since my pool equipment controls are located on the other end of the yard and I have to step through mulch and whatnot to access them. It's kind of a pain in the *** when you're barefoot (as I often am in the backyard).

    Anyway, here's a video showing it in action:

    http://www.youtube.com/watch?v=zzlHLsxw6GM

    Check it out!

    Kevin
    Attached Images Attached Images
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  2. Back To Top    #2
    jkurl's Avatar
    Join Date
    Aug 2012
    Location
    Fairfield, ca
    Posts
    141

    Re: I created an App to control pool equipment with smartpho

    Kevin,

    What did you use to tie into your equipment to allow you to use the app you created. I have the Jandy iaqualink but I am curious what setup you used to communicate w/ the equipment. Looks good. Can't wait to see more.


    Jerry

    Pool Size: 20 x 40 Free Form Inground Plaster Pool w/ a shallow cove.
    Gallons : ~23K Jandy CL580 Cartridge Filter, Jandy e-pump 1.5HP
    Polaris 280 w/ Booster Pump, AqualinkRS PDA4 Remote, Aqua-Pure SWG
    Jandy LED Pool Lights (2), Heliocol 500 Sq. Ft solar rack system

  3. Back To Top    #3

    Re: I created an App to control pool equipment with smartpho

    Hi... thanks.

    I used a Raspberry Pi... it's a small (and cheap) Linux based computer that costs approximately $35.00. I have everything set up over wifi, and I use a Linux program called WebIOPi, which allows control of the GPIO (general purposes input/output) terminals via a generic web-interface. I then used a small relay board, connected to the GPIO terminals so that I could switch each relay off and on via the WebIOPi interface. Then it was just a matter of customizing the web-interface with some CSS and HTML edits. I then bought the enclosure at Lowes for about $20.00.

    As far as wiring, I just ran the positive wire from whatever piece of equipment I wanted to turn off and on to the corresponding relay on the circuit board. The color-changing is done via the same method, but I have the relay set up to turn off for one second, and then back on, and then wait until the color cycles to the next color, and then flip off and back on again to keep the color.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  4. Back To Top    #4
    jkurl's Avatar
    Join Date
    Aug 2012
    Location
    Fairfield, ca
    Posts
    141

    Re: I created an App to control pool equipment with smartpho

    Kevin,

    Awesome. I am using a raspberryPI as my music streaming device by my pool. I have a 2.5" LCD screen being powered by the gpio. Can you take some pics of your setup sounds very useful for some ideas I have. Which pi os did you use?

    Jerry

    Pool Size: 20 x 40 Free Form Inground Plaster Pool w/ a shallow cove.
    Gallons : ~23K Jandy CL580 Cartridge Filter, Jandy e-pump 1.5HP
    Polaris 280 w/ Booster Pump, AqualinkRS PDA4 Remote, Aqua-Pure SWG
    Jandy LED Pool Lights (2), Heliocol 500 Sq. Ft solar rack system

  5. Back To Top    #5

    Re: I created an App to control pool equipment with smartpho

    Jerry,

    Thanks. The pictures are posted in the original post, but you need to be logged in to see them.

    I was looking for something cool to do with my Pi when it first arrived, and I considered using it for a wifi streaming device, but I already have a bluetooth adapter connected to my home stereo so I can stream music from my phone or tablet or whatever through my home theater system. I can then play it through my outdoor speakers. It's a nice setup, but the range on my bluetooth adapter sucks, so it doesn't always work well from my patio table or over by the pool.

    Anyway, I'm happy with this set up. I'm thinking about installing an outlet connected to my last two relays that are not in use, so I can have two auxiliary inputs that I could use to plug anything else into that I'd like to control wirelessly, such as my landscape lighting, or my water feature. The relays are rated at 16A @ 240Vs, so they can handle a pretty big load.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  6. Back To Top    #6
    jkurl's Avatar
    Join Date
    Aug 2012
    Location
    Fairfield, ca
    Posts
    141

    Re: I created an App to control pool equipment with smartpho

    I just added a relay in my aqualink power center box to run my landscape lighting. I installed breaker that hooks the hot side into the relay and then runs out to the gfci. The transformer is plugged into the gfci so I am cutting power to the gfci.

    I use Tapatalk so sometimes images don't show up on it.

    Pool Size: 20 x 40 Free Form Inground Plaster Pool w/ a shallow cove.
    Gallons : ~23K Jandy CL580 Cartridge Filter, Jandy e-pump 1.5HP
    Polaris 280 w/ Booster Pump, AqualinkRS PDA4 Remote, Aqua-Pure SWG
    Jandy LED Pool Lights (2), Heliocol 500 Sq. Ft solar rack system

  7. Back To Top    #7

    Re: I created an App to control pool equipment with smartpho

    Nice... that's basically what I'm looking to do.

    I just looked up some info on the aqualink setup you have... that's very nice... sort of the same thing I've done but more robust (and much sleeker ). I would like to incorporate a thermometer and maybe ph sensor so I can see my pool temperature and ph levels right from my phone on the same interface that I have now for my buttons. I'm just trying to figure out how to do it wirelessly from the pool to the Raspberry Pi. I was thinking about running a small wire out to my pool, but then that would be a PIA when closing the pool, or if the wire get's screwed up or whatever.

    Edit: By the way, you should log in via the web and check the pictures out... being a Raspberry Pi fan, you'll probably be impressed with the setup.
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  8. Back To Top    #8

    Join Date
    May 2013
    Location
    Massachusetts
    Posts
    146

    Re: I created an App to control pool equipment with smartpho

    Very cool, not sure if I'd need it, I'm not lazy enough to not walk my fat butt out to the Pool shed yet...

    However, if someone invents an automated way to test out your pool water and deliver the results via email, that person will be a millionaire.
    25,000 Gallons Inground, Gunite
    DE, Hayward Filter
    Loud pump
    Hayward navigator cleaner, leaf hose suction

  9. Back To Top    #9
    jkurl's Avatar
    Join Date
    Aug 2012
    Location
    Fairfield, ca
    Posts
    141

    Re: I created an App to control pool equipment with smartpho

    I did log in and look at it I post the last time. What a neat install and really like how you have it setup. Mine is in an old orbit sprinkler box. Saving some money to get a nice box w/ a couple of fans to combat some heat issues. The amp keeps the box a little warm and w/ the sun it makes more heat. Checkout raspbmc forum. I have seen some people on there talk about thermometer setups plus I have seen some on the raspberryPI forum as well. That would be super cool to see the thermometer communicate wirelessly.

    Pool Size: 20 x 40 Free Form Inground Plaster Pool w/ a shallow cove.
    Gallons : ~23K Jandy CL580 Cartridge Filter, Jandy e-pump 1.5HP
    Polaris 280 w/ Booster Pump, AqualinkRS PDA4 Remote, Aqua-Pure SWG
    Jandy LED Pool Lights (2), Heliocol 500 Sq. Ft solar rack system

  10. Back To Top    #10

    Re: I created an App to control pool equipment with smartpho

    This looks like a project I would really enjoy!! Thanks for posting it!!

    Are your pump motors 120v or 240v? Have you bypassed the intermatic timers altogether and use the Raspberry Pi to control the on/off time everyday?
    23,000 IG Plaster pool w/ spa, Pentair FNS Plus 48 DE Filter, Hayward RS1000 Main pump, Polaris booster pump, CPSC48 SWG, Legend pool sweep. Dallas, Texas, Full sun, Taylor K-2006

  11. Back To Top    #11

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by jkurl
    I did log in and look at it I post the last time. What a neat install and really like how you have it setup. Mine is in an old orbit sprinkler box. Saving some money to get a nice box w/ a couple of fans to combat some heat issues. The amp keeps the box a little warm and w/ the sun it makes more heat. Checkout raspbmc forum. I have seen some people on there talk about thermometer setups plus I have seen some on the raspberryPI forum as well. That would be super cool to see the thermometer communicate wirelessly.

    Sent from my HTC One using Tapatalk 2
    Thanks... I was worried about heat issues, especially because the box is sealed, but so far, so good. I thought about adding ventilation, but that would complicate the weatherproofing issues. Everything runs pretty cool but in the hot sun I may have issues. The good thing is this area on my house never gets direct sunlight... it's always in the shade.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  12. Back To Top    #12

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by rdhetrick
    This looks like a project I would really enjoy!! Thanks for posting it!!

    Are your pump motors 120v or 240v? Have you bypassed the intermatic timers altogether and use the Raspberry Pi to control the on/off time everyday?
    Hi... the pumps are 120v, but the relays can switch up to 16A at 240v, so either way it would work. Good question on the timers... I haven't actually decided yet. When I first set out on this project, my plan was to bypass the intermatic timers entirely and use a javascript interface so I could set the on/off times via my webapp. I've since backed off of that idea since I'm kind of favoring the simplicity of the intermatic timers. I may end up just splitting the line from the main breaker and running one of the hots to the timer and one to a relay... that way I could still use the timers, but I could manually turn the pumps off and on from my phone if I wanted (like when you just want to run the pumps for a little while in the evening after adding chlorine or if you have a water feature hooked up to a return jet). Right now the pumps are not hooked up to the relays.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  13. Back To Top    #13
    jkurl's Avatar
    Join Date
    Aug 2012
    Location
    Fairfield, ca
    Posts
    141

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by kodiak1120
    Thanks... I was worried about heat issues, especially because the box is sealed, but so far, so good. I thought about adding ventilation, but that would complicate the weatherproofing issues. Everything runs pretty cool but in the hot sun I may have issues. The good thing is this area on my house never gets direct sunlight... it's always in the shade.

    Kevin
    If it is not getting direct sunlight you should be good. I had to move my box it gets direct sunlight for only 25% of the day if that. It was in direct sunlight most of the day and the pi was getting well over its op temp and never missed a beat. There is a router box w/ fans I want but is about $150-$200.
    Pool Size: 20 x 40 Free Form Inground Plaster Pool w/ a shallow cove.
    Gallons : ~23K Jandy CL580 Cartridge Filter, Jandy e-pump 1.5HP
    Polaris 280 w/ Booster Pump, AqualinkRS PDA4 Remote, Aqua-Pure SWG
    Jandy LED Pool Lights (2), Heliocol 500 Sq. Ft solar rack system

  14. Back To Top    #14

    Re: I created an App to control pool equipment with smartpho

    You bring up a good point... I should be monitoring the temps inside the box when it's hot out... just because it's not malfunctioning doesn't mean it's not getting too hot. Next time I'm home during the day, I'll check my temps and see what I get.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  15. Back To Top    #15

    Re: I created an App to control pool equipment with smartpho

    As an update, I have't had any heat-related issues although this weather we're having should put that to the test. So far the system has worked flawlessly since it was installed about a month ago. It's really nice being able to turn off my pool light from inside my house without having to trek through my yard and mulch.

    Kevin
    ---
    30,000 gallon vinyl pool
    Hayward DE Filter
    Hayward Super Pump
    AO Smith 1 1/2 HP Pump (27GPM)
    Polaris 380 Pool Cleaner

    Check out the app I created to control my pool equipment from my smartphone:
    i-created-an-app-to-control-pool-equipment-with-smartphone-t61606-20.html

  16. Back To Top    #16

    Join Date
    May 2011
    Location
    Orange County, CA
    Posts
    696

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by kodiak1120
    Quote Originally Posted by rdhetrick
    This looks like a project I would really enjoy!! Thanks for posting it!!

    Are your pump motors 120v or 240v? Have you bypassed the intermatic timers altogether and use the Raspberry Pi to control the on/off time everyday?
    Hi... the pumps are 120v, but the relays can switch up to 16A at 240v, so either way it would work. Good question on the timers... I haven't actually decided yet. When I first set out on this project, my plan was to bypass the intermatic timers entirely and use a javascript interface so I could set the on/off times via my webapp. I've since backed off of that idea since I'm kind of favoring the simplicity of the intermatic timers. I may end up just splitting the line from the main breaker and running one of the hots to the timer and one to a relay... that way I could still use the timers, but I could manually turn the pumps off and on from my phone if I wanted (like when you just want to run the pumps for a little while in the evening after adding chlorine or if you have a water feature hooked up to a return jet). Right now the pumps are not hooked up to the relays.

    Kevin

    You could indeed switch a 240V pump with those relays, but I would think there would be a safety issue with SPST relays. For 240V, you combine two 120V hots, and only one side would be switched by the relay. This would mean that the unswitched side would be at 120V over neutral/ground. This would certainly be a safety issue if anyone were to contact one of those hot wires when they thought the system was "off." It would be better to use a DPST relay so that both hot legs would be disconnected from the pump, heater, etc.

    BTW, what a very cool system. I had thought about doing this myself a couple of years ago, but didn't want to have to do all of the hardware work. With an RPi and one of these relay boards, it is amazing to see what can now be done. Now to just throw in some sort of flow meter, pressure sensors, pH and ORP sensors and you could truly have a Trouble Free Pool!
    38K in ground pool with attached spa. Current equipment: Easytouch 8 (521150) with IC-60 SWCG with web control by Autelis, 1x Pentair IntelliFlo 011018 pump (for filter), 1x Pentair 2HP WhisperFlo pump (for waterfall), 2X Pentair IntelliBrite 5G 12V lights, Pentair MiniMax400 NG Heater, Pentair SMBW2060 DE filter. Zodiac Barracuda MX8 cleaner on dedicated cleaner line. Lighting/home automation controlled by Insteon/ISY-99i.

  17. Back To Top    #17

    Join Date
    Jun 2013
    Location
    Huffman Tx
    Posts
    190

    Re: I created an App to control pool equipment with smartpho

    great ,now im gonna need an I phone. I'm handy but the rasberry wiring part gets me . looks like clean simple build . can we get a diagram of the rasberry wiring connections ?

  18. Back To Top    #18

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by CraigMW
    Quote Originally Posted by kodiak1120
    Quote Originally Posted by rdhetrick
    This looks like a project I would really enjoy!! Thanks for posting it!!

    Are your pump motors 120v or 240v? Have you bypassed the intermatic timers altogether and use the Raspberry Pi to control the on/off time everyday?
    Hi... the pumps are 120v, but the relays can switch up to 16A at 240v, so either way it would work. Good question on the timers... I haven't actually decided yet. When I first set out on this project, my plan was to bypass the intermatic timers entirely and use a javascript interface so I could set the on/off times via my webapp. I've since backed off of that idea since I'm kind of favoring the simplicity of the intermatic timers. I may end up just splitting the line from the main breaker and running one of the hots to the timer and one to a relay... that way I could still use the timers, but I could manually turn the pumps off and on from my phone if I wanted (like when you just want to run the pumps for a little while in the evening after adding chlorine or if you have a water feature hooked up to a return jet). Right now the pumps are not hooked up to the relays.

    Kevin

    You could indeed switch a 240V pump with those relays, but I would think there would be a safety issue with SPST relays. For 240V, you combine two 120V hots, and only one side would be switched by the relay. This would mean that the unswitched side would be at 120V over neutral/ground. This would certainly be a safety issue if anyone were to contact one of those hot wires when they thought the system was "off." It would be better to use a DPST relay so that both hot legs would be disconnected from the pump, heater, etc.

    BTW, what a very cool system. I had thought about doing this myself a couple of years ago, but didn't want to have to do all of the hardware work. With an RPi and one of these relay boards, it is amazing to see what can now be done. Now to just throw in some sort of flow meter, pressure sensors, pH and ORP sensors and you could truly have a Trouble Free Pool!

    11,000 gal. gunite w/midnight blue and white pearl PebbleTec
    Intelliflo 4x160 pump
    Intellichlor IC-20 SWG
    Pentair cartridge filter 420 sq. ft.
    Mastertemp 400K BTU heater
    Legend Platinum cleaner
    Pool School
    JasonLion's Pool Calculator
    TF Test Kits

  19. Back To Top    #19

    Re: I created an App to control pool equipment with smartpho

    Quote Originally Posted by CraigMW
    Quote Originally Posted by kodiak1120
    Quote Originally Posted by rdhetrick
    This looks like a project I would really enjoy!! Thanks for posting it!!

    Are your pump motors 120v or 240v? Have you bypassed the intermatic timers altogether and use the Raspberry Pi to control the on/off time everyday?
    Hi... the pumps are 120v, but the relays can switch up to 16A at 240v, so either way it would work. Good question on the timers... I haven't actually decided yet. When I first set out on this project, my plan was to bypass the intermatic timers entirely and use a javascript interface so I could set the on/off times via my webapp. I've since backed off of that idea since I'm kind of favoring the simplicity of the intermatic timers. I may end up just splitting the line from the main breaker and running one of the hots to the timer and one to a relay... that way I could still use the timers, but I could manually turn the pumps off and on from my phone if I wanted (like when you just want to run the pumps for a little while in the evening after adding chlorine or if you have a water feature hooked up to a return jet). Right now the pumps are not hooked up to the relays.

    Kevin

    You could indeed switch a 240V pump with those relays, but I would think there would be a safety issue with SPST relays. For 240V, you combine two 120V hots, and only one side would be switched by the relay. This would mean that the unswitched side would be at 120V over neutral/ground. This would certainly be a safety issue if anyone were to contact one of those hot wires when they thought the system was "off." It would be better to use a DPST relay so that both hot legs would be disconnected from the pump, heater, etc.

    BTW, what a very cool system. I had thought about doing this myself a couple of years ago, but didn't want to have to do all of the hardware work. With an RPi and one of these relay boards, it is amazing to see what can now be done. Now to just throw in some sort of flow meter, pressure sensors, pH and ORP sensors and you could truly have a Trouble Free Pool!

    11,000 gal. gunite w/midnight blue and white pearl PebbleTec
    Intelliflo 4x160 pump
    Intellichlor IC-20 SWG
    Pentair cartridge filter 420 sq. ft.
    Mastertemp 400K BTU heater
    Legend Platinum cleaner
    Pool School
    JasonLion's Pool Calculator
    TF Test Kits

  20. Back To Top    #20

    Re: I created an App to control pool equipment with smartpho

    Great Job... I'm about to do the same... However i'm going to use arduino and then bring that into the Pi for the inputs... As I want the Temp/Flo Sensors and the ph sensors.. there's already a ton for android and the code exists so I wouldn't end up rewriting for pi.

    I like your simple relay setup... I'll have a look for a multi relay board like that.. could be really useful.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •