Go Down

Topic: PoolMaster: a comprehensive and smart home-pool automation system (Read 9916 times) previous topic - next topic

Loulou74

Hey folks,

I'd like to present the solution I developped to regulate and monitor my pool.

The full project can be found here:

https://github.com/Loic74650/PoolMaster


Brief description:

Three main metrics are measured and periodically reported over MQTT and an LCD screen: water temperature, PH and ORP values.

Pumps states, tank-level states and other paramters are also periodically reported.
Two PID regulation loops are running in parallel: one for PH, one for ORP.

PH is regulated by injecting Acid from a tank into the pool water (a relay starts/stops the Acid peristaltic pump).
ORP is regulated by injecting Chlorine from a tank into the pool water (a relay starts/stops the Chlorine peristaltic pump).
Defined time-slots and water temperature are used to start/stop the filtration pump for a daily given amount of time (a relay starts/stops the filtration pump).
A lightweight webserver provides a simple dynamic webpage with a summary of all system parameters. An XML file with more info is available at http://ARDUINO_LOCAL_IP/Info.
Communication with the system is performed using the MQTT protocol over an Ethernet connection to the local network/MQTT broker.

pert

It looks very nice. Thanks for sharing!
Loulou74's pictures:


Loulou74

Thanks Pert (and wow, that's a *large* Git you have)
I did not know we could integrate the pics intot he posts, thank you

pert

Quote
wow, that's a *large* Git you have
I've done a lot of pull requests this year! Unfortunately some people are very slow to merge them so I have a big collection of forks.

I did not know we could integrate the pics intot he posts
It's a little more tricky than it ought to be. Here's a guide for how to do it:
http://forum.arduino.cc/index.php?topic=364156

Loulou74

Hello Folks,

Small update on my pool-monitoring system.

- code now directly compiles for both Controllino or Arduino Mega2560 hardwares. Simply select the hardware you have in the IDE prior to compiling.

- example below of an integration of the system into a cloud-based smartphone app (Blynk) via Mosquitto and NodeRed.

- new LCD screens with added water pressure monitoring


Happy Spring





Loulou74

Small update of the project with a Grafana dashboard example:


SuperScuffer

This looks like a very neat project, thanks for sharing it with us - I'm researching doing something similar for my pool - how have you found the system during the year or so you have had it in operation?

Has it proven reliable and how much maintenance has the system required?  Has the Arduino run without crashing during this period?

TIA

Loulou74

This looks like a very neat project, thanks for sharing it with us - I'm researching doing something similar for my pool - how have you found the system during the year or so you have had it in operation?

Has it proven reliable and how much maintenance has the system required?  Has the Arduino run without crashing during this period?

TIA
Thank you @SuperScuffer
System has proven very reliable and my water has never been so clear without even needing to shock it in Spring, so I am very happy with it. Glad I ditched the commercial system I had before :)

On the negative side it remains a complex system which requires an MQTT broker on your LAN or in the cloud and an MQTT client (eg. MQTT.fx or a Home Automation system) to send the required commands for calibrating probes once in a while for instance, so not for everyone. I am considering adding a touch screen interface to make the system more autonomous and easier to use

cdelasablonniere

Congratulation on your project, it is awesome.

I am building my own PH/ORP/Temperature reader for my pool, and I would be interested to see how your probes are installed.

I mean did you use some sort of PVC probe holders?

If you could post pictures of your pipe setup it would be appreciated.



Thanks for your help,

Charles

Loulou74

Congratulation on your project, it is awesome.

I am building my own PH/ORP/Temperature reader for my pool, and I would be interested to see how your probes are installed.

I mean did you use some sort of PVC probe holders?

If you could post pictures of your pipe setup it would be appreciated.



Thanks for your help,

Charles
Thank you Charles.
The probes are mounted in flow chambers such as these, ie. not on the pipes.

Loulou74

Greetings all,

Update on the project: I just released version 5.0.0 of PoolMaster, new features are:

* LCD display and push-button replaced by a Nextion TFT touch-screen (see screenshots below)
* Daily synchronization of RTC with a time server if ethernet connection available
* example of NodeRed dashboard
* added ethernet connectivity setup webpage accessible at http://PoolMaster.local (in an MDNS / Bonjour! enabled environment/browser)
* new API commands
* All MQTT publishes are now in retain mode in order to sync more efficiently MQTT clients with the controller

Many thanks to @bbwouters and @sylvaing for their contributions









Go Up