Page 1 of 1

How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry

Posted: Sunday 31 January 2016 10:50
by avancoyghem
Hi folks,
I'm building a complete automation for my garden inclusive pool.
So far everything went right: lights switching on off via relais, opening the solar heating valve, opening the pool cover system, lights in the pool on-off. Really great stuff.

However to be able to run my chemical pool automation I need to add a PH and ORP module from Atlas Scientific to Domoticz in order to inject Chlorine in the pool or PH lowering chamicals in the pool. Sol I shoul dbe able to read the PH value and ORP and to us ethe data for switching on and off a relais that will trigger a chemical dosing pump.

I have the Python coding ready to perform the reading, however I woul dlike to integrate it in Domoticz. Any bright idea?

Thx a lot Alex

Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry

Posted: Tuesday 19 March 2019 11:58
by crashgh
Hi,

It is an old post, but i was wondering if someone has already a solution?

the sample code in python for the ORP probe is working an my Pi.
https://github.com/AtlasScientific/Rasp ... ter/i2c.py

however this script required userinput.

I can grab some code, put in in a new python script. Push the value through the API of domoticz and run in every 5 minutes.
My idea for the most maintainable code is transform it into a dzVents (lua) script.
In that case all the code is maintained by Domoticz in the Events settings.

But i'm quite new with lua, so don't know if is it possible to read the ORP through lua..
Enyone already done this? Or is it better to stick with python?

Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry

Posted: Monday 15 April 2019 9:23
by crashgh
Hi,

Update from my side. Couldn't find an out-of-the box script, so i tried to write my own.
I've documented on this page: https://raspberryautomation.com/read-a- ... -domiticz/.

Eventually i used the script of Atlas Scientific, put in into a cronjob and take every 15 minutes 8 readings. throw the highest and lowest away and push the average to Domoticz. hopefully it will help someone

Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry

Posted: Saturday 11 July 2020 12:34
by Anthonyvigneron
Hi - has anyone found the right configuration and scripts to use Domoticz with Atlas EZO probes (pH, ORP, EC, DO, RTD temp, air temp)?

Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry

Posted: Tuesday 26 July 2022 23:35
by dennispracht
@crashgh


very neatly done in domoticz. I want to start using this. only one is the following.

how do you do the calibration of the probes with your script.

Sometimes you have to calibrate the probes.

Greetings,

Dennis