Electronicdesign 13769 Promo 1 0
Electronicdesign 13769 Promo 1 0
Electronicdesign 13769 Promo 1 0
Electronicdesign 13769 Promo 1 0
Electronicdesign 13769 Promo 1 0

Debugging at Home

June 27, 2016
Debugging the high-tech home can get interesting—especially when electrical SNAFUs occur.

I knew things were bad when our sump pump decided to start humming. While it doesn’t get much use, it’s worthwhile to have around because on occasion, there is enough water from heavy rains to cause the pump to run. It was also only the second one used with the house, and we have lived here for decades. Changing it was a pain, but it was a relatively straightforward trip to Home Depot to pop in a replacement.

Of course, things went downhill from there. See, we also have a smaller, less-obvious sump pump for the air conditioner to handle the water generated from cooling the air. The sump pump had an issue because it filled up due to a clog in the tubing used to by the pump to discard the excess water. How I found this out was interesting.

We have a Nest thermostat, and it decided to tell me the wiring was all messed up after the air conditioning shut down (see figure). At first I thought we had a firmware update that messed things up because I had not done any wiring changes. A little more analysis with a volt meter pinpointed the problem.

This is what a Nest tells you when it loses power.

It turns out that the sump pumps have an overflow detection system that shuts off the power to the HVAC system. And that’s good: It never pays to have the air conditioner generating excess water that winds up on the floor. I’ve had to clean up that kind of mess before. The Nest thermostat takes its power from the HVAC system as well, so when there is no power, it generates a bad wiring error. It would be nice if the Nest would report the sump pump issue, but luckily I figured it out on my own.

This meant another trip to Home Depot for a new pump and tubing. The new pump has LED indicators. I have not figured out how to make the Nest indicate the problem in the future, but at least I know what to look for if it happens again.

Power Loss, Network Loss, More Debugging

The low-tech problems provided an interesting contrast to the high-tech ones. About a week after the Nest incident, we had a brownout and eventually power loss. “Equipment failure” was what the PECO recording told me. What happened after the power came on was another matter.

I have an interesting mix of servers, switches, etc., so my home does not have the usual computer complex; it is more akin to a lab or a small business. Recently I set up a surveillance system using the open source Zoneminder platform, along with a few IP cameras that use Power over Ethernet (PoE). After the power outage, the server recovered but the cameras did not.

I was really hoping the power transients hand not fried the cameras. It turns out it was an error on my part because the network switch with PoE support I was using has a feature common on enterprise solutions, whereby the current active settings are not saved permanently until told to do so. This is useful when making lots of changes that might lock up the network, because a reset will restore the old settings. I forgot this little feature and when turning on the PoE support for the ports with the cameras. The default was no power to those ports, hence the dead cameras.

It turns out that the duration of the power outage was the issue because my UPS systems had kept everything running during past, shorter outages.

Figuring out this problem helped with the related one where my gateway server was not running. If I had a simple standalone gateway box this would usually not be a problem, but in this case I run the server as a virtual machine (VM). Guess what: The server hardware hosting the VM has an option to disable VM support. I remember changing this setting but, like the switch, it requires an extra step to make the change permanent.

Things are running smoothly again....almost. I still have to figure out why the keyboard app on my wife’s smartphone is not working.

Looking for parts? Go to SourceESB.

Sponsored Recommendations

Understanding Thermal Challenges in EV Charging Applications

March 28, 2024
As EVs emerge as the dominant mode of transportation, factors such as battery range and quicker charging rates will play pivotal roles in the global economy.

Board-Mount DC/DC Converters in Medical Applications

March 27, 2024
AC/DC or board-mount DC/DC converters provide power for medical devices. This article explains why isolation might be needed and which safety standards apply.

Use Rugged Multiband Antennas to Solve the Mobile Connectivity Challenge

March 27, 2024
Selecting and using antennas for mobile applications requires attention to electrical, mechanical, and environmental characteristics: TE modules can help.

Out-of-the-box Cellular and Wi-Fi connectivity with AWS IoT ExpressLink

March 27, 2024
This demo shows how to enroll LTE-M and Wi-Fi evaluation boards with AWS IoT Core, set up a Connected Health Solution as well as AWS AT commands and AWS IoT ExpressLink security...

Comments

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