Glad to try and help. Hopefully I’m explaining this well enough that it makes sense to you.
You are trying to combine two types of pumps, that work differently, into one line. That won’t work.
A peristaltic pump doesn’t clear the tube out when it doses, it just stops dosing leaving the tubing completely full. It needs to always retain liquid in the full length of tubing to be able to make the subsequent dosing amounts correctly.
So now the ATO turns on. Its pump works with a lot more force and will totally clear out the tube. If that ATO pump is sharing that same line, what will happen is as soon as it turns on, it will dump 30 feet of AFR left in the line to the tank as your top off water pushes everything in front of it out, clearing the line, and adding AFR that shouldn’t have been dosed. That could be ten doses worth of AFR.
Then, when it comes time for the next dose of AFR, the line is now empty, and nothing will be dosed. You will have absolutely no control over your AFR dosing. Every time your ATO turns on it will wash away any AFR in the tubing and you will have no idea how is being dosed.
You really can’t combine the lines from a peristaltic pump and an ATO pump at the source. They work differently.