<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6321957993466716178</id><updated>2012-05-15T19:47:40.532-04:00</updated><category term='server'/><category term='stats'/><category term='bandwidth'/><category term='ultima online'/><category term='age of valor'/><title type='text'>Red's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default?start-index=26&amp;max-results=25'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>148</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-1811483562729824085</id><published>2012-05-02T22:11:00.001-04:00</published><updated>2012-05-02T23:34:11.358-04:00</updated><title type='text'>It's official, I finally switched to Windows 7</title><content type='html'>I completed building my new computer today (was off) and installed windows 7.&lt;br /&gt;&lt;br /&gt;There is still tons of stuff to install and configure, but things are falling together.&amp;nbsp; Lot of the common apps like Firefox and Thunderbird are fairly easy as I can just copy over the profile and it takes it.&lt;br /&gt;&lt;br /&gt;Overall I'm quite happy with 7.&amp;nbsp; Some stuff is different, but it's not that hard to find things, and the annoying stuff (like UAC) is easy to turn off. &lt;br /&gt;&lt;br /&gt;I switched it to Windows classic, then decided to switch it back, the default is kinda growing on me, I think I'm actually going to stick with it.&amp;nbsp; The computers I had tried it on before were slow so it was really choppy, but on this machine that's the least of my worries. &lt;br /&gt;&lt;br /&gt;I'm only using about 2GB/12GB of ram.&amp;nbsp; I freaked a bit when I saw that 80GB of my 120GB SSD was used, turns out it was the page file, disabled that, with 12GB of ram I wont need it, and I would rather put it on a spindle (or at least separate SSD) drive if I did end up using a page file. &lt;br /&gt;&lt;br /&gt;I will post pics of the actual PC later.&amp;nbsp; I'm still waiting for my 1000w power supply to come in. I gave up waiting and bought a 600w to get me by as it was the only missing part.&amp;nbsp; So I did not hookup the SLI cable just yet, I'll wait. &lt;br /&gt;&lt;br /&gt;After 5+ years since my last build I have to say lot of things changed hardware wise. &lt;br /&gt;&lt;br /&gt;1. Everything is so HUGE.&amp;nbsp; The video cards, heat sink, even the ram now has huge heat sinks on it.&lt;br /&gt;&lt;br /&gt;2. It's still hard to find a case that has proper ventilation in mind.&amp;nbsp; I still found one though.&amp;nbsp; Decided to go for a full positive pressure setup, all intakes, no exhausts.&amp;nbsp; What would be exhaust ports are left open obviously, and the air naturally goes out of them.&amp;nbsp; That way the combined air flow of the fans is higher than if I had some intake and some exhaust.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;3. Instructions don't get very in depth.&amp;nbsp;&amp;nbsp; It took me a while to figure out how to install the cpu and the heat sink.&amp;nbsp; I had a feeling I knew how as it's not very hard, but when you're dealing with over $500 of equipment (the cpu and motherboard specificly) you don't want to "think" you are doing it right, you want to "know".&amp;nbsp; After a bit of research I confirmed I was doing it right, so I went ahead, no issues.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;4. Included accessories: there is much less now.&amp;nbsp; CPUs used to always come with a heatsink/fan, not anymore!&amp;nbsp; Found that out the hard way.&amp;nbsp; Also I did not even get an Intel Inside sticker. :( I want my sticker!&amp;nbsp; It makes the computer go faster.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A bit more on point 1:&lt;br /&gt;&lt;br /&gt;When I got the heat sink on, I found out the hard way that I could only put 2 sticks of ram not 3 or 4.&amp;nbsp; At first I was going to settle with 8GB but the more I got thinking, the more I realized I can't just settle for 8, when my 5 year old server has 8.&amp;nbsp; I want to go a step ahead of things here!&amp;nbsp; I analyzed the situation and tried to figure out what I can do.&amp;nbsp; Turns out if I turn the heat sink around I can fit the ram.&amp;nbsp; Cool!&amp;nbsp; It was VERY close to not fitting that way because one of the video card though.&amp;nbsp;&amp;nbsp; Speaking of which, I was not able to add the sound card, because there are only 2 of the 16x slots that actually run at 16x.&amp;nbsp; One of which interfere with the only PCI slot.&amp;nbsp; So I decided to leave out the sound card for now. If I find the onboard is not good enough (they tend to be bad when gaming) I will get a USB one.&amp;nbsp; I do have an available PCI-e 1x slot but I may want to put a network card in there.&amp;nbsp; I like having two network cards so I can connect to my external network directly if I have to, without disconnecting from my main.&lt;br /&gt;&lt;br /&gt;At the end, everything went fairly smooth.&amp;nbsp; Best part: no DOA parts!&amp;nbsp; I think this is my first build where every part actually works!&amp;nbsp; First time I run into issues where stuff does not fit, but it turned out to not be so bad.&amp;nbsp; Only left with no sound card. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'm still installing and configuring everything, I can't wait to actually game on this!&amp;nbsp; I also need to find some kind of widget to monitor the temperatures, I always like having that visible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-1811483562729824085?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/1811483562729824085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=1811483562729824085' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1811483562729824085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1811483562729824085'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/05/its-official-i-finally-switched-to.html' title='It&apos;s official, I finally switched to Windows 7'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-7970240455089373969</id><published>2012-04-23T20:08:00.000-04:00</published><updated>2012-04-23T20:08:49.246-04:00</updated><title type='text'>New PC on it's way!</title><content type='html'>&lt;a href="http://gal.redsquirrel.me/images/other/random/pcorder.png"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1290-pcorder.png" border="0"&gt;&lt;/a&gt;  Can't wait to put this beast together!  It did not ship yet, I'm hoping it ships tomorrow!  If I can get it by Friday I'll be happy so I can put it together over the weekend. Hopefully there wont be any DOA parts, I tend to have bad luck with that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-7970240455089373969?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/7970240455089373969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=7970240455089373969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/7970240455089373969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/7970240455089373969'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/04/new-pc-on-its-way.html' title='New PC on it&apos;s way!'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-3049209147900376328</id><published>2012-03-13T23:05:00.001-04:00</published><updated>2012-03-13T23:06:35.671-04:00</updated><title type='text'>More HVAC system pics</title><content type='html'>Some more pics:&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1271-dsc04269.JPG"&gt;&lt;br /&gt;Mounted control board and soldered in all the wires.  Idealy I would have loved to make it terminal blocks instead but never even thought of ordering some direct mount ones when I did my order for the other stuff.  I will try to find a piece of transparent plastic to use as the cover. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1275-dsc04270.JPG"&gt;&lt;br /&gt;Can now control furnace with my playbook or any wifi device&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1269-dsc04271.JPG"&gt;&lt;br /&gt;I thought this was rather genius...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1273-dsc04272.JPG"&gt;&lt;br /&gt;Conveniently this is a great location for an emergency light, or just a light to look inside the closet beside it.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1268-dsc04273.JPG"&gt;&lt;br /&gt;Server room sensor (this "room" is basically my basement at this point)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1272-dsc04275.JPG"&gt;&lt;br /&gt;Return duct sensor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1267-dsc04276.JPG"&gt;&lt;br /&gt;Supply duct sensor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1270-dsc04278.JPG"&gt;&lt;br /&gt;Top view of rack where the control board sits on a shelf and the DIN rail is mounted on top.   The actual server is closer to the middle and not shown, it's a little 1U SuperMicro server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And lastly, here's a pic of the front end.  I will probably tweak it more over time and make it look nicer.  &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/images/other/random/hvacctl_frontend.jpg"&gt;&lt;br /&gt;&lt;br /&gt;We're int he middle of a heat wave right now so wont get to use this to it's full extent for another couple days, but in a way it's a good thing as I need to do a simulation test for a few days anyway before letting it activate the relays.   Though I'm 99% sure I sorted out the issue now.&lt;br /&gt;&lt;br /&gt;I also need to hookup the outside sensor but I'll wait till summer for that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-3049209147900376328?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/3049209147900376328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=3049209147900376328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3049209147900376328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3049209147900376328'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/03/more-hvac-system-pics.html' title='More HVAC system pics'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-7506005779225218779</id><published>2012-03-13T21:48:00.003-04:00</published><updated>2012-03-13T21:57:37.285-04:00</updated><title type='text'>I always say that I quit, but never do</title><content type='html'>When I made my last post I was about ready to quit this.  The control board was acting stupid, I was unable to get any support for it, and I was getting pissed off considering it worked before and suddenly would not work after a server reboot.  I have been pulling my hair out all week. &lt;br /&gt;&lt;br /&gt;Well, I think I may have figured out a fix.  I still don't understand WHY it does this and I still think it's some kind of bug, but by looking at different online examples of serial connectivity and copying code around, I changed my connect function to this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;bool SerialConnector::Open()&lt;br /&gt;{&lt;br /&gt; if(m_Path=="")&lt;br /&gt; {&lt;br /&gt;  ScreenOutput("No path specified");&lt;br /&gt;  return false;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; //init stuff&lt;br /&gt; &lt;br /&gt; struct termios tio;&lt;br /&gt; //struct termios stdio;&lt;br /&gt; //int tty_fd;&lt;br /&gt; //fd_set rdset;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; //memset(&amp;stdio,0,sizeof(stdio));&lt;br /&gt; //stdio.c_iflag=0;&lt;br /&gt; //stdio.c_oflag=0;&lt;br /&gt; //stdio.c_cflag=0;&lt;br /&gt; //stdio.c_lflag=0;&lt;br /&gt; //stdio.c_cc[VMIN]=1;&lt;br /&gt; //stdio.c_cc[VTIME]=0;&lt;br /&gt; //tcsetattr(STDOUT_FILENO,TCSANOW,&amp;stdio);&lt;br /&gt; //tcsetattr(STDOUT_FILENO,TCSAFLUSH,&amp;stdio);&lt;br /&gt; //fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);       // make the reads non-blocking &lt;br /&gt;&lt;br /&gt;&lt;br /&gt; memset(&amp;tio,0,sizeof(tio));&lt;br /&gt; tio.c_iflag=0;&lt;br /&gt; tio.c_oflag=0;&lt;br /&gt; tio.c_cflag=CS8|CREAD|CLOCAL;           // 8n1, see termios.h for more information&lt;br /&gt; tio.c_lflag=0;&lt;br /&gt; tio.c_cc[VMIN]=1;&lt;br /&gt; tio.c_cc[VTIME]=5;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; //connect&lt;br /&gt; m_fd=open(m_Path.c_str(), O_RDWR | O_NONBLOCK); &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;    cfsetospeed(&amp;tio,B115200);            // 115200 baud&lt;br /&gt;    cfsetispeed(&amp;tio,B115200);            // 115200 baud &lt;br /&gt;&lt;br /&gt; //this is required, it seems that it only needs to be called once per server reboot. It sets some kind of global thing that prevents the serial device (in my test: uk1104 from canakit) to go insane and spam junk&lt;br /&gt; tcsetattr(m_fd,TCSANOW,&amp;tio);&lt;br /&gt; &lt;br /&gt; if (m_fd == -1 )&lt;br /&gt; {&lt;br /&gt;  ScreenOutput("Unable to connect");&lt;br /&gt;  m_conactive=false;&lt;br /&gt;  return false;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; m_conactive=true;&lt;br /&gt; &lt;br /&gt; return true;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I want to thank the author of this page:&lt;br /&gt;&lt;br /&gt;https://en.wikibooks.org/wiki/Serial_Programming/Serial_Linux&lt;br /&gt;&lt;br /&gt;The example is straight to the point line by line and easy to follow.  Most of the examples I found were terrible to figure out.  &lt;br /&gt;&lt;br /&gt;I don't really know what every single line of code does, but the key lines are these:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; memset(&amp;tio,0,sizeof(tio));&lt;br /&gt; tio.c_iflag=0;&lt;br /&gt; tio.c_oflag=0;&lt;br /&gt; tio.c_cflag=CS8|CREAD|CLOCAL;           // 8n1, see termios.h for more information&lt;br /&gt; tio.c_lflag=0;&lt;br /&gt; tio.c_cc[VMIN]=1;&lt;br /&gt; tio.c_cc[VTIME]=5;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;    cfsetospeed(&amp;tio,B115200);            // 115200 baud&lt;br /&gt;    cfsetispeed(&amp;tio,B115200);            // 115200 baud &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In that order.  I'm guesssing setting the baud rate may possibly play a role, but the code above also does.  The connect function is the same as before.&lt;br /&gt;&lt;br /&gt;It seems to me some of these parameters stick even after the program is done executing.  I discovered that when I ran an example stand alone, and ran my program, my program worked.  If I rebooted, my program stopped working.  Oddly, running picocom did not actually set whatever global flags were being set, at least not permanently.  &lt;br /&gt;&lt;br /&gt;Either way, after several server reboots and several resets of the USB device it seems to work.  Though, I may be calling it too early.  I will let it run overnight before I take the app out of simulation mode, (basically this mode just ignores relay calls). &lt;br /&gt;&lt;br /&gt;After tomorrow I will be off for 2 days, so I will run it live and see how it works out.  &lt;br /&gt;&lt;br /&gt;I really hope this works out on a long term basis, as I'm looking forward to actually putting this to good use and no longer need to keep messing with the thermostat programming day to day to accommodate my different shifts.  This app is set and forget, which is awesome.  It's why I did it.  Given most people work standard shifts, consumer thermostats are designed for that, so I needed something to accommodate shift work. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once this is proven, I will probably make up a full blown article explaining everything I did.  Man, I'm so glad I got this working though, this spam thing was really starting to burn me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-7506005779225218779?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/7506005779225218779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=7506005779225218779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/7506005779225218779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/7506005779225218779'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/03/i-always-say-that-i-quit-but-never-do.html' title='I always say that I quit, but never do'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-5990667265355948063</id><published>2012-03-13T19:57:00.004-04:00</published><updated>2012-03-13T20:02:29.390-04:00</updated><title type='text'>Well this was a waste of time</title><content type='html'>The control board decided to crap out and now it refuses to work.  IT did this before but resetting it would fix the problem.  Now it wont work period. As soon as I try to write anything to it, it just starts spitting out bullshit. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::R&lt;br /&gt;&lt;br /&gt;ERROR : R&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:::&lt;br /&gt;&lt;br /&gt;ERROR : :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:::&lt;br /&gt;&lt;br /&gt;ERROR : :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::::&lt;br /&gt;&lt;br /&gt;ERROR : ::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:::&lt;br /&gt;&lt;br /&gt;ERROR : :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::E&lt;br /&gt;&lt;br /&gt;ERROR : E&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::ER&lt;br /&gt;&lt;br /&gt;ERROR : ER&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;::::&lt;br /&gt;&lt;br /&gt;ERROR&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Canakit has not replied to any of my emails on this issue, so it looks like I'm on my own.  I need to find another board that can interface with the Dallas thermal sensors.   &lt;br /&gt;&lt;br /&gt;What's screwed up is if I use picocom, it works fine, but the minute I try to use echo/cat or my own code, it does this crap.  I even copied the code from picocom into my own code, and it STILL does it. I'm at a loss.   This project was just too good to be true.   I was SO close too. :(  I had to go reboot that server... but guess it's better now, than down the line when a relay is turned on and I'm not home...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-5990667265355948063?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/5990667265355948063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=5990667265355948063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5990667265355948063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5990667265355948063'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/03/well-this-was-waste-of-time.html' title='Well this was a waste of time'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-1420591591775597380</id><published>2012-03-10T19:40:00.001-05:00</published><updated>2012-03-10T19:42:20.989-05:00</updated><title type='text'>So I just did the final hookup of my hvac system</title><content type='html'>I just officially started the furnace using my playbook.   So far the system is working.  I've been testing it for a long time using a light bulb and sensor in a bucket so it's been fairly proven.  Today I now did the hookups to the furnace.  I wired it so my old thermostat can serve as a backup, it's in parallel. &lt;br /&gt;&lt;br /&gt;I just have one more sensor to hookup, some cleaning up to do and a few minor final steps, and the system will be officially completed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-1420591591775597380?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/1420591591775597380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=1420591591775597380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1420591591775597380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1420591591775597380'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/03/so-i-just-did-final-hookup-of-my-hvac.html' title='So I just did the final hookup of my hvac system'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-6529892152008079642</id><published>2012-03-06T03:03:00.001-05:00</published><updated>2012-03-06T03:04:45.986-05:00</updated><title type='text'>More progress on HVAC control system</title><content type='html'>Started pulling wire today.   Also decided to change up a bit the way I run wire around the house.  Instead of just hanging in screw eyes and tie wraping any new cabling on the existing cabling that's passed through the screw eye (normally only one can fit) I decided that I will run a metal wire in the screw eye, pass the first wire into the screw eye, but use velcro straps to hold additional wires.  The metal wire also acts as something to strap wire to between joists to prevent hang.  So I did that today as well. &lt;br /&gt;&lt;br /&gt;Wired the first sensor into the thermostat, so it's more or less hidden.  I decided to make the sensor part itself stick out on the outside, for a more accurate temp reading. The thermostat will remain as a backup and be wired in parallel for the heat only.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1243-dsc04225.JPG"&gt;&lt;br /&gt;&lt;br /&gt;After I took that pic I realized I wired it wrong, The orange and brown/white wires are mixed up.  Mostly mentioning this in case I come back and look at this in the future.... lol.   I just made my own "standard" that I will follow for each sensor.  Will make future troubleshooting easier.   The sensors have 3 wires, so I just assigned each one to a color.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And here's some runs (some of those are existing Ethernet runs). &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1241-dsc04226.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Crawlspace data run, the one going to the far end is actually existing Ethernet, the one going behind the light is for the sensor.  &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1240-dsc04227.JPG"&gt;&lt;br /&gt;&lt;br /&gt;A run to the outside sensor.  I will leave it coiled up at the end till summer.  I don't really want to work outside in this weather, and I doubt any glue/cement I use would cure properly anyway.  My plan is to have a small pipe go outside and have a down elbow with a cap and a couple holes in it.  The sensor will reside at the tip of the pipe and the rest will be filled with insulation and caulked in.  Will provide weather proofing for the sensor.  I specifically chose a north wall which should provide an accurate reading.  Most of these sensors are just for extra informational readings, more than anything.   Though they will be used in some logic as I improve the control application. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1242-dsc04229.JPG"&gt;&lt;br /&gt;&lt;br /&gt;Din rail with the terminal blocks.  They are all labeled to make it easy to identify each conductor.  &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1244-dsc04231.JPG"&gt;&lt;br /&gt;&lt;br /&gt;Hoping to more or less finish this up tomorrow, if not, next week.  I'm off tomorrow but then start work again the next day.  I still have one more wire run to do for the upstairs sensor.  I bought a LED wallmount light which I'll be using to mask the sensor into, and the light itself may come in handy in the event of a power outage or what not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-6529892152008079642?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/6529892152008079642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=6529892152008079642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6529892152008079642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6529892152008079642'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/03/started-pulling-wire-today.html' title='More progress on HVAC control system'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-6623342630023741780</id><published>2012-02-21T00:26:00.002-05:00</published><updated>2012-03-06T03:05:16.113-05:00</updated><title type='text'>Almost done HVAC Control app</title><content type='html'>More or less done the back end and front end now.  There's still more testing and tweaking to do, but so far it's looking good. &lt;br /&gt;&lt;br /&gt;I decided to omit the algorithm to determine when the furnace should actually start based on a scheduled time.  Figured I should ensure that what I have works and then throw that feature in afterwards. &lt;br /&gt;&lt;br /&gt;I'll finish up the tweaking tomorrow and then next time I'm off I'll start on the wiring.  I ordered 4 more sensors so they should hopefully arrive by then.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'll have one in the living room, upstairs, server room, furnace return duct, furnace supply duct and one outside. I'm debating on instead of putting one outside, I can just use data from the weather channel.  Though real time actual temp would be kind of cool.&lt;br /&gt;&lt;br /&gt;This is what the main interface looks like:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/forum_upload_misc/dashboard.jpg"&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/images/other/forum_upload_misc/dashboard.jpg" alt="" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The living room sensor is not actually installed so that reading is from the sensor just sitting in the server room crocodile clipped to the circuit board.  It looks good on my Playbook too and is easily usable.    I will probably do a "dry run" test for a couple weeks before I do the final hookup to the furnace.  I'm paranoid about it randomly dropping the serial/usb connection with the relay turned on.  Could be disastrous if it happens when I'm not home.   Since I'm not using the USB extender now it has not dropped though, so think I'm good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-6623342630023741780?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/6623342630023741780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=6623342630023741780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6623342630023741780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6623342630023741780'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/02/almost-done-hvac-controll-app.html' title='Almost done HVAC Control app'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-2048919096298562841</id><published>2012-02-14T19:30:00.002-05:00</published><updated>2012-02-14T19:31:42.651-05:00</updated><title type='text'>Ever see an icicle grow from bottom up?</title><content type='html'>Here's one!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1236-icicle.JPG"&gt;&lt;br /&gt;&lt;br /&gt;Been growing for a couple months at least.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-2048919096298562841?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/2048919096298562841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=2048919096298562841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2048919096298562841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2048919096298562841'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/02/ever-see-icicle-grow-from-bottom-up.html' title='Ever see an icicle grow from bottom up?'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-6782274754367718756</id><published>2012-02-12T19:30:00.004-05:00</published><updated>2012-02-12T19:40:00.967-05:00</updated><title type='text'>hvac control web front end</title><content type='html'>I started on the front end for the hvac control.  In my mind I had really fancy ajax stuff with graphs and whole 9 yards, but then I realized I don't even know ajax so I think I will keep it simple for now, and might add on to it later, and also make it look more pretty.&lt;br /&gt;&lt;br /&gt;This is the programming section.  A program is basically a set of "rules" that will be followed for a single day.  Each day has a program assigned to it.   It's very similar to a programmable thermostat where you set a temp for a certain time and it will hold it till the next program starts.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/p1.jpg"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1233-p1.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is a calendar where the program is assigned to an actual day.  Note the lack of "weekly" schedule setting.  I originally was going to make it so I can set a schedule on a per week basis then go back to override it but it got too complicated for nothing.  I work shifts so I'm always going to be going to change it anyway.  I will make the back end default to a certain program if no program is specified.  Basically it will default to the vacation one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/p2.jpg"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1234-p2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I did not do the dashboard yet, but that will basically just be a display of the current temp, the program that is active, the temp goal, and an option to do a temporary override without changing the program.  Basically an override will be a specific temp at a specific time and a specific duration.  This will take priority over the program.&lt;br /&gt;&lt;br /&gt;One thing you will notice is that instead of specifying a temp, it's a temp range.  This will be more flexible and more efficient as it will avoid short cycling.  I will tweak that as I go to get a balance of comfort and efficiency. &lt;br /&gt;&lt;br /&gt;After that, I just need to do the back end, which should not be too hard as I already wrote the control class for the relay/sensor board.  The back end will basically just be a looped app that checks the sensors, and checks the program, and updates/reads the sql database. &lt;br /&gt;&lt;br /&gt;In the future I may make it plot temp graphs and stuff.  There will also be some logic such as starting the furnace earlier based on the outside temp and indoor temp.  I can probably figure out a formula for that, otherwise I can just make it learn over time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-6782274754367718756?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/6782274754367718756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=6782274754367718756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6782274754367718756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6782274754367718756'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/02/hvac-control-web-front-end.html' title='hvac control web front end'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-1157876383235070039</id><published>2012-01-31T22:03:00.002-05:00</published><updated>2012-01-31T22:08:37.911-05:00</updated><title type='text'>Din Rail installed</title><content type='html'>Been working mostly on the software portion, but as a side task I did cut and install the DIN rail to my server rack. I think it should look pretty slick once I have the connections in place.  I don't know how common it is to put a DIN rail on a server rack, but hey, it works!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1224-dinrailinstalled.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I think my serial class is more or less proven for the temp sensing and relay control, so I will be starting on the actual thermostat app next.  I'm hoping to get something rough done within a week or so, I can add the more fancy eco algorithm stuff later down the road.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-1157876383235070039?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/1157876383235070039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=1157876383235070039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1157876383235070039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1157876383235070039'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/01/din-rail-installed.html' title='Din Rail installed'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-4779177948103150556</id><published>2012-01-27T17:53:00.002-05:00</published><updated>2012-01-27T17:57:52.531-05:00</updated><title type='text'>DIN rails, wire and DIN terminal connectors</title><content type='html'>&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1222-dinrail.JPG"&gt;&lt;br /&gt;&lt;br /&gt;This stuff came in today, which will be used for this hvac project, and possibly other future stuff.&lt;br /&gt;&lt;br /&gt;The DIN rail will be screwed into the server rack and treated like a patch panel for misc sensor/electrical connectivity.  Basically anything that does not really have a plug type.  For now I'll only be controlling the furnace, and I'll only have 2 thermal sensors.  One where the existing thermostat is, and the other I'm not sure yet.  Either the server room, or outside, but winter is not an ideal time to be putting holes in outside walls. The circuit board can handle 6 sensors in total so I may put the second sensor indoors and wait till summer to order more and put one outside. &lt;br /&gt;&lt;br /&gt;Once the outside temperature sensor is installed my program will be able to use that to better control the furnace start times based on the schedule.  For example the app will know to start the furnace 1 hour before a schedule based on the outside and indoor temp.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-4779177948103150556?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/4779177948103150556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=4779177948103150556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4779177948103150556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4779177948103150556'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/01/din-rails-wire-and-din-terminal.html' title='DIN rails, wire and DIN terminal connectors'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-4691907631127027237</id><published>2012-01-20T23:52:00.003-05:00</published><updated>2012-01-21T00:13:34.970-05:00</updated><title type='text'>HVAC temp sensor</title><content type='html'>Using a makeshift breadboard to wire up the resistor and temp sensor (aka: cut out a piece of plastic from HDD tray inserts)&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1220-dsc04156.JPG"&gt;&lt;br /&gt;&lt;br /&gt;The unmarked wire is for ground, the one with one line goes to the DQ pin of the sensor and will go to the channel pin of the control module. The wire with 2 markings is the VDD pin of the sensor and will go to the +5v line of the control module.  I will be using cat6 to wire this to the module, so probably one pair for DQ and VDD and a single wire for ground.  I can probably technically use the common wire of the thermostat as ground, but I rather use the one fed from the control module to be on the safe side. &lt;br /&gt;&lt;br /&gt;I will try to shove this behind the existing thermostat which will save me from figuring how to put this on the wall and hide it. &lt;br /&gt;&lt;br /&gt;There is also another sensor that will go outside, but not sure how I want to do that yet, and considering it's like -30 out there, I rather wait till spring to do any type of outside work.  Chances are what I'll do is mount it on the house in some kind of small plastic box.  Might even put it inside the phone nid. &lt;br /&gt;&lt;br /&gt;The outside sensor will be used to help the system better calculate start times and run times to increase efficiency.  For example, on a -30 day I might want the furnace to start earlier than a -5 day.  the current indoor temp will also play a role in that calculation.  The program will learn the heat gain/loss and then based on these values should be rather accurate in knowing when to start the heat.  &lt;br /&gt;&lt;br /&gt;There will also be other features such as over running past the set temp to avoid short cycling.  So on a -30 day it may be better off to run the heat 2 degrees past what it's set to, and let it drop 3 degrees before starting again.  The less short cycling, the more efficient things will be.   Still lot of things to think about.  At first the program will simply be an advanced temp scheduling program and I'll add more features over time.  Being able to set the temp or change schedules from the office, or my playbook will be pretty cool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-4691907631127027237?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/4691907631127027237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=4691907631127027237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4691907631127027237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4691907631127027237'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/01/hvac-temp-sensor.html' title='HVAC temp sensor'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-3704224102551254874</id><published>2012-01-16T22:18:00.002-05:00</published><updated>2012-01-16T22:19:41.420-05:00</updated><title type='text'>21st century HVAC control</title><content type='html'>I just got this in the mail today:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1219-uk1104relay.JPG"&gt;&lt;br /&gt;&lt;br /&gt;It's a 4 port relay controller with 6 input sensors.  I also got 2 temp sensors, but really I should have got 6 from the get go and be done.  Might put in another order once I confirm it works as I want.&lt;br /&gt;&lt;br /&gt;My goal is to hook this up to my mini atom server which I will dedicate as a environmental control system.  The relays will be used to control the heat and the temp sensors as a thermostat.  I will code a web based app to control it.  I plan to add lot of intelligence to it such as know how early to start the furnace based on the outside temperature.   Once this is done I'll be able to control the furnace from work. I will be starting shiftwork soon, too, so being able to setup more complex schedules than the typical weekly/weekend settings will be great.  I will also have a function to quickly override a schedule for a single day.  Sometimes I go for lunch at 12:00 other times I go for lunch at 1:00 etc we just kinda play it by ear.  So when I determined when I go for lunch then I'll set it to start so it's warm when I get home.  Should be a fun toy to play with, and it will be practical. &lt;br /&gt;&lt;br /&gt;I now need to decide how to physically set it up.  How I wire it, etc... to make it as clean as possible.  I might mount the board right into the server somehow, then have a terminal strip on the back of the server to make the thermostat and sensor connections.  For now I'll have one sensor where my current thermostat is (I'll just shove it right in it basically) and the current thermostat will be used simply as a backup.  It will be wired in parallel. &lt;br /&gt;&lt;br /&gt;Later on I might add more sensors, like one on the upper floor, one in the basement, one in what will be the server room, maybe one in the garage.&lt;br /&gt;&lt;br /&gt;I will only need 3 relays, so the 4th will probably be used for some misc purpose.  Maybe the hvac for the server room itself once I build that room.  &lt;br /&gt;&lt;br /&gt;Now if I could add voice recognition to that server and have sensors around the house, that would be awesome.  The server is called HAL9000. :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-3704224102551254874?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/3704224102551254874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=3704224102551254874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3704224102551254874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3704224102551254874'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2012/01/21st-century-hvac-control.html' title='21st century HVAC control'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-2458005947518986208</id><published>2011-12-02T18:41:00.002-05:00</published><updated>2011-12-02T18:43:58.139-05:00</updated><title type='text'>Finally Started my new job!</title><content type='html'>Today is day 2 of my new job working at the Network Opoerations Center (NOC).  I am still getting setup, there are quite a lot of apps and lot to know, so it will be a while till I'm comfortable, but so far so good.  I think I will really enjoy it, and working at the central Office is pretty cool.  I'm actually starting to somewhat understand the equipment there and how it talks to each other.  It's pretty cool. &lt;br /&gt;&lt;br /&gt;No more crazy IT manager to deal with.  All the problems of that other place are now behind me!  Like any other job, I'm sure this new one wont be perfect, but nothing can be worse than dealing with that other place and the crazy IT manager.   Also the pay is better, and once I'm trained and able to work alone, I will be able to start shift work which will be a lot of fun.  More time off!  I will probably find a hobby of some sort to make more money on the side, or just expand on existing projects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-2458005947518986208?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/2458005947518986208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=2458005947518986208' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2458005947518986208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2458005947518986208'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/12/finally-started-my-new-job.html' title='Finally Started my new job!'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-8525859441026913924</id><published>2011-11-18T18:34:00.003-05:00</published><updated>2011-11-18T18:37:19.704-05:00</updated><title type='text'>So I bought a playbook</title><content type='html'>It may not be the leading edge tablet, but at $300 off, making it $199, I could not resist for such a deal. &lt;br /&gt;&lt;br /&gt;The only thing I'm kinda bumbed out about is that there are not many apps available yet, but I'm hoping more will be coded over time.  I can always look at coding my own too, but for the meantime I'll wait and see what the app world will have to offer.  &lt;br /&gt;&lt;br /&gt;One thing I would love to see is an email client, especially one that can do imap.  But with a web browser, anything is possible.  I can always code a web client front end and put it on my server.  A SSH and RDP client would be nice to see too. Though it does have VNC.  &lt;br /&gt;&lt;br /&gt;Also, Angry Birds would be nice to have on there. :P&lt;br /&gt;&lt;br /&gt;But all and all, I don't regret the purchase.  It's been a while since I've bought myself a toy.  I've had to support these as well as other tablets at work, now I actually have one of my own to mess around with.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-8525859441026913924?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/8525859441026913924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=8525859441026913924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/8525859441026913924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/8525859441026913924'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/11/so-i-bought-playbook.html' title='So I bought a playbook'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-8252989833879759639</id><published>2011-10-21T23:23:00.003-04:00</published><updated>2011-10-21T23:26:45.595-04:00</updated><title type='text'>Learn from my fail ...and FML</title><content type='html'>When restoring a SQL database to a temp database so you can manually extract data, ensure that the backup job does not generate a database file that includes the original database name in it, causing it to restore to live instead.&lt;br /&gt;&lt;br /&gt;Hopefully nobody got any uber rare artifacts today, because they are now gone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-8252989833879759639?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/8252989833879759639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=8252989833879759639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/8252989833879759639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/8252989833879759639'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/10/learn-from-my-fail-and-fml.html' title='Learn from my fail ...and FML'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-4849763991311874206</id><published>2011-10-17T19:21:00.002-04:00</published><updated>2011-10-17T19:30:33.186-04:00</updated><title type='text'>What to do with an old power supply and ethernet cables?</title><content type='html'>The answer is: magnetize screwdrivers!  Oh, and you'll want a piece of PVC pipe or something.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/dsc04015.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1199-dsc04015.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/dsc04017.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1198-dsc04017.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/dsc04016.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1197-dsc04016.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Remind me not to store my screwdrivers and hard drives in the same box. I kinda went overboard with this, and I have more Ethernet wire left.  My goal is to reach around 5 ohms or so.  Right now it's about 1.5 ohms, so without measuring I'm guessing that's pulling about 8 amps off the 12 volt rail. It gets hot enough if I leave it on too long it burns out.  (this is coil #2!)  It only takes about 10 seconds to charge a screwdriver to the point of being able to pickup a bunch of screws at once.  As long as it can pickup one, it's usually good enough.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As a side note, they sure don't make stuff like they used to.  This is what happened when I went to unplug a new Christmas light set:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1200-dsc04014.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oops.  Definitely a good idea that I'm installing a GFCI outlet for that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-4849763991311874206?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/4849763991311874206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=4849763991311874206' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4849763991311874206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4849763991311874206'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/10/what-to-do-with-old-power-supply-and.html' title='What to do with an old power supply and ethernet cables?'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-5889437531646317089</id><published>2011-09-18T18:42:00.002-04:00</published><updated>2011-09-18T18:56:11.873-04:00</updated><title type='text'>Hammer time!</title><content type='html'>This slab laughs at my pity attempts. I'm hoping to have weakened it enough to do the rest with the sledge hammer once I have energy again. There's a huge footing which will probably require some more serious equipment to take out.&lt;br /&gt;&lt;br /&gt;The plan is to have this all gone by next year since I am getting the weeping does redone. &lt;br /&gt;&lt;br /&gt;Before starting:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/house_projects/patio___weeping_tiles_reconstruction/dsc03998.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1194-dsc03998.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;During:&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/house_projects/patio___weeping_tiles_reconstruction/dsc03999.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1191-dsc03999.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Day 2, done for now:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/house_projects/patio___weeping_tiles_reconstruction/dsc04003.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1190-dsc04003.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/house_projects/patio___weeping_tiles_reconstruction/dsc04005.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1193-dsc04005.JPG"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-5889437531646317089?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/5889437531646317089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=5889437531646317089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5889437531646317089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5889437531646317089'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/09/hammer-time.html' title='Hammer time!'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-5003333696794173091</id><published>2011-08-30T16:47:00.003-04:00</published><updated>2011-08-30T16:59:45.319-04:00</updated><title type='text'>Gimme my new job!</title><content type='html'>I got accepted for a new position April 14 2011... it's now almost September 1st.  The IT manager here is being more and more of an asshole with me latetly.  Get me out of this place!  The beauty of the new job is it wont be customer facing.   Sooooo looking forward to it.  &lt;br /&gt;&lt;br /&gt;Today he starts freaking out because a user could not login to their mail, so I check into it, turns out they were part of a list to be deleted, so I restored it.  He starts flipping out that I did not contact him, well... if he had used the proper process of putting in a ticket instead of just barging in here like a mental, then maybe I would of had a call back number.   Then he starts flipping out at me for not putting the contact information in the account. woah woah there asshole, I'm not even the one that created that account, and it's not my fault HR does not provide the information half the time. DIAF.  I so wish I could tell him off sometimes.  He can be an asshole towards us, and we just have to take it up the ass.  Sick of this.  It's sad how people like him can have enough power to get away with this verbal abuse.  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-5003333696794173091?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/5003333696794173091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=5003333696794173091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5003333696794173091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/5003333696794173091'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/08/gimme-my-new-job.html' title='Gimme my new job!'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-2352310451115539249</id><published>2011-08-30T16:43:00.003-04:00</published><updated>2011-08-30T16:46:33.685-04:00</updated><title type='text'>More on Hedge Clearing</title><content type='html'>This was done a while back, but thought I'd post. The stumps have been removed:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/house_projects/patio___weeping_tiles_reconstruction/dsc03919.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1160-dsc03919.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A bigger job than it seems, to do without machinery.  Used an axe and shovel to rip em right out.    Grass will eventually be grown there, but that will wait till next year after the weeping tiles are done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-2352310451115539249?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/2352310451115539249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=2352310451115539249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2352310451115539249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/2352310451115539249'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/08/more-on-hedge-clearing.html' title='More on Hedge Clearing'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-4591036939286238637</id><published>2011-08-29T21:46:00.002-04:00</published><updated>2011-08-29T22:05:35.927-04:00</updated><title type='text'>Power outages: A server's worse nightmare</title><content type='html'>So you have a bunch of servers humming away, then suddenly, the power goes out.  No problem, the UPS takes over, and when the battery starts getting low, the VMs are sent a ACPI shutdown, and once they are all shut down, the host is then sent an ACPI shutdown, and everything is gracefully shut down.&lt;br /&gt;&lt;br /&gt;Later, the power comes back up.  I personally like setting my machines to stay off, and I will manually turn them on.  This prevents fast on/off if the power is repeatedly coming on and off  and the battery is depleted.  This is common when the cause of the power is a loose fuse in a pole as it may take a couple tries for the linemen to get it to click in properly... that long pole can't be easy to maneuver!  Anyway, I come home once the power is fully restored, and I turn everything on.&lt;br /&gt;&lt;br /&gt;This is where the problems begin.  When electronic equipment is always on, at some point it's almost like it gets "used to it" and does not like to be shut down then turned on again.  Guess the cooling of the components causes issues with the solder or what not.  So the server boots up fine, I then start all the VMs. Not 5 minutes into booting up, BANG, one drive falls out of the raid 5 array.  I check the serial number and my documentation to check which bay that drive in so I can go swap it with a replacement (I don't have a fancy setup where a light goes on when a drive fails).  BANG! Another drive drops out.  Game over, the raid array is toast. &lt;br /&gt;&lt;br /&gt;After hours of playing around, I actually manage to get the raid array going again.  Some data got corrupted and had to be restored from backups, but I did get it back without going 100% to backups.  BANG a drive drops again.  This time, for fun, I decide to insert it into another slot and let it rebuild.  So far so good, but I can't trust this.  My suspicion is the backplane, cable, or sata controller.  I don't have time to do micro troubleshooting like this... I just want it to work, period. So I order two new backplanes (one is still backordered...) and 4 new drives (2 in there were already less than a week old).  I can manage to get everything to work with just one backplane, and just one loose drive, so I go with that for now.  So I slowly start removing the Hitachi drives and replace them with the new WD blacks letting it rebuild in between. No issues.  I suspect maybe there is something up with those Hitachis so this is just a shot in the dark.  Ironicly I had just finished RMAing 5 of them, which came in the mail the same day as the backplanes. But these particular drives were not showing any signs of issues so it was precautionary.&lt;br /&gt;&lt;br /&gt;So that's done.  Brand new backplane and drives.  So far so good... then I start getting errors like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INFO: task pdflush:14763 blocked for more than 120 seconds.&lt;br /&gt;"echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.&lt;br /&gt;pdflush       D ffff8801dac8fa80     0 14763      2&lt;br /&gt; ffff8800048c9da0 0000000000000046 ffff8800048c9d00 ffffffff8101686f&lt;br /&gt; ffffffff8162a500 ffffffff8162a500 ffff88020f12adc0 ffff8801ff4496e0&lt;br /&gt; ffff88020f12b108 000000020dc05dc6 ffff880028062570 ffff88020f12b108&lt;br /&gt;Call Trace:&lt;br /&gt; [&lt;ffffffff8101686f&gt;] ? read_tsc+0xe/0x24&lt;br /&gt; [&lt;ffffffff81033569&gt;] ? __dequeue_entity+0x61/0x6a&lt;br /&gt; [&lt;ffffffff8100e80e&gt;] ? __switch_to+0x1b0/0x3e0&lt;br /&gt; [&lt;ffffffff812c1f41&gt;] __down_read+0xa3/0xbd&lt;br /&gt; [&lt;ffffffff812c1250&gt;] down_read+0x2a/0x2e&lt;br /&gt; [&lt;ffffffff810c04ff&gt;] sync_supers+0x4a/0xc4&lt;br /&gt; [&lt;ffffffff810946e0&gt;] wb_kupdate+0x35/0x119&lt;br /&gt; [&lt;ffffffff81095163&gt;] pdflush+0x16e/0x231&lt;br /&gt; [&lt;ffffffff810946ab&gt;] ? wb_kupdate+0x0/0x119&lt;br /&gt; [&lt;ffffffff81094ff5&gt;] ? pdflush+0x0/0x231&lt;br /&gt; [&lt;ffffffff81094ff5&gt;] ? pdflush+0x0/0x231&lt;br /&gt; [&lt;ffffffff810534bf&gt;] kthread+0x49/0x76&lt;br /&gt; [&lt;ffffffff81011719&gt;] child_rip+0xa/0x11&lt;br /&gt; [&lt;ffffffff81010a37&gt;] ? restore_args+0x0/0x30&lt;br /&gt; [&lt;ffffffff81053476&gt;] ? kthread+0x0/0x76&lt;br /&gt; [&lt;ffffffff8101170f&gt;] ? child_rip+0x0/0x11&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;VERY bad.  At least, it looks pretty bad.  The task that hangs is random each time, and these errors can go on for pages.  When it happens, all the VMs crash with IO errors.&lt;br /&gt;&lt;br /&gt;Today I ordered a new controller, as that's the only thing that has not been changed short of the motherboard... with sockets changing every couple weeks it seems if I get a new mobo I'll need a new CPU as well, and may as well go with DDR3 and go from 8GB to 16GB.  This server is really getting expensive. &lt;br /&gt;&lt;br /&gt;Reproducing this error is near impossible as well, as I can give the hard drives a run for their money and they still perform fine, and it wont happen, and let it idle, and it may, or may not happen, for days.  What a pain!  It seems to always happen overnight, though there's a few instances where it's happened right in front of my eyes.  Basically when it does, everything just locks up for a good minute or so.&lt;br /&gt;&lt;br /&gt;This is why my next server will be prebuilt. Looking at a Supermicro or even Dell.  Then again, even prebuilts can have their fair share of problems and parts are even harder to get.  So it's a battle between building a whole new server, or getting a prebuilt, but either way, I think this thing is on it's last legs and in dire need of replacement.  I am hoping the new controller will do the trick, however. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-4591036939286238637?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/4591036939286238637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=4591036939286238637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4591036939286238637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/4591036939286238637'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/08/power-outages-servers-worse-nightmare.html' title='Power outages: A server&apos;s worse nightmare'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-1653128554720031775</id><published>2011-07-28T20:41:00.004-04:00</published><updated>2011-07-28T20:52:26.927-04:00</updated><title type='text'>Cleared some heges</title><content type='html'>I will be getting the foundation seal and weeping tiles redone next year, so I decided to start clearing the hedges for the excavator to pass through.&lt;br /&gt;&lt;br /&gt;I even removed a few of the stumps, still need to do the others another time.&lt;br /&gt;&lt;br /&gt;Also got rid of most of the patio stones, someone else was able to use them so they did not go to waste!  Once the weeping tiles are done I will build a wooden deck here instead.  Oh, and that existing deck slab has to go too, that should be some fun.&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1152-dsc03885.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1148-dsc03886.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1149-dsc03889.JPG"&gt;&lt;br /&gt;This stump should be fun to remove.  &lt;br /&gt;&lt;br /&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1151-dsc03890.JPG"&gt;&lt;br /&gt;Removed the first few stumps, thankfully they're rather small.&lt;br /&gt;&lt;br /&gt;Here's an unrelated &lt;a href="http://www.youtube.com/watch?v=F6QbT_A12wQ"&gt;Youtube&lt;/a&gt; video where you can see what it looked like before.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-1653128554720031775?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/1653128554720031775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=1653128554720031775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1653128554720031775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/1653128554720031775'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/07/cleared-some-heges.html' title='Cleared some heges'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-6141711858561636301</id><published>2011-06-29T22:48:00.002-04:00</published><updated>2011-06-29T23:39:55.938-04:00</updated><title type='text'>Crazy day</title><content type='html'>So yesterday was a deployment date for a program used by the entire organization, about 500 computers.  The program itself had been tested by the IS group prior to me writing the install package... they should have given me the info and allowed me to create the install package, THEN test with THAT package, but whatever, they tend to do their own little thing then come rushing to us last minute to get something done.&lt;br /&gt;&lt;br /&gt;So I had about two weeks to put together the install package.  Enough time, but not really enough time to come up with a proper test nor to think up every possible scenario.  I can test all I want in a VM, and the few machines not in use by users, but this environment is a HUGE MESS to begin with.  We are not allowed to perform any type of updates or anything to the computers, and there are so many proprietary apps on select PCs it's sickening. Basically not one computer is the same so results vary on a per computer basis, when doing a deployment. &lt;br /&gt;&lt;br /&gt;So yesterday things were quiet as most people probably did not reboot.  &lt;br /&gt;&lt;br /&gt;Today, it was like opening the floodgates of Hell.  Helpdesk was getting flooded with calls because the program had this weird issue where when you open it, it just closes right away along with other problems.  I was working on trying to figure out WTF it was doing this.  Being a proprietary app itself, there was no documentation or anything to refer to.  Obviously, closed source too, so can't look there.  Basically not much help available.  It's not like you can Google for an answer with an app that is this proprietary. &lt;br /&gt;&lt;br /&gt;We later on figured out that the app requires the folder to be world writable so I wrote a separate script that I can push to change the NTFS permissions with CACLS.&lt;br /&gt;&lt;br /&gt;Found a page with some undocumented features which allows to set group permissions (the documentation only mentions users)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/162786"&gt;http://support.microsoft.com/kb/162786&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Being under pressure, my first attempt at writing a script to push a fix had a typo which caused bigger problems, but I quickly found and fixed it, and within an hour or so everything was golden.&lt;br /&gt;&lt;br /&gt;The IT manager, who is a real asshole, barged in with his typical asshole look on his face and wanted an explanation for everything.  That guy will ensure to take a bad day, and turn it into your worse nightmare.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-6141711858561636301?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/6141711858561636301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=6141711858561636301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6141711858561636301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/6141711858561636301'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/06/crazy-day.html' title='Crazy day'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6321957993466716178.post-3561279642243452932</id><published>2011-06-21T22:42:00.003-04:00</published><updated>2011-06-21T22:48:58.210-04:00</updated><title type='text'>Weekend yard work and stuff</title><content type='html'>Was nice this weekend, got some stuff done, such as trimming my pine tree...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/tree.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1142-tree.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also used a jackhammer for my first time... Did not get much time so decided to rent it for a week when I'm off, will be cheaper as this will probably take a couple days.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/dsc03794.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1140-dsc03794.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gal.redsquirrel.me/images/other/random/deck.JPG"&gt;&lt;img src="http://gal.redsquirrel.me/thumbs/lrg-1143-deck.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oh Yeahhhhhhh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6321957993466716178-3561279642243452932?l=www.redsquirrel.me' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.redsquirrel.me/feeds/3561279642243452932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6321957993466716178&amp;postID=3561279642243452932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3561279642243452932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6321957993466716178/posts/default/3561279642243452932'/><link rel='alternate' type='text/html' href='http://www.redsquirrel.me/2011/06/weekend-yard-work-and-stuff.html' title='Weekend yard work and stuff'/><author><name>Red Squirrel</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
