SIP
Tank Fill Function - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Feature requests (https://nosack.com/sipforum/forumdisplay.php?fid=4)
+--- Thread: Tank Fill Function (/showthread.php?tid=333)



Tank Fill Function - Staticxsoil - 2024 Jul 07

I have rainwater collection at my house with tanks at the downspouts and 150 gallons of storage located in a greenhouse in my garden. I would like to be able to use float switches that in the greenhouse tanks to fill the greenhouse tanks automatically each day with the float ensuring that I don't lose water due to overflow since my greenhouse is downhill from the house. additionally I would like to prevent the pump from running if the water level is too low. I believe the water level low situation can be handled by the rain sensor function but I have not found a way to automate the filling function.
 Ideally the logic behind this function would be:
   If water level = low then run pump for 30 seconds
   if max runtime not exceeded loop.
I am not versed in python but I'm willing to try to learn


RE: Tank Fill Function - dan - 2024 Jul 08

This looks like an interesting project. I will be happy to help you with it.

There are a few questions to begin with.

1) do you have the float switches installed? If so are they just on-off switches or to they indicate different water levels.

2) How close to the tanks will the Raspberry pi be to the tank? ( what kind of wire length, or are you using wireless communication)

I would suggest that you enable the included Node-red plugin and take a look at the documentation. Or take a look at the Node-red library:
https://flows.nodered.org/node/@sip-irrigation/node-red-sip-irrigation-nodes

It may provide an easy way to implement your project.

Dan


RE: Tank Fill Function - Staticxsoil - 2024 Jul 11

I have some answers for you 

1) the switches are installed as I am coming from another pi based irrigation that had "automation function that do what the Node Red module can do. 

2) the pi is mounted on a wall right above the tanks. I think there may be 3 feet of wire.

I spent the afternoon messing around with node red and believe I have both of the functions I wanted working but wont actually know till I reinstall everything in the greenhouse. Reinstallation is dependent on my 3d printers behaving and making the new enclosure successfully. I learned from the last installation that a black enclosure gets way hotter than i thought it would.

Thanks for pointing me in the right direction!!!


RE: Tank Fill Function - dan - 2024 Jul 12

Great!
One of the nice things about using Node-red with SIP is that you can make changes to the Node-red flow "on the fly" while SIP is running.

Dan