I want to set Port 7 (UV) and Port 3 (skinmmer) based on Port1 (return pmp). If on then all on if off then all off
Any thoughts?
Conditional Port
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Conditional Port
ReefAngel.Relay.Set(Port7, ReefAngel.Relay.Status(Port1));
Same for Port3
Same for Port3
-
ecam
- Posts: 229
- Joined: Thu Nov 15, 2012 11:27 am
Re: Conditional Port
Thanks bud.... if i want to be the opp what do i do. Basically if my moonlights (port8 ) on off I want the fuge light on (5)...
Also... i want to setup a virtual outlet.... if the status is on... then all light ports are off (4,6,7)
Also... i want to setup a virtual outlet.... if the status is on... then all light ports are off (4,6,7)
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Conditional Port
Add an ! to flip the behavior. That would go in front of the !ReefAngel.Relay.Status(Port1) like I typed it