So I am good at scripting for the web. PHP SQL HTML JS etc… That is the extent of my programming abilities at this point and it has suited me until today.
If you have see this thread (http://www.nyspeed.com/showthread.php?283442-5-years-and-2-houses-later-BEER) You will know that I am building a cooler. I was pretty gung ho on buying a coolbot and just letting it control the temperature. Then I changed my mind. I decided that I want a PI to monitor the temperature and control the AC unit. I am already employing one to control the beer list on a monitor so I figured as a start I want it to also display temperature of cooler. In the future I want to be able to hook up a relay board and control asco valves on the kegs based on a keyed input (kid proof the bar!)
So enough of where I was and where I am going. I am stuck on what I am thinking is Python. I need to use the GPIO on the PI to read two temperature sensors and if the values fall within set parameters (I would ideally like to tweak those parameters with a web portal) then it needs to fire a relay output that heats up a small resistor so the ac will trigger on. Simply I am reinventing the coolbot so that I can have more functionality. Someone made a clone using an arduino controller and it is cool but lacks the flexibility that I am looking for down the road. http://people.umass.edu/~dac/projects/ColdSnap/ColdSnap.html
What I know:
How to setup the PI
How to program the web interface
How to solder all connections
What exactly this needs to do.
What I don’t know:
How to programmatically interact the sensors and relays
How to interact the web interface with the above.
This needs to at minimum:
Constantly monitor two temperatures (air and AC Fins) (could poll every 10-20 seconds)
Determine if the temperature falls between points set via Web Interface
Trigger a relay that applies voltage to a resistor.
Log both temperature readings into a SQL table or text file or something that I can use PHP to make visible on the web server
Is anyone interested in helping out on this? I can pay, provide mass quantities of beer, rewire your house etc… I just need to get this working sooner than later.