Raspberry Pi for pool monitoring?

lukeyn

0
Apr 15, 2015
182
Houston Ohio
Pool Size
27000
Surface
Vinyl
Chlorine
Salt Water Generator
SWG Type
CircuPool Universal40
Any IT guys thought about using a Raspberry pi for any type of pool monitoring, ie. Temps, chlorination levels, etc. I'm out of any free time right now, but I like the idea.

Sent from my SAMSUNG-SM-G870A using Tapatalk
 
There are at least a couple members who have tried to do something like this.

Maintain reasonable expectations ... turning on/off the pump and lights, checking temps and maybe turning valves is easy. Monitoring chemical levels is not easy or cheap or very reliable.
 
I'm not an IT guy, but monitoring could even be done with a simple microcontroller, which could also send texts, emails, etc. The issue with the Pi would simply be an issue with the sensor(s), such as ORP, that require maintenance to stay accurate / meaningful. There are amperometric chlorine sensors out there but cost and periodic recalibration would be issues with those.
 
I know that sensor is, but I know the swg systems are a lot cheaper than that so the sensors for those, has to be sub 500

Sent from my SAMSUNG-SM-G870A using Tapatalk
 
Swg do not really have a sensor for FC. They only monitor the resistance in the water and the temperature of the water and have a look up table that estimates the salt level. That is all.

There are separate additional ORP sensors that attempt to estimate the FC level, but they are sensitive to other things in the water that can make them inaccurate.
 
I am about to start a home project based upon Raspberry Pi for my own monitoring and automation. I have no experience with the pi, but over 20 yrs in embedded programming, so thought it would be fun project. I plan to initially control my SWG and pump. Will add a group of weather sensors - temp, humidity, barometer, rain detection, ...

I hope to get access to SWG's data, such as water temp, salinity and ph/orp values when I add those next spring.

Will use wifi to connect to network so can use phone or pc with web interface to monitor/control, and have it send alerts for events I set up.

Getting components for Christmas (present from my wife - well I'll get them and she will wrap :D). Want to complete before pool season.
 

Enjoying this content?

Support TFP with a donation.

Give Support
I just tossed a Raspberry Pi (old model 1b) into my control system and with the help of influxdb and grafana I have beautiful graphs and can control my pool quite nicely. Here are the details:
- Raspberry Pi - running raspbian
- rs485 shield (for GPIO serial)
- connected to a Pentair EasyTouch system control via the "com" port (just +/- rs485 feeds)
- separate ubuntu 16.04 server (actually Zentyal for home domain controller)
- on this server sits influxdb and Grafana - the dynamic duo for DYI awesome time based data graphing

On the Raspberry Pi I run two "services" (both actually pretty hacked together ruby scripts right now that I run in separate "screens" with good'ol linux screen)... one to read all data on the rs485 serial and send all stats I have it set to catch to influxdb. Second is a service I call "send_to_pool" which is just a very light weight http server that takes in webservice like commands... creates the hex data commands to send over the rs485 and returns the most basic statements back. I'm trying to make the Pi as "dumb" as possible and just really working as a blind layer between my Grafana/influxdb front end and the pool equipment.

On the Ububtu side I have Grafana graphing everything in influxdb (temps, heater, modes, pump watts/rpms, etc.) I then created the cheesiest html panels with some very basic on/off controls for various things.

I'm currently taking my franken-code "script" and turning it into a good library I plan to toss up on github.

Grafana_-_Pool_Stats.jpg

I'm out about $25 for the Pi and $10 for the rs485 shield - only been going for about a week now and just got the controls working yesterday even.

With all of that... I would highly recommend the use of a Raspberry Pi for a pool control system!
 
I like it! I have a little project where I'm building the Lost in Space robot with a bunch of environmental sensors (he was an Environmental Control Robot on the show). Maybe I should think about linking him to a pool controller via wifi or Bluetooth...
 
I didn't really care about warranty... in fact (and to my wife's displeasure) I had originally done this with my PL4 system and connected a cable wrong thus completely frying the board. I "upgraded" to straight EasyTouch and now with the rs485 connected properly everything is working... albeit $330 in the hole... I just don't talk about that mistake much and my wife is quite pleased with the final end result... which is looking much better and works much better:

Grafana_-_Pool_Stats 1.jpg

Grafana_-_Pool_Stats 2.jpg

And it looks/functions great from our iPhones - and remotely too when we VPN in:
Grafana_-_Pool_Stats 3.jpg
 
I am very interested in doing the Raspberry Pi HTTP interface for my Pentair pool system...

My current plan is to get a Pi3 + RS485 and hook it up in my Pentair Easytouch PL4 panel.
Pi would connect to my wireless internet via 802.11.

I haven't poked around in the panel yet, but am curious about getting power in the panel to the Pi. How is that accomplished?
 
I am very interested in doing the Raspberry Pi HTTP interface for my Pentair pool system...

My current plan is to get a Pi3 + RS485 and hook it up in my Pentair Easytouch PL4 panel.
Pi would connect to my wireless internet via 802.11.

I haven't poked around in the panel yet, but am curious about getting power in the panel to the Pi. How is that accomplished?
Pi's run off 5.1V DC, same Micro USB interface as Android phones.

I imagine many control systems have DC output either at 5.1V or 12V which you could reduce to 5.1V, otherwise 120v inverters are cheap and plentiful (literally any cell phone charger), you just need to make sure you waterproof everything properly.
 

Enjoying this content?

Support TFP with a donation.

Give Support
Thread Status
Hello , This thread has been inactive for over 60 days. New postings here are unlikely to be seen or responded to by other members. For better visibility, consider Starting A New Thread.