Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic pump switch with dependancies #133

Open
GoogleCodeExporter opened this issue May 31, 2015 · 1 comment
Open

Automatic pump switch with dependancies #133

GoogleCodeExporter opened this issue May 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I am building an automatic timer with a raspberry pi B+ but I only want the 
pumps to come on if it sastify certain criterior .


For example if i have a pump connected via a relay which in triggered by a GPIO 
. 
But I only want  the pump to turn on if the reservoir has water.  So i am using 
a float switch in the reservoir to give me  and open and close switch and using 
 another input GPIO 

so it should work like this 
When the timer is triggered the app check to see is the input GPIO is on or 
off. 
If the reservoir GPIO is "on"( seeing an input current) then the pump relay is 
switch "on" 
If the reservoir GPIO is "ooo"( Not seeing an input current) then the pump 
relay is switch "FF" even though the timer is on 


Can WEBIOPI do this sorth of thing . 
I am very new to programming  and coding but I would really like to get my feet 
wet.
Thanks for any help 

Original issue reported on code.google.com by [email protected] on 13 Jan 2015 at 4:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant