note : I am not an pool specialist, neither an IT developper, all informations i used is based on public pool information from specialist and homeasssitant examples .
if you see any mistakes or better way to do this , please let me know
1.purpose
Your mechanical pool programmer (like this one below ) need to be manually adapated seasonally
the purpose of this package is to remove this re-programation task by adding an automatic filtration duration based on temperature :
why not :
raspipool ? :
I started at first, by trying to implement this project , but the reliability and the cost of the probes scared me, so i preferred to start from scratch with something simple and not intrusive, that wil not play with the water alchimy.
(the switch.pool_pump can be in parrallel with existing mechanical pool programmer)
only one automation for start and stop (using delay) ?
i used this first , but the cycle can last hours, and âdelayâ donât survive a reboot of HA,
each day at input_datetime.pump_auto_start if input_boolean.auto_filtration is ON an automation will start the pump
as the pump is ON a sensor will be incremented , and when it reachs the duration defined by the chart , a second automation will stop the pump
the filtration duration is recalculated each time the temperature changes.
so , when the temperature rease during the day, it will adapt the filtration duration
from my github copy pool.yaml (and eventually pool_dummy.yaml to test it ) to your config/packages folder
replace switch.tz3000_pompe_piscine by your switch in pool.yaml
replace sensor.pool_water_temp_kalman by your water temperature sensor in pool.yaml and lovelace-card.yaml
restart HA
copy the two .Png images from www/IMG/ to your folder config/www/IMG
in a lovelace dashboard, add a card with the content of lovelace-card.yaml
edit dashboard
add a manual card
show code editor
paste the content of pool-lovelace-card.yaml and save
if you donât want to use your real switch and/or sensor, you can also install the pool_dummy.yaml package that will add :
input_number.dummy_temp_piscine : a dummy temperature input.
sensor.pool_water_kalman : a temperature sensor set by input_number.dummy_temp_piscine
switch.tz3000_pompe_piscine : a virtual pump switch.
4. usage
choose your mode
standard :
linear ratio based on oklyn reccomandations
abacus :
more complex equation based on jeedom plugin tips: click or long click on abacus graph to change ratio to 100 or 120 ( i use 120 )
select the pump filtration start hour
check if it works as expected
in addition you can also set the manual mode on and choose manually the filtration duration
hardware used and wiring
the idea was to keep the existing system and to add an automated switch.
so i wired my zigbee switch as an additional relay like this
Hello
Is it possible to recalculate during the day the â input_datetime.pump_auto_stopâ, because the temperature of my pool at start (temperature taken from my pool heater) is not relevant? Only few minutes after my pump pool starts, the temperature is good. And this temperature increases during the day. The auto filtration duration is good, but the time of the pump auto stop is not recalculate.
For example, this morning, the pool temperature was 9degrees =filtration 3hours. After pump pool start, the temperature increases to 14degrees, duration changes to 7,2hours (normal), but pump auto stop time has not changed (11:27)
hi,
actually i changed a little bit my automation, i order to stop the filtration when a duration is reached.
and the duration is calculated in real time, depending of the temperature, by a daily sensor
here is my new code ( i will update the github soon)
En tout cas, ça Ă lâair de fonctionner parfaitement.
Je lâai mĂȘme fait installer a une personne sur le groupe Home assistant francophone Facebook et Idem, ça fonctionne bien.
Si tu fais dâautres mises Ă jour, je suis preneur
- platform: statistics
name: "pool water temp avg"
entity_id: sensor.pool_water_temp_avg
state_characteristic: mean
max_age:
hours: 24
Autre question: peux t on trouver quelque part, lâheure Ă laquelle va sâarreter la filtration en mode auto? Plutot que de nâavoir que lâinformation sous forme : 7h de filtration
Hello
I am interested in automating my pool pump and light. I am at the very beginning of my research.
Can you post a picture or shema of your wiring @froggy.laurent ?