Hi!
I've setup an ATO reservoir that I want to refill automatically when it is empty. To do this, I've put an Neptune optical sensor at the bottom of the reservoir (OEILTB) and another one at the top (OEILTH).
To start and stop the refilling sequence with other real outlets, I've created a virtual outlet with this code:
Fallback OFF
If OEILTB OPEN Then ON
If OEILTH CLOSED Then OFF
If FUITET CLOSED Then OFF
(FUITET is a leak detector probe)
When this virtual outlet is ON, the refill process starts and when it is OFF, it stops.
My problem is this one: If my outlet is at AUTO, as soon I use a little bit of water and OEILTH therefore goes to the OPEN position like on the image below, this virtual outlet goes ON.
Capture1.PNG
In other words, the refilling process starts as soon as I use a little bit of water instead of only when the reservoir is empty.
I tought that the coding was ok if I remove the SET OFF command, but it seems that is not!
In case you ask, the optical sensors are not interverted: i'v checked 3 times. Anyway, the image shown above rightly states the actual sensors status.
Can someone help me with this one ?
Thanks!
Bookmarks