coding vortech pumps with rf module

New members questions
Post Reply
briank6050
Posts: 13
Joined: Sun Nov 02, 2014 1:06 pm

coding vortech pumps with rf module

Post by briank6050 »

hi, im new to both the ra and writing codes. got most of the probs figured out using the wizard but dont know how to make my mp40 pump go into night mode. any help would be much appreciated. thanks
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: coding vortech pumps with rf module

Post by lnevo »

// Turn off Night Mode
if (hour()>8 && ReefAngel.RF.Mode==Night) ReefAngel.RF.SetMode(Night_Stop,0,0);
// Turn on Night Mode
if (hour()>20 && ReefAngel.RF.Mode!=Night) ReefAngel.RF.SetMode(Night,20,0);
briank6050
Posts: 13
Joined: Sun Nov 02, 2014 1:06 pm

Re: coding vortech pumps with rf module

Post by briank6050 »

where exactly do i put this info into the sketch?
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: coding vortech pumps with rf module

Post by lnevo »

In the custom code section inside the loop() function.
briank6050
Posts: 13
Joined: Sun Nov 02, 2014 1:06 pm

Re: coding vortech pumps with rf module

Post by briank6050 »

i dont even see the night mode anywhere in the code. im so confused
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: coding vortech pumps with rf module

Post by lnevo »

I posted it above...not sure what the question is. If you post your full code, i can show you where it goes..
Post Reply