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

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Thanks for the feedback, its a @Michael Lane ph board and its not loose, appears to be a real good board. I did re-connect the bnc but it appears to be all over the place. I don't have another method of testing the ph but I do not think it varies that much over 5min span and this one is all over the map. I've had readings over 10ph and I am pretty sure that is not the case, just crazy swings. It appears to have settled somewhat and I will let it ride for awhile and see what it does, will give it a few more days and if it doesn't appear any better will swap it out.
I had interference from bad led light power supply, it did the same as yours graph wise.

Run the probe wire away from any power. If they have to cross, do so at a right angle. If u still have problems shield the ph board in an altoids box with a ground tail.

Observe what may be running when you get interference
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
Thanks everyone, I've yet to route my wire until I am convinced that the readings are proper. I do not have a way to verify it so I am going to let it run, the wire right now crosses a few wires at 90 deg but lots of good input on what to look for. It has settled down somewhat but is lower ph wise then I would think but I am currently only running with ambient light so that might have something to do with it. Will see what it does....

:)
 
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
Thank you @Bigtrout @Mikeneedsahobby @Des Westcott for calling out the interference issue. I'll make sure i update the official guide with these details.
Over the years i have collected a set of guidelines for good power adapter , things like UL listed, switching adapter, built in ferrite core etc. Let me know if there anything in particular you would like to see in the official guides.

@Tom Bishop keep us posted.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
Thank you @Bigtrout @Mikeneedsahobby @Des Westcott for calling out the interference issue. I'll make sure i update the official guide with these details.
Over the years i have collected a set of guidelines for good power adapter , things like UL listed, switching adapter, built in ferrite core etc. Let me know if there anything in particular you would like to see in the official guides.

@Tom Bishop keep us posted.

For me it made no difference how I routed the cables, I tried all sorts of routes. Moving things etc, nothing helped. Even moved the the offending peristaltic pump to the other side of a brick wall. I was running the peristaltic pump directly off the 12V power supply running it through one of my relays -switching the 12V.

What solved the issue for me was changing the peristaltic pump to run off of a 5V phone charger. I ran a 220V circuit through a relay and ran the 220V supply to the pump and mounted the wall-wart inside the box with the peristaltic pump. pH sensor routing did not change. Problem went away immediately. Peristaltic pump runs slower, but that isn't a big deal as I add the Top-Up water through a kalk stirrer.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Cable routing didnt help in my case either, but depending on circumstances bad routing of cables can cause issues. The worst thing is routing a sensitive circuit parallel to a power cable because it will easily pick up inductive interference.
In my case, the beamswork power supply that was bad put out such bad harmonics back onto the AC mains that everything plugged into that whole circuit was affected badly. A new quality power brick solved the issue and my ph probe has worked great ever since.
 

waynel

Active Member
View Badges
Joined
May 22, 2020
Messages
264
Reaction score
269
Location
Kentucky
Rating - 0%
0   0   0
On my reef-pi (using the ML hat, reef-pi version 3.3.1), I have my ATO on address 18, and it's working correctly. Last night I added a second float switch to the jumpers for address 27 and configured it as a second ATO in reef-pi, and set it to activate an unused outlet on my dj sr powerstrip just for testing, however it would not activate the outlet with the float switch in either the up or down position. I checked the float switch with my volt/ohm meter and it's working correctly. How can I check to see if reef-pi is seeing when the float switch opens/closes? If I go to the equipment tab in reef-pi, I can turn the outlet I was using for testing on/off, so I know that's setup correctly. Ultimately, I want to setup this float switch as a second ATO entry and have it alert me (no equipment control, just an alert) via email if my ato topoff tank is close to empty.
 

waynel

Active Member
View Badges
Joined
May 22, 2020
Messages
264
Reaction score
269
Location
Kentucky
Rating - 0%
0   0   0
On my reef-pi (using the ML hat, reef-pi version 3.3.1), I have my ATO on address 18, and it's working correctly. Last night I added a second float switch to the jumpers for address 27 and configured it as a second ATO in reef-pi, and set it to activate an unused outlet on my dj sr powerstrip just for testing, however it would not activate the outlet with the float switch in either the up or down position. I checked the float switch with my volt/ohm meter and it's working correctly. How can I check to see if reef-pi is seeing when the float switch opens/closes? If I go to the equipment tab in reef-pi, I can turn the outlet I was using for testing on/off, so I know that's setup correctly. Ultimately, I want to setup this float switch as a second ATO entry and have it alert me (no equipment control, just an alert) via email if my ato topoff tank is close to empty.


Got home from work, and doing some troubleshooting on this. Noticed my normal ATO is not working. Found this error on the configuration page for reefpi:
Failed to read ato sensor. Name:ATO1. Error:Inlet name: 'Item '2' does not exist in bucket 'inlets'' does not exist

I rebooted the reefpi, same error, and my ATO is not working. I removed the inlet and the ato config, rebooted and added them back, still not working. Why would it all of sudden stop reading the float switches?
 

Mike Kearns

Active Member
View Badges
Joined
Apr 4, 2019
Messages
252
Reaction score
371
Rating - 0%
0   0   0
Today I received my Robo-Tank Deluxe controller that I won from @robsworld78. This thing is amazing. Puts all my diy builds to shame. No soldering on my end (worth the price for that alone lol). The controller and power bar are super slim. Thanks again @robsworld78 for the awesome giveaway!
IMG_2315.jpg
 

waynel

Active Member
View Badges
Joined
May 22, 2020
Messages
264
Reaction score
269
Location
Kentucky
Rating - 0%
0   0   0
Got home from work, and doing some troubleshooting on this. Noticed my normal ATO is not working. Found this error on the configuration page for reefpi:
Failed to read ato sensor. Name:ATO1. Error:Inlet name: 'Item '2' does not exist in bucket 'inlets'' does not exist

I rebooted the reefpi, same error, and my ATO is not working. I removed the inlet and the ato config, rebooted and added them back, still not working. Why would it all of sudden stop reading the float switches?

Ok, I goofed and had the addresses flipped, so the ato is working correctly now.
 

waynel

Active Member
View Badges
Joined
May 22, 2020
Messages
264
Reaction score
269
Location
Kentucky
Rating - 0%
0   0   0
Can someone explain the alerting, especially as it relates to the ATO in reef-pi? I setup a second float switch to detect when my topoff water is low. I had it tripped for testing, where it would enable an outlet on my powerstrip. That worked. I went into the config and disabled the control for the outlet and set it to send an alert instead, which is what I want. I have the alerting set to send a max of 10 emails per hour. I'm getting spurts of 10 emails everyhour from reefpi now saying the ATO usage is over the limit, even though it's not tripped now. Is there a way to set this up to work correctly?
 
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
Can someone explain the alerting, especially as it relates to the ATO in reef-pi? I setup a second float switch to detect when my topoff water is low. I had it tripped for testing, where it would enable an outlet on my powerstrip. That worked. I went into the config and disabled the control for the outlet and set it to send an alert instead, which is what I want. I have the alerting set to send a max of 10 emails per hour. I'm getting spurts of 10 emails everyhour from reefpi now saying the ATO usage is over the limit, even though it's not tripped now. Is there a way to set this up to work correctly?
If the ato pump runs more than the specified seconds for the given hour, then reef-pi will send an alert. If you have set this to 120 and check interval is 10, after 12 consecutive postive signal (i.e. water level is low) reef-pi will trigger the alert. Since its computed for every hour, it will send email every hour by default. Therese a separate alert throttle settings under configuration that you can use to suppress alerts after certain times. There is also "Disable on alert" option in ato, where the ato will automatically be disabled when alert is triggered
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
Today I received my Robo-Tank Deluxe controller that I won from @robsworld78. This thing is amazing. Puts all my diy builds to shame. No soldering on my end (worth the price for that alone lol). The controller and power bar are super slim. Thanks again @robsworld78 for the awesome giveaway!
IMG_2315.jpg

No problem again lol... For anyone interested soon I'll have a higher quality power bar available, it'll have Omron 16 amp relays. I know some of you didn't like the cheaper relays being used.
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0

lmm1967

Well-Known Member
View Badges
Joined
Sep 12, 2017
Messages
563
Reaction score
848
Location
North Georgia
Rating - 0%
0   0   0

waynel

Active Member
View Badges
Joined
May 22, 2020
Messages
264
Reaction score
269
Location
Kentucky
Rating - 0%
0   0   0
If the ato pump runs more than the specified seconds for the given hour, then reef-pi will send an alert. If you have set this to 120 and check interval is 10, after 12 consecutive postive signal (i.e. water level is low) reef-pi will trigger the alert. Since its computed for every hour, it will send email every hour by default. Therese a separate alert throttle settings under configuration that you can use to suppress alerts after certain times. There is also "Disable on alert" option in ato, where the ato will automatically be disabled when alert is triggered

I can't figure out what I'm doing wrong. I have the second float switch setup as an inlet connector on address 18, named "topoffwater". I setup the second ATO, named it "topoffwater" using the "topoffwater" inlet with a check frequency of 2, control set to equipment, control pump is outlet1 on my powerbar. Setup like this, it works and switches the outlet on/off as I move the float up and down, waiting 2 seconds in between. If I set the control setting to "nothing", and enable alerts with "alert after" set to 10, 2 seconds after I enable it, I start getting emails, no matter what position the float is in.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Back
Top