Ask Hackaday: Wink Hubs, Extortion As A Service?

Wink Labs just announced that their home automation hub, the Wink Hub, is “transitioning to a $4.99 monthly subscription, starting on May 13, 2020.” Should you fail to pay the fiver every month, you will lose access to their app, voice control, and automations, which is everything it does as far as we can tell.

This is an especially bitter pill to swallow for Hub users, because the device was just that — a hub. It speaks Bluetooth, Z-Wave, ZigBee, WiFi, Kidde, and a couple other specific device protocols, interfaces with Amazon’s Alexa, has a handy Android master panel app, and had a nice “robot” system that made the automation side of “home automation” simple for normal people. In short, with its low one-time purchase price, compatibility with many devices, nice phone app, and multiple radios, it was a great centerpiece for a home-automation setup.

“Nice home automation system you’ve got there. Would be a shame if anything happened to it.”

Continue reading “Ask Hackaday: Wink Hubs, Extortion As A Service?”

Three-Dollar Router Rebooter Has One Job

Sometimes connectivity problems go away by power cycling a router. It’s a simple but inconvenient solution to a problem that shouldn’t exist, but that didn’t stop [Mike Diamond] from automating it for a few bucks in parts. The three-dollar router rebooter may be a simple device with only one job, but it’s well documented and worth a look.

The device is an ESP8266 board configured to try to reach Google periodically via the local wireless network. If Google cannot be reached, the board assumes a reboot is needed and disconnects the 12 V power supply from the router by using a relay. Then, after a delay, power is re-connected and all of one’s problems are over until the next time it happens. [Mike] used a relay module that has built-in screw terminals and a socket for the ESP8266-01, so it looks like the whole device can be put together without soldering a thing.

While the code for making this happen may sound trivial, [Mike] nevertheless delves into documenting it. It makes a great example of how to implement a simple event-driven finite state machine in a way that’s clear and concise. By structuring the code so that there is a finite number of specific states the device can be in (router power on, router power off, and testing connection) and by defining exactly how and when the device switches between those states, operation and troubleshooting becomes a much more manageable job. Another great example is this IoT Garage Door Opener project. If you’re programming devices that interface to physical things, these techniques are definitely good practice.

Given Enough Time, Even A Circle Can Get Complicated

With the weather getting a little nicer, [Michael] thought that running some plant hangers off on his CNC router would be a simple stay-at-home project. After all, you just need to cut a couple circles out of a sheet of plywood…right?

Sure, but [Michael] realized that simply cutting out a ring wasn’t a very efficient approach. Unless you happen to need progressively smaller plant hangers, or maybe a new set of drink coasters, the center disc ends up being wasted material. That might not have been a big deal a few months ago, but when a trip to the Home Depot for more plywood could literally be hazardous to your health, that kind of inefficiency just won’t do.

He reasoned it would be better to break the ring down into sections, which could easily be nested so they fit neatly on a square plywood panel. Of course, now those sections need to be connected to each other in a way that’s strong enough for the ring to hold up the weight of the plant.

So that means extra pieces need to be cut out to serve as braces, and you’ll need to screw it all together, so better add some nuts and bolts to the BOM. You’ll probably want some eye bolts as well, but in a pinch you could just weld washers to the heads of screws like [Michael] did once he ran out of the good stuff.

Some would argue that the time [Michael] spent coming up with this revised design is more valuable than the wood he avoided wasting, which might be true if he was on the job and getting paid hourly. But when it’s a personal project, and quarantine has made sourcing materials difficult, we think it’s a fantastic example of working with what you’ve got on hand.

Get Quarantine Fit With This Smart Pull-up Bar

Most gyms are closed right now due to social distancing rules, which is what we’re using as our latest excuse to justify our sloth-like lifestyle. But apparently some people miss working out enough that they’re putting together impromptu home gyms. [Michael Pick] has even outfitted his DIY pull-up station with an Arduino to keep track of his exercise while on lockdown. You may not like it, but this is what peak performance looks like.

Can you beat the HaD high score?

In the video after the break, [Michael] explains the design and construction of the bar itself which technically could be thought of as its own project. Obviously the Arduino counter isn’t strictly necessary, so if you just wanted to know how to put some scraps of wood and suitably beefy rod together in such a way that it won’t rip off the wall when you put your weight on it, this video is for you.

Towards the end of the video, he gets into an explanation of the electronic side of the project. Inside the 3D printed enclosure is an Arduino Pro Mini, a HC-SR04 ultrasonic sensor, and a 1602 serial LCD. Once the gadget has been mounted in the proper position and activated, it will count how many pull-ups [Michael] has done on the screen.

While we historically haven’t seen a whole lot in the way of homebrew exercise equipment, the current COVID-19 situation does seem to be getting the adrenaline flowing for some of you. We recently covered some DIY dumbbells made from hardware store finds that would be an excellent first project for any hackers who’ve recently been ejected from the Matrix and are trying to use their muscles for the first time.

Continue reading “Get Quarantine Fit With This Smart Pull-up Bar”

Any Remote Can Be A Universal Remote

Everyone has a stack of old infra-red remote controllers lying around, for devices that have long since shuffled off this mortal coil. Containing little more than an application-specific encoder chip, keyboard, and IR LED, they’re of little use unless you happen to have another device that uses the same encoding scheme. For [RiYa] though they represent an opportunity, to be repurposed into controllers for other devices. How? Hijack the bitstream with an ATtiny13 microcontroller, re-encode it, and send it out afresh into the ether from the LED. It’s a gloriously simple solution which we can’t help applauding, and has the potential to cheaply replace all those universal remotes.

The ATtiny itself along with a buffer to drive the LED is mounted on a small breakout board and concealed within the shell of the remote. We don’t learn much about the power supply arrangement, but we’d expect the ATtiny to be on its most power-sipping behaviour as anything which would shorten the battery life of a remote would be unlikely to be popular with a couch potato forced to change AA cells every few weeks. There’s a plan for a learning mode to make it more like a commercial universal remote, but for now the translation is hard coded.

Of course, should you lack a handy old remote to play with, you can always try a smartphone.

Roll Your Own Automation With ESPHome

There are several different paths to a smart home, and [Marcus] eventually settled on using ESPHome and ESP8266/ESP32 based devices to create a complete DIY smart home solution which covers his garage door, sprinklers, LED strips, light bulbs, and outlets. There’s even an experimental (and very economical) ESP32-CAM based camera, shown here.

In fact, [Marcus]’s write-up could double as a sort of reference design. If you’re curious about ESPHome, be sure to read what he has to say because he explains exactly how he configured each device and any challenges he encountered in the process.

Beyond the software guidance, the post is also a great resource on how to flash a new firmware onto several different smart devices. [Marcus] provides nicely labeled images of the boards that show where you need to connect your programmer, which just might save you some trouble down the line. Though he did manage to set fire to one of the bulbs, so keep an eye out for that.

Tasmota is another open source option for controlling ESP8266-based devices, and if you’d like to explore that direction don’t forget that flashing Sonoff devices with Tasmota firmware recently got much, much easier.

A Gambler’s Bottle Opener

People can certainly become creative when it comes to completing simple tasks like that of removing a bottle cap. Woodworker [Matt Thompson] has come up with a next-level bottle opener that not only does the job but also functions as a game of chance. (Video, embedded below.)

The process usually starts with a spin of his chore wheel that will surprisingly often advise you to drink a beer. While the bottle cap is removed by a standard wall-mounted opener, the fun starts when the cap falls through a wooden labyrinth of various mechanisms reminiscent of a Rube Goldberg machine. Finally, the cap goes through an arrangement of nails, known as a Galton Board which is also found in some pinball and historic gaming machines, before landing in one of two containers marked “winner” and “try again”. The former will trigger the rotating wheel of a self-built peanut dispenser to provide the thirsty person with some tasty snacks. While we would love to see a making-of video with more technical details of this project, we still appreciate the exquisite woodworking and fine craftsmanship that went into building it.

By the way, if you are ever in need of an Arduino board that can also serve as a bottle opener then have a look at HaDuino.

[Thanks to Emanuel for pointing out the proper name of the Galton Board]

Continue reading “A Gambler’s Bottle Opener”