Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I am looking at coding a web based thermostat for my house using C++ with a php web front end, and I want it to run on Linux. My plan is to make it really smart, where it will learn how long it takes for temp changes at a certain outside temperature, so there will be a sensor indoors and outdoor. Maybe multiple sensors in different spots. But for sure I want at least two sensors. I will also need at least 3 relays, one for just the fan, one for the heat and one for the AC (I don't have AC yet but want to eventually get it). Idealy the more in/out ports the better as I may use it for other stuff.
What kind of solution would offer me this? It needs to be able to work with Linux, idealy, it should just be writing to a text file, that way I can code my app to read the files and react. For output there would need to be some standard way of doing it so that I can code it in.
Anyone know what I could buy to make this possible? I will be doing shift work in the next few months or so, so I'd like to be able to easily add complex scheduling and stuff. I also want to make it smart where it wont short cycle, so like if based on previous calculations it knows it will lose heat and have to start again, it will run longer. There will be lot of "smartness" coded into it. I'm not worried about the coding part, I just need some piece of hardware that is easy to interface with, and I'm really not sure what would give me that functionality. In fact even something that just has a telnet interface would do, I could have my app telnet in for input/output.
What kind of solution would offer me this? It needs to be able to work with Linux, idealy, it should just be writing to a text file, that way I can code my app to read the files and react. For output there would need to be some standard way of doing it so that I can code it in.
Anyone know what I could buy to make this possible? I will be doing shift work in the next few months or so, so I'd like to be able to easily add complex scheduling and stuff. I also want to make it smart where it wont short cycle, so like if based on previous calculations it knows it will lose heat and have to start again, it will run longer. There will be lot of "smartness" coded into it. I'm not worried about the coding part, I just need some piece of hardware that is easy to interface with, and I'm really not sure what would give me that functionality. In fact even something that just has a telnet interface would do, I could have my app telnet in for input/output.