Water (Pool) Temperature Sensor
Moderators: leecollings, remb0
-
- Posts: 1
- Joined: Thursday 12 January 2017 20:07
- Target OS: NAS (Synology & others)
- Domoticz version: 3.6332
- Location: Zurich
- Contact:
Water (Pool) Temperature Sensor
Hi
has someone experience with water temperature sensors to measure the pool temperature?
or even further: get values of chlorine, pH, temperature
my goal is to get / feed this information into domoticz preferable by z-wave...
currently running synology NAS with domoticz 3.6332
miji
has someone experience with water temperature sensors to measure the pool temperature?
or even further: get values of chlorine, pH, temperature
my goal is to get / feed this information into domoticz preferable by z-wave...
currently running synology NAS with domoticz 3.6332
miji
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Hello !
I have experience with that sensor https://www.amazon.com/SODIAL-Thermomet ... B00SMCB912
I got it since last may in my swimming pool. It's read fine with rfxcom, with a pretty good range : rfxcom is inside the house, in the center of it and swimming pool is ~ 20m away from the house. It still have it's original batteries. One must take care of improving the original sealing before putting it in the water, and the internal condensation damaged the local screen. But the transmitting function still works fine. It needs to be calibrated to get the real temperature, but that's not a problem with domoticz. I'm using it for domoticz to control the duration of filtration of the swimming pool. Coupled with my weather station, it also start the pump if the air temperature goes below zero to prevent everything from freezing.
For this summer, I have the project to improve the setup with orp regulation (chlorine measurement + dosing pump). it's still a project, but here is the hardware I already identified for this :
- Local control : a wemos d1 mini pro with esp easy firmware and external wifi antenna as I have bad wifi reception inside of the pump cabinet
- dosing pump : http://www.banggood.com/12V-DC-Dosing-P ... 31333.html This pump delivers 1ml/s so it's easy to dose precisely but maybe to slow for the actual quantity of chlorine needed. We will see with real run. The DC motors creates a lot of electromagnetic interferences and need to be anti-parasited by yourself to be usable with electronics nearby. So it's maybe not the right choice.
- ORP measurment : http://www.phidgets.com/docs/1130_User_Guide with a generic orp probe from ebay The same card can do also for pH with a different setup.
- Analog interface to wemos : as wemos have only 1 analog input and this project will need 2 (ph + orp), I'll use this interface card http://www.banggood.com/CJMCU-ADS1115-1 ... 86645.html
That's it for the moment, if you guys are interested in that project, just say it, i'll update the post when I move forward
I have experience with that sensor https://www.amazon.com/SODIAL-Thermomet ... B00SMCB912
I got it since last may in my swimming pool. It's read fine with rfxcom, with a pretty good range : rfxcom is inside the house, in the center of it and swimming pool is ~ 20m away from the house. It still have it's original batteries. One must take care of improving the original sealing before putting it in the water, and the internal condensation damaged the local screen. But the transmitting function still works fine. It needs to be calibrated to get the real temperature, but that's not a problem with domoticz. I'm using it for domoticz to control the duration of filtration of the swimming pool. Coupled with my weather station, it also start the pump if the air temperature goes below zero to prevent everything from freezing.
For this summer, I have the project to improve the setup with orp regulation (chlorine measurement + dosing pump). it's still a project, but here is the hardware I already identified for this :
- Local control : a wemos d1 mini pro with esp easy firmware and external wifi antenna as I have bad wifi reception inside of the pump cabinet
- dosing pump : http://www.banggood.com/12V-DC-Dosing-P ... 31333.html This pump delivers 1ml/s so it's easy to dose precisely but maybe to slow for the actual quantity of chlorine needed. We will see with real run. The DC motors creates a lot of electromagnetic interferences and need to be anti-parasited by yourself to be usable with electronics nearby. So it's maybe not the right choice.
- ORP measurment : http://www.phidgets.com/docs/1130_User_Guide with a generic orp probe from ebay The same card can do also for pH with a different setup.
- Analog interface to wemos : as wemos have only 1 analog input and this project will need 2 (ph + orp), I'll use this interface card http://www.banggood.com/CJMCU-ADS1115-1 ... 86645.html
That's it for the moment, if you guys are interested in that project, just say it, i'll update the post when I move forward
-
- Posts: 16
- Joined: Sunday 22 January 2017 15:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Water (Pool) Temperature Sensor
Hi all,
(hi, french guy too).
I'm using a RFXCom with the last firmware, rubiscon activated but i can't see the swimming pool 433 temperature.
I have buy this one, which seems be the same as amazon link...
https://fr.aliexpress.com/item/2015-Wir ... 0.0.6mfqO6
https://i.imgur.com/Umb2Urt.png
https://i.imgur.com/jIhyKIU.png
I have activated Rubiscon protocol and set mode, but i found anything in the Sensors list used or not used of course !
Do I need to configure something or try it differently ? I try it with 2 meters distance and the base (screen) will receive the temperature from the sensor...
Or for 15€, i will buy the product...
(hi, french guy too).
I'm using a RFXCom with the last firmware, rubiscon activated but i can't see the swimming pool 433 temperature.
I have buy this one, which seems be the same as amazon link...
https://fr.aliexpress.com/item/2015-Wir ... 0.0.6mfqO6
https://i.imgur.com/Umb2Urt.png
https://i.imgur.com/jIhyKIU.png
I have activated Rubiscon protocol and set mode, but i found anything in the Sensors list used or not used of course !
Do I need to configure something or try it differently ? I try it with 2 meters distance and the base (screen) will receive the temperature from the sensor...
Or for 15€, i will buy the product...
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
There are a few of them out there looking the same but with different electronic. You have to look at the back of the indoor unit to make the difference. In a few days I'll be back home, I'll post a photo of mine. It's not the only one who works with rfxcom though
-
- Posts: 16
- Joined: Sunday 22 January 2017 15:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Water (Pool) Temperature Sensor
That's interesting. Maybe the hardware inside has been changed this is why I can't use it.
When you say that is not the only one that I can use with rfxcom can you give me models cheaper than Oregon or products too much expensive!
In other case I will try to do mine.
Envoyé de mon Moto G (4) en utilisant Tapatalk
When you say that is not the only one that I can use with rfxcom can you give me models cheaper than Oregon or products too much expensive!
In other case I will try to do mine.
Envoyé de mon Moto G (4) en utilisant Tapatalk
-
- Posts: 22
- Joined: Wednesday 08 April 2015 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Canada
- Contact:
Re: Water (Pool) Temperature Sensor
Hi aleph0aleph0 wrote:Hello !
I have experience with that sensor https://www.amazon.com/SODIAL-Thermomet ... B00SMCB912
I got it since last may in my swimming pool. It's read fine with rfxcom, with a pretty good range : rfxcom is inside the house, in the center of it and swimming pool is ~ 20m away from the house. It still have it's original batteries. One must take care of improving the original sealing before putting it in the water, and the internal condensation damaged the local screen. But the transmitting function still works fine. It needs to be calibrated to get the real temperature, but that's not a problem with domoticz. I'm using it for domoticz to control the duration of filtration of the swimming pool. Coupled with my weather station, it also start the pump if the air temperature goes below zero to prevent everything from freezing.
For this summer, I have the project to improve the setup with orp regulation (chlorine measurement + dosing pump). it's still a project, but here is the hardware I already identified for this :
- Local control : a wemos d1 mini pro with esp easy firmware and external wifi antenna as I have bad wifi reception inside of the pump cabinet
- dosing pump : http://www.banggood.com/12V-DC-Dosing-P ... 31333.html This pump delivers 1ml/s so it's easy to dose precisely but maybe to slow for the actual quantity of chlorine needed. We will see with real run. The DC motors creates a lot of electromagnetic interferences and need to be anti-parasited by yourself to be usable with electronics nearby. So it's maybe not the right choice.
- ORP measurment : http://www.phidgets.com/docs/1130_User_Guide with a generic orp probe from ebay The same card can do also for pH with a different setup.
- Analog interface to wemos : as wemos have only 1 analog input and this project will need 2 (ph + orp), I'll use this interface card http://www.banggood.com/CJMCU-ADS1115-1 ... 86645.html
That's it for the moment, if you guys are interested in that project, just say it, i'll update the post when I move forward
I'll be interested to now more about your setup, especially PH reading/configuration in espeasy-domoticz, let us know!
Vic
-
- Posts: 90
- Joined: Sunday 20 March 2016 18:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: LA, Ca USA
- Contact:
Re: Water (Pool) Temperature Sensor
I've been thinking about getting a Stenner pump, and doing something like this
https://www.troublefreepool.com/threads ... p-injector
Not cheap, but Stenner pumps are supposed to last, and if they fail there are rebuild kits.
Chlorine is nasty stuff, so it will break the pump eventually.
The little dosing pump would work if you inject directly into the pool, but I don't have a good way to do that.
I want to inject at the output of my pump, and you need a bigger pump to overcome the pool pump pressure.
Randy
https://www.troublefreepool.com/threads ... p-injector
Not cheap, but Stenner pumps are supposed to last, and if they fail there are rebuild kits.
Chlorine is nasty stuff, so it will break the pump eventually.
The little dosing pump would work if you inject directly into the pool, but I don't have a good way to do that.
I want to inject at the output of my pump, and you need a bigger pump to overcome the pool pump pressure.
Randy
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Well, it's all depends where you install the injection : If you install it at the suction part of the circulation pump, you'll be in under-pressure, means the main pump will help the peristaltic pump to inject chlorine. As those pump are sealed, there are no risk to suck too much chlorine trough the peristaltic pump when it's stopped. Also, the chlorine is never in contact with any part of the pump, as some rollers press the tube to circulate the fluid. So only the tube has to be chlorine resistant. And this can be changed easily if it doesn't come with the right tube. Considering the difference of price, it's worth giving the little pump a try !randytsuch wrote:I've been thinking about getting a Stenner pump, and doing something like this
https://www.troublefreepool.com/threads ... p-injector
Not cheap, but Stenner pumps are supposed to last, and if they fail there are rebuild kits.
Chlorine is nasty stuff, so it will break the pump eventually.
The little dosing pump would work if you inject directly into the pool, but I don't have a good way to do that.
I want to inject at the output of my pump, and you need a bigger pump to overcome the pool pump pressure.
Randy
My setup is in place since the beginning of April only, so I cannot give any feedback yet regarding the life span of the little pump. It's working only a few minutes a day, so I have good hope. So far, it's doing the job fine

-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Ok, so here is an update of this project :
I got it installed at the pool at the beginning of April ; so far it's working quite well with a few adjustments still to be done for a better stability.
The main functions are those ones :
- Manage the filtration pump according to the water temperature and the air temperature when it goes below 0°C
- Follow-up redox and pH of the pool
- make an automatic regulation of the redox with chlorine injection with a peristaltic pump
- (next stop) make an automatic regulation of the pH with acid injection with another peristaltic pump
- Monitor the run of the pump with a flow meter : Notification to clean the filters if the flow is low enough and stop of the pump if it's very low (air intake...)
- notification when it's time to refill chlorine tank
As stated in the first post, the local stuff will be connected to a wemos running espeasy and the calculations will be made in domoticz. Domoticz will control dosing pumps with "Longpulse" commands of espeasy so that if communication is lost between domoticz and the wemos after starting the chlorine pump, the wemos knows when to stop on its own.
I've used the following hardware :
- 2A 5V power supply for wemos and electronic
- 2A 12V power supply for the peristaltic pumps
- wemos pro with external antenna as wifi is not present in the pump cabinet
- level shifter for conversion between 5V of sensors and 3.3V of wemos
- ADS1115 analog input card for pH and ORP measurments
- phidget 1130 card for pH and OPR aquisition
- generic pH probe from banggoods
- generic ORP probe from ebay
- calibration solutions for both pH and ORP
- YF-DN40 flowmeter
- 4 relays output board, isolated with optocouplers
The electronic wiring diagram is this one (well, will be after addition of the second pump. So far I have only one pump) :

Sorry guys that the diagram is in french !! Here are some hints : débitmètre=flowmeter ; sonde=probe ; dosage=dosing ; prise=plug ... that's shall be all !
I got it installed at the pool at the beginning of April ; so far it's working quite well with a few adjustments still to be done for a better stability.
The main functions are those ones :
- Manage the filtration pump according to the water temperature and the air temperature when it goes below 0°C
- Follow-up redox and pH of the pool
- make an automatic regulation of the redox with chlorine injection with a peristaltic pump
- (next stop) make an automatic regulation of the pH with acid injection with another peristaltic pump
- Monitor the run of the pump with a flow meter : Notification to clean the filters if the flow is low enough and stop of the pump if it's very low (air intake...)
- notification when it's time to refill chlorine tank
As stated in the first post, the local stuff will be connected to a wemos running espeasy and the calculations will be made in domoticz. Domoticz will control dosing pumps with "Longpulse" commands of espeasy so that if communication is lost between domoticz and the wemos after starting the chlorine pump, the wemos knows when to stop on its own.
I've used the following hardware :
- 2A 5V power supply for wemos and electronic
- 2A 12V power supply for the peristaltic pumps
- wemos pro with external antenna as wifi is not present in the pump cabinet
- level shifter for conversion between 5V of sensors and 3.3V of wemos
- ADS1115 analog input card for pH and ORP measurments
- phidget 1130 card for pH and OPR aquisition
- generic pH probe from banggoods
- generic ORP probe from ebay
- calibration solutions for both pH and ORP
- YF-DN40 flowmeter
- 4 relays output board, isolated with optocouplers
The electronic wiring diagram is this one (well, will be after addition of the second pump. So far I have only one pump) :

Sorry guys that the diagram is in french !! Here are some hints : débitmètre=flowmeter ; sonde=probe ; dosage=dosing ; prise=plug ... that's shall be all !
Last edited by aleph0 on Saturday 01 May 2021 11:52, edited 6 times in total.
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
The wemos is loaded with espeasy R147 firmware, and configured as follow :
- Hardware page :

- Device page 1 :

- Device page 2 :

- Configuration of flowmeter

- Configuration of pH :

- Configuration of ORP :

The values for pH and ORP calculations comes directly from the documentation of the phidget's cards. I checked the setup with calibration solutions for both pH and ORP and they showed to be very reliable
- Hardware page :

- Device page 1 :

- Device page 2 :

- Configuration of flowmeter

- Configuration of pH :

- Configuration of ORP :

The values for pH and ORP calculations comes directly from the documentation of the phidget's cards. I checked the setup with calibration solutions for both pH and ORP and they showed to be very reliable

Last edited by aleph0 on Saturday 14 March 2020 10:34, edited 1 time in total.
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Next post will be about domoticz configuration... stay tuned !
-
- Posts: 22
- Joined: Wednesday 08 April 2015 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Canada
- Contact:
Re: Water (Pool) Temperature Sensor
Aleph0, awesome, looking forward to read more
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Water (Pool) Temperature Sensor
mmm do i need a special flash with ESP easy? Or what kind of software is this?
My eps easy looks different?
My eps easy looks different?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Derik, you only need to upload a CSS to your wemos. I found this one on the espeasy forum
-
- Posts: 90
- Joined: Sunday 20 March 2016 18:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: LA, Ca USA
- Contact:
Re: Water (Pool) Temperature Sensor
OK, it's your pump. Injecting on the input side of the pump is exposing the pump to high concentrations of chlorine, and probably also throws the PH off. Not something I would do.aleph0 wrote: Well, it's all depends where you install the injection : If you install it at the suction part of the circulation pump, you'll be in under-pressure, means the main pump will help the peristaltic pump to inject chlorine. As those pump are sealed, there are no risk to suck too much chlorine trough the peristaltic pump when it's stopped. Also, the chlorine is never in contact with any part of the pump, as some rollers press the tube to circulate the fluid. So only the tube has to be chlorine resistant. And this can be changed easily if it doesn't come with the right tube. Considering the difference of price, it's worth giving the little pump a try !
My setup is in place since the beginning of April only, so I cannot give any feedback yet regarding the life span of the little pump. It's working only a few minutes a day, so I have good hope. So far, it's doing the job fine
Randy
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Ok, let's continue with the setup. I forgot to explain one part of the wemos configuration in my last post.
From the domoticz script, I'm sometimes in need to first start the filtration then wait some delay then start the injection pump. For domoticz script clarity, I prefer to send all the commands to the wemos at once and let the wemos do the job on its own. So I had to make some rules in the wemos to handle this :
- First we create a dummy device to store the values, like if there were local variables in the wemos :

- Then we setup two rules :
* one to get the pause delay and store it in the dummy
* the second one to ask for injection after the delay time :

So, when I want, eg to inject 60s of chlorine after 30s delay, I send the two following commands to the wemos :
curl http://IP_of_wemos//control?cmd=event,SetPause=30
curl http://IP_of_wemos//control?cmd=event,InjCl=60
Then I setup in my lua scrips a little function to handle this easily :
From the domoticz script, I'm sometimes in need to first start the filtration then wait some delay then start the injection pump. For domoticz script clarity, I prefer to send all the commands to the wemos at once and let the wemos do the job on its own. So I had to make some rules in the wemos to handle this :
- First we create a dummy device to store the values, like if there were local variables in the wemos :

- Then we setup two rules :
* one to get the pause delay and store it in the dummy
* the second one to ask for injection after the delay time :

So, when I want, eg to inject 60s of chlorine after 30s delay, I send the two following commands to the wemos :
curl http://IP_of_wemos//control?cmd=event,SetPause=30
curl http://IP_of_wemos//control?cmd=event,InjCl=60
Then I setup in my lua scrips a little function to handle this easily :
Code: Select all
function WemosInjCl(IP,LocalDev,Pause,Duree)
-- Ask the wemos to inject chlorine for a duration of "Duree" seconds after a delay of "Pause" seconds
cmd = "http://"..IP.."/control?cmd=event,SetPause="..tostring(Pause)
if debug==1 then print(cmd) end
os.execute('curl "'..cmd..'"')
cmd = "http://"..IP.."/control?cmd=event,InjCl="..tostring(Duree)
if debug==1 then print(cmd) end
os.execute('curl "'..cmd..'"')
-- Chlorine pump is normally stopped by the wemos and its status updated by the wemos
-- We double here the stop command for domoticz to stay updated in case of wifi failure at the time of the stop
commandArray[CmdIdx] = {[LocalDev] = 'Off AFTER '..tostring(Pause+Duree)}; CmdIdx=CmdIdx+1
end
commandArray = {}
Last edited by aleph0 on Saturday 14 March 2020 10:33, edited 2 times in total.
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Now, let's go to the domoticz setup. Here is how it looks :

Don't look at the last sensor "Bilan Th piscine", it is irrelevant for this topic.
The pool parameters (Redox, pH and free chlorine) are in red as there are updated only when the filtration is running.
Principles are the following :
1/ Management of the filtration
- Manu : No automatic actions are taken, you're free to switch on an off the filtration pump with the button
- AutoHC : Filtration duration is calculated according to the average water temperature, and stored in the dummy "Temps de filtration". Filtration happens during "happy hours" for electricity. Mainly at night. This is usefull only in winter the the pool has its black winter cover on
- AutoHP : Filtration duration is calculated in the same way, and filtration time is centered around solar noon. This is the normal mode most of the time
In addition to this features, in auto mode, we have freezing protection : the pump turns on if the air temperature goes below 1°C and turns off if air >1.5°C and the water temperature is over 0.5°C
A flow meter is monitoring the run of the pump, as well as the filters clogging :
- If no flow is detected 2 min after the start of the pump, the pump is stopped, chlorination set to off, filtration set to manual/off and a notification is sent
- If flow is "low enough" compared to the situation where all the filters are clean, a notification is sent to clean the filters
Electricity consumption of the filtration pump is updated in the counter "Consommation piscine"
That's all for the filtration part ; the water thermometer sensor is the one described at the beginning of the post.
2/ Management of chlorination
- Off : Nothing happens ; If mode is switched to off during the chlorination, the injection stops immediatly
- Manu : One inputs the desired amount of chlorine in "Dose de chlore (ml)" and click on "Injection chlore".
If the filtration was running at the time of the click, chlorine injection takes place immediately. If not, filtration pump is started one minute and then the injection takes place. Filtration remains on at least 30min after the injection to mix the chlorine in the pool
- Auto : The chlorine injection is requested by the filtration script, after half of the filtration time has elapsed, and if at least 30min of filtration is remaining.
Domoticz is then trying to determine the right amount of chlorine to inject base on the orp reading and the orp setpoint entered in "Consigne redox (mV)"
Then the injection takes place, followed by a 30min mixing time. The process is repeating itself up to the end of the filtration time
After the injection has been done, two counters are updated : "Consommation chlore" tracks the amount of chlorine injected daily, and "Chlore restant" estimate the amount of chlorine remaining in the tank. Notification are sent if the tank runs low, and amount of chlorine to inject is limited to the amount left in the tank to avoid air intake in the chlorine pump.
After refilling tank, one indicated how much is actually in there in the setpoint "Capacité bidon chlore (ml)" and press the button "Changement bidon chlore" to reset the counter
Finally, an estimation of free chlorine if there were no stabilizer in the water is calculated based on the orp and pH. This one is only to give an indication and shall not be considered as an accurate estimation of free chlorine, unless you really have no stab in your water !

Don't look at the last sensor "Bilan Th piscine", it is irrelevant for this topic.
The pool parameters (Redox, pH and free chlorine) are in red as there are updated only when the filtration is running.
Principles are the following :
1/ Management of the filtration
- Manu : No automatic actions are taken, you're free to switch on an off the filtration pump with the button
- AutoHC : Filtration duration is calculated according to the average water temperature, and stored in the dummy "Temps de filtration". Filtration happens during "happy hours" for electricity. Mainly at night. This is usefull only in winter the the pool has its black winter cover on
- AutoHP : Filtration duration is calculated in the same way, and filtration time is centered around solar noon. This is the normal mode most of the time
In addition to this features, in auto mode, we have freezing protection : the pump turns on if the air temperature goes below 1°C and turns off if air >1.5°C and the water temperature is over 0.5°C
A flow meter is monitoring the run of the pump, as well as the filters clogging :
- If no flow is detected 2 min after the start of the pump, the pump is stopped, chlorination set to off, filtration set to manual/off and a notification is sent
- If flow is "low enough" compared to the situation where all the filters are clean, a notification is sent to clean the filters
Electricity consumption of the filtration pump is updated in the counter "Consommation piscine"
That's all for the filtration part ; the water thermometer sensor is the one described at the beginning of the post.
2/ Management of chlorination
- Off : Nothing happens ; If mode is switched to off during the chlorination, the injection stops immediatly
- Manu : One inputs the desired amount of chlorine in "Dose de chlore (ml)" and click on "Injection chlore".
If the filtration was running at the time of the click, chlorine injection takes place immediately. If not, filtration pump is started one minute and then the injection takes place. Filtration remains on at least 30min after the injection to mix the chlorine in the pool
- Auto : The chlorine injection is requested by the filtration script, after half of the filtration time has elapsed, and if at least 30min of filtration is remaining.
Domoticz is then trying to determine the right amount of chlorine to inject base on the orp reading and the orp setpoint entered in "Consigne redox (mV)"
Then the injection takes place, followed by a 30min mixing time. The process is repeating itself up to the end of the filtration time
After the injection has been done, two counters are updated : "Consommation chlore" tracks the amount of chlorine injected daily, and "Chlore restant" estimate the amount of chlorine remaining in the tank. Notification are sent if the tank runs low, and amount of chlorine to inject is limited to the amount left in the tank to avoid air intake in the chlorine pump.
After refilling tank, one indicated how much is actually in there in the setpoint "Capacité bidon chlore (ml)" and press the button "Changement bidon chlore" to reset the counter
Finally, an estimation of free chlorine if there were no stabilizer in the water is calculated based on the orp and pH. This one is only to give an indication and shall not be considered as an accurate estimation of free chlorine, unless you really have no stab in your water !
Last edited by aleph0 on Saturday 14 March 2020 10:33, edited 3 times in total.
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: Water (Pool) Temperature Sensor
Next post, we'll dig into the detail of each script !
-
- Posts: 4
- Joined: Wednesday 28 January 2015 16:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Water (Pool) Temperature Sensor
I'm really curious and concerned about your settings (my skill level don't allow me to do that by myself
)
really helpfull
Thank you very much Aleph0 for all these details (and the coming next
)

really helpfull
Thank you very much Aleph0 for all these details (and the coming next

-
- Posts: 22
- Joined: Wednesday 08 April 2015 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Canada
- Contact:
Re: Water (Pool) Temperature Sensor
Hey aleph0
Some discrepancies between your electronic wiring diagram and the wemos setup, the PH and Orp port seems inverted
Stupid question why you connect on ADS1115, A3 to 5V ?
Which kind of virtual sensor are you using for PH, Orp in DZ?
Some discrepancies between your electronic wiring diagram and the wemos setup, the PH and Orp port seems inverted

Stupid question why you connect on ADS1115, A3 to 5V ?
Which kind of virtual sensor are you using for PH, Orp in DZ?
Who is online
Users browsing this forum: swen and 1 guest