Action with steps

Action with steps

Hi, I am working on automating the draining and filling of a large aquarium. I am using the dragino LT-33222 that comes with the option to control 3 relays. With one relay (RO1), I will be turning the heaters and pumps off and on, and the other two relays (RO2 and RO3) to open and close two separate 24 vdc motorized valves to drain and fill the aquarium. Before I start learning how to build this action with these steps, I would like to know which path to take. Would I program the steps to carry out the action in Tago Core, and then I can make the trigger based off the choice of either a push button, a timer, or an ORP sensor in a dashboard in Tago IO? 

Action with Steps to Drain and Fill an Aquarium
Step 1Physical Steps
RO1 ONTurn off Pumps and Heaters
Step 2
RO2 ONopen 24 vdc valve
to drain water from aquarium
Step 3
Flow MeterFlow Meter activated to
measure gallons discharged
Step 4
TimerTimer set to amount of time it
takes to drain aquarium
Step 5
RO2 OFFClose 24 vdc drain valve
when aquarim is empty
Step 7
RO3 ONOpen 24 vdc input valve
to allow fresh water to fill aquarium
Step 8
Flow MeterFlow Meter activated to measure
the amount of gallons in aquarium
Step 9
TimerTimer is Set for amount of time
to takes to fill aquarium
Step 10
RO3 OFFClose 24 vdc valve
when aquarium is full of water
Step 11
RO1 OFF

50 amp breaker turned back on
for Pumps and Heater
Step 12
Tago AlertsFinish with alert to sms, email, etc.