If you could record a few values we can see how to adjust the calculation.
I found it to be off and added a correction factor to be more accurate. With these values we can see if we need to change more
I will record a few results over the next couple of days. So if I understand it correctly, then you want me to find the delta between app and Blue Connect sensor. Then find the average delta and use it in the conversion factor and apply it in the program code e.g. like in the picture?
Interesting. Where did you find this site?
I tried registering but it said my email was already used. So I thought to use the same account/pw used in the Blueriiot mobile app, but it doesn’t work.
Tried resetting the pw, but the site gives me an error. And it doesn’t let me create a new account.
Any advice is more than welcome, would like to see the data you showed for my BlueConnect Plus.
Thanks.
The code used for ORP is the one took from @Peerke. In my case the value is almost the same as the one measured from my Hayward Aquarite+ system with calibrated probes (ESP32 values are in the rightmost column):
The app values are aligned too, except for pH, but usually pH is aligned too. I tend to compare Hayward values with ESP32 calculated values more than the mobile app.
I like the gauges in your pool monitor card, looks like the mobile app, would you mind sharing the code for that? Could try something similar. Thanks.
Yes,
With me the Delta was in the same range for 7 readings across a few days. WIth that added the values where close enough. My guess (and that of a few others) is that the is some sort of correction within the unit or in the cloud calculation.
With the Delta, you would be closer to a good result, and we can see if there is some sort of correction needed based on other received values
Here are my gauges
- type: vertical-stack
cards:
- type: gauge
entity: sensor.blueconnect_pool_sensor_ph
name: pH
needle: true
min: 6.2
max: 8.6
segments:
- from: 0
color: '#FF0000'
- from: 6.6
color: '#FFA500'
- from: 7.2
color: '#008000'
- from: 7.6
color: '#FFA500'
- from: 8.2
color: '#FF0000'
- type: gauge
entity: sensor.blueconnect_pool_sensor_temperature
name: Temperatur
needle: true
max: 32
min: 18
segments:
- from: 0
color: '#0000FF'
- from: 22
color: '#008000'
- from: 28
color: '#FF0000'
- type: gauge
entity: sensor.blueconnect_pool_sensor_chloor
needle: true
name: ORP
min: 350
max: 1050
segments:
- from: 0
color: '#FF0000'
- from: 400
color: '#FFA500'
- from: 650
color: '#008000'
- from: 750
color: '#FFA500'
- from: 1000
color: '#FF0000'
its in dutch, chloor = ORP
Thanks Peter. But those are the standard HA gauges, I really liked the horizontal ones that mimic the blueriiot mobile app gauges. Nice work by @kasperhoejbjerg, I hope he can share the code.
Looking at the virtualpoolcare.io portal it seems that the value thought to be conductivity is actually the Battery Voltage in mV (100% is 3600mV and 0% is 3400mV).
I’m still getting different values from the new sensors, so I had to add adjustments to both ph (/ 4 - 239.75) and orp (+0.18).
here’s the raw hex:
33.E6.0A.CC.07.06.0B.00.00.2F.0E.1F
and the app values:
- ph: 7.4
- orp: 466
temperature seems to be OK. maybe they have something on their server back-end that corrects reading based on the hw revision. I got a new brand one from Amazon in June after the one from last year died.
Yesterday I got a professional measurement device for Salinity. Funny enough the build in Blueriiot app told me 2.6 g/L (bout 2600ppm) but the ESP version showed the correct value of 2.8 / 2800.
That seems to work well. My PH seems also more accurate than the app, (slightly lower) but the ORP is way off, App says 589 and the ESP 840. (by 28 degree pool)
Not sure if the temperature correction is right, since someone suggested that the Blueriiot has a build in temp correction. Curious about other reading and how you implement the corrections.
My pool is a mineral pool with Oxynator (no chloor) so slightly different than most I assume.
How the heck I get the MAC of the blue riot?
I used a ble scanner and found what looks like it
BLEX-XX:XX:XX:XX:XX:XX
I set it up in a esphome prog (thnks @alexdelprete using your version) but I get no sensor values
The mac starts with 00:A0:XX:XX:XX:XX
So… I got the wrong one.
for a start.
Thanks / Grazie
Those look like the services of the riiot…
I odn’t know how to get the MAC.
The ble scan tool I use bluetility (on mac) is not exposing it
A doubt: i have also the connect and it is connected
Is it a problem?
See esphome for instructions:
I did setup a ble scanner text sensor
Nothing pops up
The description on esphome is a bit confusing.
The only thing you need to do is the following:
esp32_ble_tracker:
logger:
level: VERY_VERBOSE
make sure nothing is connected to the device (no app, no other piece of software).
watch the console after install and it should give the mac
Then, when a BLE device is discovered, you should see messages like Found device XX:XX:XX:XX:XX:XX together with some information