@nickrout @rjchu how did i miss this project. I took a look through Atlas Scientific website. Very cool kit and just what I have been looking for. I see the probes are all I2C so should be simple to set up in ESPHome. Time to do some more reading and ordering!
Possibly, but I see that horrid word “tuya”.
And if you buy the kit, it’s all connected up for you.
It´s too expensive for me
Thanks nickrout. But i´m searching for a low cost Solution with Probe´s which i can mount in the Pipe
I can see some cheap ph probes on aliexpress… which i presume are analogue and even one that is I2C, but the chlorine probes looks a bit more tricky and expensive. The alternatives make the Atlas Scientific kit look good value!
@JulianDH I’m not sure if it’s still on sale but I bought it a month or so ago and just haven’t gotten around to installing it though I’ve flashed it with esphome and confirmed that’s all good to go. I have a hose spigot on my pool plumbing that I plan to use for the input flow and a deadheaded vacuum line to the pool that the builder put in but I’ve never used that I’ll add another hose bib on for the output flow. This way when we have any periods below freezing (rare but happens) I can easily disconnect the whole works and store them as the sensors do not fair well in cold temps - fyi.
Person A asks question.
Person B replies.
Person A redefines question.
Simply tiring.
Bought it! Installed the probes in my piping. It was actually easier than I expected using these tubing and clamps meant for a chlorinator . I made my own little section of pvc tubing capped at both ends but linked to the main setup with the tubing. It looks like it works fine, but I guess I won’t know until I get it wired up and connected to HomeAssistant.
But I am stuck on how to get it all working with homeassistant. I flashed it using HomeAssistant and it shows up there. But then I am completely lost on adding the i2c component and the sensors. Is it possible to walk me through it or show me your config file for your device?
There is a wise quote, “the poor man pays twice”. Basically it’s saying if you buy the cheap and nasty version of something, you will likely have to replace it and then be worse off financially than if you simply bought the decent (more expensive) version in the first place.
You need to flash esphome, set up with the ezo component for each sensor
Thanks. I was able to flash it, but I can’t seem to figure out what the address of each ezo component is. The website gives the following examples, but I am not sure where to find the address of each sensor. Also, the instructions tell me that I need i2c, but the lights on the LED seem to be blue already.
-
platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: “pH”
update_interval: 10s -
platform: ezo
id: rtd_ezo
name: “RTD Temperature”
address: 102
accuracy_decimals: 2
unit_of_measurement: “°C”
update_interval: 10s
I also added the following I2C component because it said it needed it, but there wasn’t any explanation on the website of where I get sda/scl values.
i2c:
sda: 21
scl: 22
scan: true
id: bus_a
It would be really helpful to see a working example from someone who also purchased the Atlas Pool kit. Any chance you could paste your config file here?
When you get the logs from ESPHome dashboard it will show the dialogue for the i2c component scanning your channel for a device. It will show the address if it finds something. That address is what you then use in your sensor set up. Can you post your full log from the dashboard?
Edit: post text not photo. And make use of the formatting for yaml.
See page 5 of the Atlas pool kit doc for the addresses
…and the little led will be blue when powered on and flick green for a split second each time a reading is taken which is a good indicator things are working….aside from seeing values in any output console you have.
And there is sample Atlas code on their website which (IIRC) has all the i2c addresses.
Here’s the full log from the Dashboard:
It looks like it didn’t find I2C devices, so something must still be wrong.
INFO ESPHome 2023.5.5
INFO Reading configuration /config/esphome/pool-chemistry.yaml...
INFO Starting log output from pool-chemistry.local using esphome API
INFO Successfully connected to pool-chemistry.local
[08:34:45][I][app:102]: ESPHome version 2023.5.5 compiled on Jun 14 2023, 08:38:20
[08:34:45][C][wifi:505]: WiFi:
[08:34:45][C][wifi:363]: Local MAC: 0C:DC:7E:CB:62:08
[08:34:45][C][wifi:364]: SSID: 'Noble-Guest'[redacted]
[08:34:45][C][wifi:365]: IP Address: 192.168.2.27
[08:34:45][C][wifi:367]: BSSID: 76:A7:41:AF:25:EC[redacted]
[08:34:45][C][wifi:368]: Hostname: 'pool-chemistry'
[08:34:45][C][wifi:370]: Signal strength: -66 dB ▂▄▆█
[08:34:45][C][wifi:374]: Channel: 11
[08:34:45][C][wifi:375]: Subnet: 255.255.255.0
[08:34:45][C][wifi:376]: Gateway: 192.168.2.1
[08:34:45][C][wifi:377]: DNS1: 94.140.14.49
[08:34:45][C][wifi:378]: DNS2: 94.140.14.59
[08:34:45][C][logger:301]: Logger:
[08:34:45][C][logger:302]: Level: DEBUG
[08:34:45][C][logger:303]: Log Baud Rate: 115200
[08:34:45][C][logger:305]: Hardware UART: UART0
[08:34:45][C][i2c.arduino:053]: I2C Bus:
[08:34:45][C][i2c.arduino:054]: SDA Pin: GPIO21
[08:34:45][C][i2c.arduino:055]: SCL Pin: GPIO22
[08:34:45][C][i2c.arduino:056]: Frequency: 50000 Hz
[08:34:45][C][i2c.arduino:059]: Recovery: bus successfully recovered
[08:34:45][I][i2c.arduino:069]: Results from i2c bus scan:
[08:34:45][I][i2c.arduino:071]: Found no i2c devices!
[08:34:45][C][ezo.sensor:015]: EZO 'ph_ezo'
[08:34:45][C][ezo.sensor:015]: State Class: ''
[08:34:45][C][ezo.sensor:015]: Unit of Measurement: 'pH'
[08:34:45][C][ezo.sensor:015]: Accuracy Decimals: 0
[08:34:45][C][ezo.sensor:016]: Address: 0x63
[08:34:45][C][ezo.sensor:020]: Update Interval: 10.0s
[08:34:45][C][ezo.sensor:015]: EZO 'RTD Temperature'
[08:34:45][C][ezo.sensor:015]: State Class: ''
[08:34:45][C][ezo.sensor:015]: Unit of Measurement: '°C'
[08:34:45][C][ezo.sensor:015]: Accuracy Decimals: 2
[08:34:45][C][ezo.sensor:016]: Address: 0x66
[08:34:45][C][ezo.sensor:020]: Update Interval: 10.0s
[08:34:45][C][captive_portal:088]: Captive Portal:
[08:34:45][C][mdns:108]: mDNS:
[08:34:45][C][mdns:109]: Hostname: pool-chemistry
[08:34:45][C][ota:093]: Over-The-Air Updates:
[08:34:45][C][ota:094]: Address: pool-chemistry.local:3232
[08:34:45][C][ota:097]: Using Password.
[08:34:45][C][api:138]: API Server:
[08:34:45][C][api:139]: Address: pool-chemistry.local:6053
[08:34:45][C][api:141]: Using noise encryption: YES
[08:34:47][E][ezo.sensor:088]: read error
[08:34:48][E][ezo.sensor:088]: read error