- Joined
- Jun 24, 2019
- Messages
- 5,031
- Reaction score
- 5,007
@SuncrestReef or anyone
Please help me figure out my code issue.
I have two redundant float switches in skimmer cup to shut off skimmer in case of overflow.
1. Added float switches to breakout box, renamed float1 and float2
2. Made virtual outlet called Skim_Overflw which turns on if float1 of float2 is open(skimmer full).
3. Made line in skimmer that turns off if skim_overflw is on.
The problem is that when one float switch is activated the skimmer cycles on and off every second or so. When both float switches are open then the outlet turns off fine. I must have coded that virtual outlet Skim_Overflw incorrectly so that it cycles on off when only one float switch is open. Advise?
Note I got around the issue by using the when statement so that when it turns off it is turned off auto to the off position. This works great but I want to understand why it won’t work without that statement. When looking at code disregard the when statements, thanks!
Please help me figure out my code issue.
I have two redundant float switches in skimmer cup to shut off skimmer in case of overflow.
1. Added float switches to breakout box, renamed float1 and float2
2. Made virtual outlet called Skim_Overflw which turns on if float1 of float2 is open(skimmer full).
3. Made line in skimmer that turns off if skim_overflw is on.
The problem is that when one float switch is activated the skimmer cycles on and off every second or so. When both float switches are open then the outlet turns off fine. I must have coded that virtual outlet Skim_Overflw incorrectly so that it cycles on off when only one float switch is open. Advise?
Note I got around the issue by using the when statement so that when it turns off it is turned off auto to the off position. This works great but I want to understand why it won’t work without that statement. When looking at code disregard the when statements, thanks!