reef-pi :: An opensource reef tank controller based on Raspberry Pi.

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,223
Reaction score
3,632
Location
Sacramento, CA area
Rating - 0%
0   0   0
FYI - My probe gave roughly -150 for a 7.02.

I expect “around zero” to be fine for a 7.02 solution, so this number is fine.

There is a setting update I’ll fix in the driver where the gain of different Pico boards ends up set differently - some will report about -4000 and others -8000 (2x gain) for pH 10. It’s a quick software fix to lock all to 2x.
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
922
Rating - 0%
0   0   0
Mine looked like it took the file, but the numbers in the UI look the same. I'm out and about, but I'll be home shortly.

I got mine working. It is giving a reading of 10.03 in my 10.02 calibration fluid. I closely followed your posts Dirt. so thank you. You and Ranjib helped me through this.
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
922
Rating - 0%
0   0   0
I expect “around zero” to be fine for a 7.02 solution, so this number is fine.

There is a setting update I’ll fix in the driver where the gain of different Pico boards ends up set differently - some will report about -4000 and others -8000 (2x gain) for pH 10. It’s a quick software fix to lock all to 2x.
PH 10 was about -3,200 for me.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,077
Location
Gambrills
Rating - 0%
0   0   0
Man I feel for you, you are so close. But I can also see the issue with your commands. See , the last three commands in your screenshot is what matter, I can see your cookie and auth is correct as you can list the ph probes (against the pi 127.0.0.1), but in the calibration command you entered cookie file wrong, cookie.tst instead of cookie.txt. Just change that and you should be successful :)

Now I'm getting an error from the UI when I enable the pH probe "{"error":"stats for id: '1' not found"} | HTTP 404"
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,077
Location
Gambrills
Rating - 0%
0   0   0
Man I feel for you, you are so close. But I can also see the issue with your commands. See , the last three commands in your screenshot is what matter, I can see your cookie and auth is correct as you can list the ph probes (against the pi 127.0.0.1), but in the calibration command you entered cookie file wrong, cookie.tst instead of cookie.txt. Just change that and you should be successful :)

yes, it is pico board.

Calibration is kicking my butt too right now. I think I am having the same issue as you, but I'm on day 1 instead of 7. I am carefully reading all your posts and @Ranjib 's responses to figure out what to do. I haven't given up yet. ... maybe soon. ;)

I'm also baking peanut butter cookies and the raw dough is keeping my spirits up.

I got mine working. It is giving a reading of 10.03 in my 10.02 calibration fluid. I closely followed your posts Dirt. so thank you. You and Ranjib helped me through this.

My UI has not changed, and now I'm getting an error in my UI when I enable the probe. I've rebooted, and reloaded so far.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Just got my tp-link smart plug working with some prototype code :) . Its been a much desired thing that i want to support, and a couple of other folks were trying to get it done as well. So if you are want to try it out, with next version of reef-pi 3.x release you should be able to use these

Kasa-Smart-Plug-2-pack.jpg
Awesome!!!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Mine looked like it took the file, but the numbers in the UI look the same. I'm out and about, but I'll be home shortly.
If it took the file it means calibration will be applied. Enable the ph monitor after calibration. You should see a huge step function in the chart
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,077
Location
Gambrills
Rating - 0%
0   0   0
Just got my tp-link smart plug working with some prototype code :) . Its been a much desired thing that i want to support, and a couple of other folks were trying to get it done as well. So if you are want to try it out, with next version of reef-pi 3.x release you should be able to use these

Kasa-Smart-Plug-2-pack.jpg
This is also quite exciting
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
As for the higher PH trend ive noticed that the KH guardian that is based off this same type of test states in there manual. That the machine must be 3 feet or less from the water and to not cut the tubing. So maybe it has something to do with the amount of tubing you have. Just a guess though. Im going to be following this I would love to build it. and try it out.
Welcome to reef2reef :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
ranjib have you put any thought into the sonar sensors for water height detection in sump? imo would be pretty nice because there are no parts in the saltwater to get salt creep on.
not yet. I am using the optical sensors, and pretty happy with it. @theatrus was talking about pressure based sensors, i have tinkered with e-tape based things in past as well. I am focused on clustering, calibration, ph based action, arbitrary pwm profile etc .. for the time being.
 

trackerit

Community Member
View Badges
Joined
Apr 11, 2019
Messages
71
Reaction score
137
Rating - 0%
0   0   0
It was very simple, the first step is to obtain the cookie. Txt, then see the id of the probe, place the probe im the solution ph10, and write the value, then place the probe im the solution ph7 and write the value, save the calibrste. Json file and execute the last command to send the calibrate. Json with the id of probe
IMG_20190602_155808.jpeg
IMG_20190602_162624.jpeg
IMG_20190602_162211.jpeg
IMG_20190602_162158.jpeg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It is reflecting an accurate pH now

Screenshot_20190602-171736_Chrome.jpeg
W00t :). If you want to get rid of the old readings , you can delete the current probe, recreate it again in disable state, apply calibration first and then enable it. Otherwise you wont see the daily ph swing in historic trends due to those high un-calibrated values (3000 in range).
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It was very simple, the first step is to obtain the cookie. Txt, then see the id of the probe, place the probe im the solution ph10, and write the value, then place the probe im the solution ph7 and write the value, save the calibrste. Json file and execute the last command to send the calibrate. Json with the id of probe
IMG_20190602_155808.jpeg
IMG_20190602_162624.jpeg
IMG_20190602_162211.jpeg
IMG_20190602_162158.jpeg
Things will be lot easier once we have the UI ready.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It was very simple, the first step is to obtain the cookie. Txt, then see the id of the probe, place the probe im the solution ph10, and write the value, then place the probe im the solution ph7 and write the value, save the calibrste. Json file and execute the last command to send the calibrate. Json with the id of probe
IMG_20190602_155808.jpeg
IMG_20190602_162624.jpeg
IMG_20190602_162211.jpeg
IMG_20190602_162158.jpeg
But this is by no means a small feat, what we are seeing is an open hardware , opensoftware based ph system :) . how cool is that :)
 
Back
Top