Multiple scheduled outlet times

Do you have a question on how to do something.
Ask in here.
Post Reply
Spotted
Posts: 101
Joined: Thu May 10, 2012 5:46 am
Location: Sunny (and hot) South Florida

Re: Multiple scheduled outlet times

Post by Spotted »

I'm sorry, I am not sure how to reference it in the code. I'm not a coder. I'm a home theater installer.. Sorry...
Image
Spotted
Posts: 101
Joined: Thu May 10, 2012 5:46 am
Location: Sunny (and hot) South Florida

Re: Multiple scheduled outlet times

Post by Spotted »

Actually I think I understand. I could just reference them as off in the code and then I will get the ability to control them in the app right? Something like this?

Code: Select all

ReefAngel.Relay.Off(Box3_Port1);
ReefAngel.Relay.Off(Box3_Port2);
Is this right?
Image
Spotted
Posts: 101
Joined: Thu May 10, 2012 5:46 am
Location: Sunny (and hot) South Florida

Re: Multiple scheduled outlet times

Post by Spotted »

No, It should be

Code: Select all

ReefAngel.Relay.Off(Box2_Port1);
ReefAngel.Relay.Off(Box2_Port2);
Box2 not Box3, yes?

I got a Main Relay (Box), Expansion Relay(Box1), and the Power Control Module(Box2)

Yes?
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Multiple scheduled outlet times

Post by lnevo »

Yes
Post Reply