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
How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry
Moderator: leecollings
-
- Posts: 1
- Joined: Sunday 31 January 2016 10:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 2
- Joined: Tuesday 19 March 2019 11:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry
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?
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?
-
- Posts: 2
- Joined: Tuesday 19 March 2019 11:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry
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
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
-
- Posts: 2
- Joined: Saturday 11 July 2020 12:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry
Hi - has anyone found the right configuration and scripts to use Domoticz with Atlas EZO probes (pH, ORP, EC, DO, RTD temp, air temp)?
-
- Posts: 2
- Joined: Wednesday 01 May 2019 11:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: How to connect a atlas scientific PH & ORP module to Domoticz via i2C raspberry
@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
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
Who is online
Users browsing this forum: No registered users and 0 guests