Image

Debugging In The Dark

Feb. 6, 2014
Technology Editor Bill Wong debugs his Nest thermostat set up in the dark while running a generator because the latest ice storm knocked out the power.

So what do you do when an ice storm knocks out your power? Well, this time I was prepared, sort of. I live in eastern Pennsylvania north of Philadelphia. Our house is now without power as are a lot of neighbors. We lost a couple trees (Fig. 1) but luckily we had the large ones in the front yard trimmed earlier in the year. We were also the lucky ones that happen to have a gas generator. I took a cue from a couple neighbors that had them last year.

Figure 1. Trees definitely do not like lots of ice. Falling braches and trees wreak havoc with our above ground power lines.

I picked up a Generac GP6500 last year after we lost power for over a week. That trashed the contents of two refrigerators and made it just nasty because of the cold and dark. I had been meaning to get a generator because we lose power for at least a day a couple of times per year. It is why I have more than half a dozen uninterruptable power supplies but they only help when the power is out for a few minutes.

I had done some testing with the set up that includes a manual transfer switch. That swaps out the circuit devices are connected to the generator instead of the regular circuit breakers. I had half a dozen circuits that include important things like refrigerators and the garage door openers (so we can get the cars out). Of course, other important things like lights, the HDTV and all the computers including my servers were on other circuits.

And then there is the heating system. It is a little convoluted because there are three zones. Two are hot water basedboard heat and one is hot water plus forced air. The first two worked just fine and I thought the latter worked when I tested the system before but it did not want to cooperate when the power went out.

The starting using Nest thermostats (Fig. 2) when I reviewed them (see An Elegant Thermostat Designed For The Internet). The baseboard zones with the Nests worked but the Nest that controlled the other zone was out to lunch. Its battery was running down and nothing worked.

Figure 2. The Nest thermostat is a WiFi-based system that can learn what temperatures you prefer and adjust the temperature based on whether you are home or not.

The one that did not work also controls the air conditioner in the summer and there is a separate fan. I started by trying to debug the fan connection after charging the Nest by plugging it into the USB port of my laptop. I discovered the Nest’s debug capabilities because it knows what wires are connected and tracks the power connections so it was able to tell me there was no power for the fan. It does not sound like much but it takes awhile to walk around in the dark to find this stuff.

Unfortunately this Nest is in a hallway where it was dark since I didn’t hook up all the lights in the house. It is rather large with dozens of breakers so there is a lot the generator does not handle. I verified the lack of power using a multimeter and then went down to the basement to try to figure out what was up. Tracking the wires using a flashlight was not much fun but I eventually found where the wiring for the thermostat split. A couple wires went to the hot water system and they were hot, electrically speaking. The other wires for the fan and air conditioner were not.

What I finally figured out was the fan is on the 220 volt circuit pair for the air conditioner. My initial test of the system worked because I did not take the air conditioner off line. Of course, with the power out, that circuit was dead. So here we are with hot water but no fan.

Unfortunately this is going to take some outside support. I could probably rewire things so they would work but since I normally have someone else service the system they might like to know what is going on. I am not sure if the fan can be moved to the circuit that the heater is on but that would fix the problem.

I am now out of the dark where the lights, HDTV and laptops are running. Luckily this area is in the zone where we have heat. It is likely to be a couple of days before we get power back. Hopefully it will not be another week but there are thousands of people without power so it takes time.  On the plus side, it was warm today so the ice was melting but more bad weather is on the way. I am just glad I will not have to debug my alternate power system in the dark with a flashlight.

If you are nearby I hope you have power or get it back very soon. I’ll tweet when it does.

About the Author

William Wong Blog | Senior Content Director

Bill Wong covers Digital, Embedded, Systems and Software topics at Electronic Design. He writes a number of columns, including Lab Bench and alt.embedded, plus Bill's Workbench hands-on column. Bill is a Georgia Tech alumni with a B.S in Electrical Engineering and a master's degree in computer science for Rutgers, The State University of New Jersey.

He has written a dozen books and was the first Director of PC Labs at PC Magazine. He has worked in the computer and publication industry for almost 40 years and has been with Electronic Design since 2000. He helps run the Mercer Science and Engineering Fair in Mercer County, NJ.

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!