Aquarium control

Good evening, I wanted to make an aquarium control. This control includes a flow meter…/pm=2114.13010608.0.0.xKGRYd
two light-sensitive sensor…/pm=2114.13010608.0.0.xKGRYd
1 temperature sensor…/pm=2114.13010608.0.0.xKGRYd
I should be turning on the lights, a filter, a heater via relay. This I managed to do it. I can not manage to eventor the temperature sensor the flow meter and light-sensitive sensor. I combine it with a virtual pin, but do not understand how.