I have a pool with a PH-W2839 (Wireless WiFi Online Control Detector Water Quality Detector 3-in-1 pH/ORP/TEMP Controller Water Quality Tester BNC Type Probe). It’s working wonderfull with Home Assistant but i want to know the free chlorine PPM. I found a math equation from an AI (poe.com) and it’s (ORP+PH-600) / 10 but according to other convertion charts for example:
it’s not even close to this. For examble with ORP 800 and pH 7.5 (800+7.5-600)/10 we have 20.75ppm. As you see below we have 4ppm. The gap is HUGE! When i ask it why it give the 600 and what is it I’m getting this:
The value of 600 in the formula is a constant and represents the theoretical redox potential of a solution containing both chlorine and hypochlorous acid (HOCl) at a pH of 7. This value is often used as a reference point for redox measurements in swimming pools, where the predominant form of chlorine is HOCl.
The value of 600 is subtracted from the sum of the mV and pH values in the formula to account for the contribution of hypochlorous acid to the redox potential. This leaves only the contribution of free chlorine to the redox potential, which can then be used to estimate the free chlorine concentration in the pool water.
It’s worth noting that the value of 600 is an approximation, and the actual redox potential of a solution containing chlorine and HOCl will depend on factors such as temperature, pressure, and the concentration of other ions in the solution. However, for practical purposes, the value of 600 is a reasonable approximation that is widely used in the swimming pool industry.
The question is how can I have a sensor which calculate with the data from the below chart in Home Assistant?
No not at all, even though Chat GPT said the math equation, it’s not accurate for open pools under the sun, the metrics is out of that they says the boards at all of the internet. I read in depth that ORP at the end can’t have a link with ppm of free clorine direclty. But in generally ORP is better than ppm, because with this way you can see how much clear is the water (whitch is the hole point in the end) and ppm they say only the free chlorine (which is not sure if the water is clear but how much chlorine is in it).
I find the table from New Chart – Free Chlorine vs ORP/mV vs PH decent. Using it did require some calibration\offsets using a reference test kit, but it has been very good so far for my hot tub. I trained a ML model based on the table. Pre-trained model and usage example here.
Hi @mzakharo your work is impressive!!
I’m a bit lost about how to implement your pre trained model in HA. How did you do that ?
Many people here would be very interested from what I read.
THanks