Update to RC switch logic (now with pH control)

Signed-off-by: thisischris <c@ia.net>