I had a problem: I keep losing control

By Manu, Software DeveloperMar 28, 2019Read time 2 min
I had a problem: I keep losing control

We all encounter a range of everyday problems in our lives, both large and small. At Wunderdog we’re no different, but we do have the advantage of being excellent problem solvers with some pretty advanced technical skills — helping us to find innovative answers to some of life’s tricky problems. In this blog series, we introduce the solutions our employees crafted as part of our open-source program.

A remote problem

Imagine having power outlets at home that you can turn on and off by remote control. Cool, right? I’ve had some for several years now — they come in a pack of three with a simple remote for controlling them.

In general, they worked just as you’d expect them to work, but over time I noticed a recurring problem: I had the outlets in two different rooms and it seemed that the remote control was always either lost or in a different room from me. Not so cool anymore.

As this was clearly unpractical, I started to think of a solution. The more I thought, the more I was convinced that the remote control was pointless. What if the outlets could be controlled by phone, tablet, or computer instead, so long as I was connected to my home network?

A powerful solution

As it turned out, someone had already experienced the exact same problem and crafted a solution for it! All I needed to do was invest a small amount of money in the necessary equipment and dedicate a few nights to modifying the code for my particular needs.

After a couple of long evenings investigating and programming, I had a web application running on Raspberry Pi that enabled me to control the power outlets with any device as long as it is on my home network. And I always have at least one device in the same room as I am!

Tellstick duo controller

Problem solved

Thanks to a few rows of code, I got rid of a useless gadget that always got lost. I’m back in control and everything’s cool again.

Check out my code on Github.

And if you can relate to my problem, here’s how to make your own solution.

Not enough for you? If your inner engineer is like mine and always thinking of improvements, take a look at how I further developed the system to include temperature and humidity monitoring.

This solution was crafted by Jori, a senior software developer at Wunderdog.

Discover more of the everyday struggles — and solutions — of our doggos:

I had a problem: What's your name again?

I had a problem: Baby, it's cold outside!

I had a problem: And the solution was terminal

I had a problem: I keep losing control

I had a problem: I'm a control freak and I think I like it

I had a problem: Don't play it again, Sam!

I had a problem: It's the writing that's wrong


How I half-accidentally committed to an open-source library for the rest of my life / Tailwind CSS-elevation plug-in

If you're looking for new challenges, we're here for you!