Skip to content
Swimming Pool Automation Systen with Raspberry Pi + Home Assistant
Python
Branch: master
Clone or download
segalion A new version of relay connections
This is an improved version, that simplifies the connections, add contactors with manual operation, and a sonoff POW R2 to power meassurements.
Latest commit 1834e49 Oct 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/atlas_scientific Add files via upload Aug 27, 2019
help/media A new version of relay connections Oct 8, 2019
packages/raspipool Delete test Aug 27, 2019
LICENSE Initial commit Aug 5, 2019
README.md Update README.md Sep 11, 2019
configuration.yaml Update configuration.yaml Aug 20, 2019
ui-lovelace.yaml Create ui-lovelace.yaml Aug 20, 2019

README.md

raspipool

Swimming-Pool Automation Systen with Raspberry Pi + Home Assistant

Overview:

A cost-effective, easy-to-build, easy-to-use "Swimming-Pool Automation System" with top functions to automate, control and monitorize (from web) small-medium size swimming pools.

  • Automatic filter control (fixed and dual-speed pumps, 1 or 2 daily cycles) based on temperature.
  • 3 sensors:
  • and minimun of 4 relays or 6 controlling :
    • pump on/off and pump speed (high/low)
    • muriatic acid injection (to regulate pH) and bleach injection (to mantain sanitization level)

System is intended to monitoring and automagically control most important functions and notify to mobile all possible events.

Build system:

Follow instructions in wiki howto build a bypass to connect sensors to the pool, howto connect sensors to the raspberry pi and howto connect relays between pumps and raspberry pi

Install

  1. Install hassbian in a raspberry pi (3 or 4), and give wifi connection. (If advanced user, you can instead install raspbian + Home Assistant with this prefered method)
  2. Copy 'custom_components', 'packages' folders (with all paths and contents) and 'ui-lovelace.yaml' frontend file in homeassistant conf_dir ( i.e. /home/homeassistant/.homeassistant/ ).
  3. Modify your 'configuration.yaml' (including ' packages: !include_dir_named packages', disabling automations, scripts and groups, discovery and lovelace in yaml mode) as example in code
  4. Create/modify proper 'secrets.yaml' for apis (latitude/longitude, pushbullet api, openweathermap api, etc).

TODO:

  • Correction of FC-ORP based on CYA (actually only linear correction)
  • SWC – Salt Water Chlorinator (instead of bleach injections)
  • Control Variable Speed Motor based on 3 digital inputs (0 to 7 speeds)
  • Integrate mega-io board (relays and ACD with i2c control) instead of actual gpio-relay HATs

Optional

For pumps <= 1.5 HP, a external sensor to measure power consumption and safe motor (based on sonoff POW)

Thanks to Hidromaster, Piscidoc, and all DIY enthusiasts from hablemosdepisicnas and TFP forums.

You can’t perform that action at this time.