This is something I've been setting up on and off lately and I'm at a point where it's almost done. Basically I've always wanted to have the ability to control the heat from a simple web page that I create, as well as have a back end I can fully customize so I can code all sorts of advanced features as I please.
So I found this relay board at http://www.canakit.com which was the perfect candidate for what I wanted to do:
Can also see a sensor in the little bag. The board can handle 6 sensors, which I ended up buying afterwards, figured may as well use it to it's full capacity.
After some brain storming on how to physically connect everything, I decided to go with a DIN rail. It will basically act as a "patch panel" for non standard data/electrical connectivity to my server rack. The sensors as well as the tstat wire will cross connect there, and into the control board. This ensures there is a disconnect should I need to move/change the control board. The board connects to a small 1U server via USB, but it's basically a virtual serial connection.
The app just loops and takes readings, and then depending on the settings in the database and those readings it will turn relays on/off accordingly to control the furnace, fan and in the future, AC.
Here you can see the DIN rail installed with a few connectors.
The scheduling app:
Programs:
The main page:
I have not started to wire up the house yet, but I will probably start on that tomorrow or next week, as tomorrow is my last day off for 4 days. With my new job, I have more time off, which is awesome.
For now the app is fairly basic, but over time I will add in more features. One thing I do want to eventually add is the ability to predict how long it will take to heat up from a certain temp to a certain temp when it's a certain temp outside. That way when I make a program where I want it to be 20 at a certain time, it will actually know to start the furnace ahead of time.
Also rather than setting the temp to a single number, I set it to a range. In some circumstances, such as when I'm away from home or in bed, it makes sense to set larger ranges. This increases the cycle times so there's less short cycling.
But really the nice thing will be the ability to set and see the temp from any wifi connected device. I will also be allowing this through my firewall in some secure way so I can access it from work. Let's say I decide not to go home for lunch, or go later, I can then override the temp.
There's a few phantom issues that sometimes happen with the control board, so I really got to watch for those and test the hell out of it before I go live, as a relay stuck on or off due to the app being stuck in some kind of loop, could be a disaster. Once I can deem this system safe with no hiccups, then I'll do the final connections and make it go live. Right now it will only be to control the heat, but I'll probably code in the AC mode and it will be ready for if ever I do get AC.
So I found this relay board at http://www.canakit.com which was the perfect candidate for what I wanted to do:
Can also see a sensor in the little bag. The board can handle 6 sensors, which I ended up buying afterwards, figured may as well use it to it's full capacity.
After some brain storming on how to physically connect everything, I decided to go with a DIN rail. It will basically act as a "patch panel" for non standard data/electrical connectivity to my server rack. The sensors as well as the tstat wire will cross connect there, and into the control board. This ensures there is a disconnect should I need to move/change the control board. The board connects to a small 1U server via USB, but it's basically a virtual serial connection.
The app just loops and takes readings, and then depending on the settings in the database and those readings it will turn relays on/off accordingly to control the furnace, fan and in the future, AC.
Here you can see the DIN rail installed with a few connectors.
The scheduling app:
Programs:
The main page:
I have not started to wire up the house yet, but I will probably start on that tomorrow or next week, as tomorrow is my last day off for 4 days. With my new job, I have more time off, which is awesome.
For now the app is fairly basic, but over time I will add in more features. One thing I do want to eventually add is the ability to predict how long it will take to heat up from a certain temp to a certain temp when it's a certain temp outside. That way when I make a program where I want it to be 20 at a certain time, it will actually know to start the furnace ahead of time.
Also rather than setting the temp to a single number, I set it to a range. In some circumstances, such as when I'm away from home or in bed, it makes sense to set larger ranges. This increases the cycle times so there's less short cycling.
But really the nice thing will be the ability to set and see the temp from any wifi connected device. I will also be allowing this through my firewall in some secure way so I can access it from work. Let's say I decide not to go home for lunch, or go later, I can then override the temp.
There's a few phantom issues that sometimes happen with the control board, so I really got to watch for those and test the hell out of it before I go live, as a relay stuck on or off due to the app being stuck in some kind of loop, could be a disaster. Once I can deem this system safe with no hiccups, then I'll do the final connections and make it go live. Right now it will only be to control the heat, but I'll probably code in the AC mode and it will be ready for if ever I do get AC.
