DIY Smart Faucet Alerts: An Affordable Home Solution

Smart Faucet Reminder — My DIY Solution

We sometimes forget and leave the kitchen faucet running. I looked into automatic faucets, but they’re expensive and would need a plumber to install. So, like with other things around the house, I started thinking about how I could tie something into our home automation system to warn us when the faucet is on.

On Amazon I found sensors you can install inline with your plumbing. They detect water flow and connect over Wi-Fi or Zigbee so they can integrate with home automation — but they cost over $200 and still require a plumber. Not much better than buying an expensive faucet!

Then I had an idea. Some clamp-on water alarms detect flow just by the sound of running water. Why couldn’t I do the same thing with a microphone and a small computer?

Well, it turns out I can.

First, I experimented on my laptop, which already has a mic. With some help from AI, I “directed” the creation of a Python program that listens through the mic and breaks the sound into all its frequency bands (using an FFT — Fast Fourier Transform). I added a simple graph to show the sound spectrum, and visually discovered where running water has the most energy. With that, we were able to build software logic that detects when the faucet is on or off — and it worked!

Next, I needed something that could stay by the sink. I used a spare Raspberry Pi 4 and a $4 USB mic from an old project, and got the same program running there. After a little tuning, it became a reliable running-water detector. From Python it’s easy to trigger events on my home automation system, so I created a rule: whenever the faucet alarm switch turns on, my living-room speaker announces “Faucet On!”

It works perfectly — and it cost me nothing but a bit of time and curiosity. I saved hundreds of dollars and learned something new in the process.

Reflections on Fame: A Personal Journey

Daily writing prompt
Who is the most famous or infamous person you have ever met?

I was 10 years old in 1968. That year, I built a soap box derby car. I have a fond memory of my father helping me build it—as much as the rules allowed.

When race day came, they set my car and two others on the starting ramp. The ramp was on a road by Lake Ontario that had a steep hill. They let the cars go, and off I went down the hill.

The kid in the next lane swerved into mine, and to avoid hitting him, I turned into the snow fence that lined the road. My wheel caught in the wire, spun the car around, and bent the axle. Needless to say, I didn’t win the race.

Afterward, my father got talking to the men running the race, and soon he joined the committee that was planning a new track. Not long after, he told me he was going on a trip to Akron, Ohio, with other members of the committee for the big national soap box derby day—to see how their track was set up. And he said I could come along.

So my father, I, and others from the committee—and their kids—took a road trip from Rochester, New York, to Akron. We stayed in a fancy hotel for a day or two before the big event. I made friends with another kid, and we noticed a lot of real celebrities were staying there because they were going to be in the big parade on race day.

That gave us a clever idea: we’d hang out in the lobby by the elevator to watch the celebrities come and go.

Once, we saw the actor Lorne Greene from the TV show Bonanza making his way through the crowd in the lobby. He had a man with him clearing a path, and they were heading straight for the elevator. We positioned ourselves right by the doors, and as Lorne Greene and his assistant went in, we slipped in just before the doors closed.

Now, we were just a couple of kids, and we barely knew what to say except “hi.” Lorne Greene reached out and shook each of our hands. We rode with him silently until he reached his floor. He was such a nice guy—friendly and patient—and he didn’t scold us for sneaking in.

It’s one of those memories that has stayed with me all my life—not just the race, but that whole adventure with my dad.

Years later, I almost met Jesse Jackson. I was on a plane in coach, and I could see him a few rows up in first class. Only a few times in my life have I encountered people who seemed larger than life. It’s hard to describe, but they seem to glow with some kind of spiritual power. I don’t know much about him personally, but that was the impression I got from a distance.

For anyone unfamiliar, Reverend Jesse Jackson was a major figure in the civil rights movement, working alongside Martin Luther King Jr. in the 1960s. He later ran for president in the 1980s, becoming the first African American to seriously contend for a major party’s nomination. Known for his powerful oratory and his message of justice and hope, Jackson inspired millions with his phrase “Keep hope alive.”

So while I can’t claim to have met many famous people, I’ve had a few brushes with them—and what I remember most isn’t the fame, but the feeling of being in the presence of someone who carried themselves with grace.

Responsible use of AI, vs AI Slop

I’m impressed by how many posts in my Facebook feed these days appear to be AI generated, including both the text and accompanying photos. Many are clearly pushing falsehoods, and some attribute things to political figures and celebrities who never said such things.

I admit, I use an AI LLM (large language model) to help write posts, but my process is to completely write the post myself based on the truth as I know it, then I run it past AI and ask for a fact check on what I’ve said to keep me honest. A lot of times the LLM wants to rewrite the post, supposedly to improve the grammar and flow. I draw the line there. I may edit my post with some of its suggestions, especially grammar and facts, but I won’t let AI write for me.

AI-generated narrative text often has telltale signs once you’ve read enough of it, but even experienced readers can’t always be sure. Detection tools can help, though they’re not perfect. Clearly social media platforms can use their own AI to detect synthetic content. I stop short of saying platforms should ban it—because that risks a slippery slope toward limiting free speech—but they could at least flag posts with an “AI probability” rating to promote transparency.

On YouTube it’s a different story. Many channels are using AI narrators and AI photos within their videos. In most of those cases, I see it as a practical thing to do. People want to get their ideas out there, they write their own script, but they may not have a good speaking voice, good audio equipment, a budget to pay for voiceovers and stock photos, or even enough command of English to narrate their own videos. YouTube now asks creators to disclose when realistic content is AI-generated, which seems like a fair and responsible approach.

I ran this post past an LLM and let it fold in factual corrections—I left in a telltale sign AI touched the post, can you find it?

Well I’m back after almost a year

My last post was in August 2024, and I’m sorry to say that I haven’t had much time to do anything for a year. My wife was diagnosed with dementia June 2024, and I have been her care giver, so not a lot of time for anything else.

I got a notice today that the domain for this blog needed renewing, so I had to decide quickly whether to let it go or continue.. I decided to continue because by now I have gotten some help to come in to take care of my wife a couple days a week, and so now I’ve been able to do some hobby things I couldn’t really do for the last year.

This blog has revolved around my varied interests, basically whatever I’m working on, and so I think I can continue to do that, plus possibly share some thoughts about what’s involved with caring for a loved one with dementia.

I’ve learned a lot in the last year about care giving, and can say, life ranges from easy, to hard, to very hard. I have learned things that you should do, and come up with a few things of my own that can be done to make things easier, and I’ll try to share that with the caution saying I’m no expert.

For hobby time, I’ve gotten back in to music, since I can do this while my wife is napping or with an aide. I tried to go back to electronics… that’s harder to do, I can find a few minutes here and there to design, but building and debugging take too much attention.

I can say I have used my technology skills to come up with a few things to make things safer for her, and easier for me. Mostly that involved morphing my home automation system (Openhab) into being an aid for myself and aides along the lines of monitoring, alarming, and reminding things related to dementia care giving.