Mozilla WebThings: An Open Platform For Building IoT Devices

Mozilla recently officially released their IoT platform. This framework comes with “Gateway” software that can run on a Raspberry Pi and a framework that can run on any number of devices.

As we’ve seen, IoT is a dubious prospect for consumers. When you throw in all the privacy issues, support issues, and end-of-life issues; it gets even worse. Nobody wants their light bulbs to stop working because a server in faraway land shut down, but that’s an hilariously feasible scenario.

WebThings comes with a lot out of the box. It comes with a user interface, logging, rules, and an easy-to-understand API. Likewise the actual framework allows for building on many common devices and can be written in Node, Python, Java, Rust, Micropython, and used as an Arduino library. This opens it up for everything from a eBay ESP32 to a particle board.

We’ve started to notice some projects that use it trickling in on the tip line and on hackaday.io. We’re interested to see what kind of community grows around this, and are curious if it won’t be too long before easy-to-hack kits start showing up on your favorite online retailers.

There’s good documentation and of course, being open source, you can check out the source for yourself.

Build This Handy Leak Detector For $1.02

You’ve probably noticed that modern life has become rather complicated, and the projects we cover here on Hackaday have not been immune to the march of progress. We certainly aren’t complaining, but we’ll admit to the occasional wistful daydream of returning to the days when the front page of Hackaday looked more MacGyver than Microsoft.

Which is precisely why this hacked together water alarm from [dB] is so appealing. Dubbed the “SqueakyLeaks”, this gadget started its life as a simple wireless intruder alarm from the Dollar Tree. When the magnet got far enough from the battery-powered base, a 90 dB warble would kick in and let you know somebody had opened a window or a door they shouldn’t have.

But with a little rewiring and two Canadian pennies serving as contacts, the alarm has been converted to a water detector that can be placed around potential leaky appliances like the water heater or in areas where you want to be alerted to water accumulation such as sumps. They’re basically “set and forget”, as [dB] says the three LR44 batteries used in the alarms should last about two years. Though with a BOM of $1.02 CAD, it’s probably cheaper to just make multiples and throw them out when the batteries die. Continue reading “Build This Handy Leak Detector For $1.02”

An Optocoupler Doorbell Notifier

Over the years we’ve seen several attempts at adding Internet connectivity to the lowly wired doorbell. Generally, these projects aim to piggyback on the existing wiring, bells, and buttons rather than replace them entirely. Which invariably means at some point the AC wiring is going to need to interface with a DC microcontroller. This is often where things get interesting, as it seems everyone has a different idea on how best to bridge these two systems.

That’s the point where [Ben Brooks] found himself not so long ago. While researching the best way to tap into the 20 VAC pumping through his doorbells, he found a forum post where somebody was experimenting with optocouplers. As is unfortunately so often the case, the forum thread never really had a conclusion, and it wasn’t clear if the original poster ever figured it out.

DIY optocouplers wrapped in electrical tape

[Ben] liked the idea though, so he thought he would give it a shot. But before investing in real optocouplers, he created his own DIY versions to use as a proof of concept. He put a standard LED and photoresistor together with a bit of black tape, and connected the LED to the doorbell line with a resistor. Running the LED on 60 Hz AC meant it was flickering rapidly, but for the purposes of detecting if there was voltage on the line, it worked perfectly.

Wanting something slightly more professional for the final product, [Ben] eventually evolved his proof of concept to include a pair of 4N35s, a custom PCB, and a 3D printed enclosure. Powered by a Particle Xenon, the device uses IFTTT to fire off smartphone notifications and blink the lights in the house whenever somebody pushes the bell.

If you’re still wondering why it’s so tricky to connect a microcontroller up to your door bell, a quick look at some of the similar projects we’ve covered should give you a pretty good idea of how annoying these systems can be to modernize.

The MorningRod Wants Your Mornings Easier, Not Harder

Curtains are about as simple as household devices get, but they can be remarkably troublesome to automate. Everyone’s window treatments are slightly different, which frustrates a standardized solution. [dfrenkel] has a passion for DIY and wanted his mornings flooded with sunlight for more peaceful awakenings, so the MorningRod Smart Curtain Rod was born.

Replacing the curtain rod with aluminum extrusion and 3D printed fixtures goes a long way towards standardizing for automation.

MorningRod’s design takes advantage of affordable hardware like aluminum extrusions and 3D printed parts to create a system that attempts to allow users to keep their existing curtains as much as possible.

The curtain rod is replaced with aluminum extrusion. MorningRod borrows ideas from CNC projects to turn the curtain rod into a kind of double-ended linear actuator, upon which the curtains are just along for the ride. An ESP32 serves as the brains while a NEMA17 stepper motor provides the brawn. The result is a motorized curtain opening and closing with a wireless interface that can be easily integrated into home automation projects.

[dfrenkel] is offering a kit, but those who would prefer to roll their own should check out the project page on Thingiverse.

The World’s Smallest Vacuum In An Altoids Tin

There’s been a lot of Altoids tin hacks over the years, but a vacuum cleaner in a tin is something new. In [Toby Bateson]’s first project on Hackaday, he used simple household items to create a functioning vacuum cleaner to use for sucking crumbs out of your keyboard or paper punch holes off your desk.

The vacuum features a retractable suction tube, a low-profile switch, and a bagless waste collection system (the waste is stored and discarded out from the tin itself). A brushed motor and impeller provide the airflow. A scrap of a beer can mounted on the shaft is used for an impeller blade, and two bolts with a thin metal sheet between them are made into a switch (the instructions recommend you finish your drink before using the scrap metal). A sponge is used for filtering the dirt from the motor while a hole is cut out of the top of the tin to provide airflow.

[Bateson] is looking to put his name in the world record book for the world’s smallest vacuum tube, as he recently created an even smaller vacuum in a 1cc tube.

“Oh dear, I’ve spilled something on my desk, whatever am I going to do? Luckily, I have my vacuum cleaner in an Altoids tin…”

Continue reading “The World’s Smallest Vacuum In An Altoids Tin”

Teardown: Quirky Egg Minder

Many of the biggest stars are hesitant to do sequels, believing that the magic captured the first time around is hard to reproduce in subsequent productions. As I’m known (at least around the former closet that now serves as my home office) as the “Meryl Streep of Teardowns”, I try to follow her example when it comes to repeat performances. But if they could get her to come back for another Mamma Mia film, I suppose I can take a look at a second Quirky product.

An elderly egg calls to inquire about euthanasia services.

This time around we’ll be looking at the Quirky Egg Minder, a smart device advertised as being able to tell you when your eggs are getting old. Apparently, this is a problem some people have. A problem that of course is best solved via the Internet of Things, because who wouldn’t pay $80 USD for a battery-powered WiFi device that lives in their refrigerator and communicates vital egg statistics to an online service?

As it turns out, the answer to that question is “most people”. The Egg Minder, like most of its Quirky peers, quickly became a seemingly permanent fixture of retailer’s clearance shelves. This particular unit, which I was able to pick up new from Amazon, only cost me $9.99. This is still more than I would have paid under normal circumstances, but such sacrifices are part and parcel with making sure the readers of Hackaday get their regular dose of unusual gadgetry.

You may recall that our last Quirky device, the “Refuel” propane tank monitor, ended up being a fantastically engineered and built piece of hardware. The actual utility of the product was far from certain, but nobody could deny that the money had been spent in all the right places.

What will the internals of the Egg Minder reveal? Will it have the same level of glorious over-engineering that took us by surprise with the Refuel? Will that zest for form over function ultimately become the legacy of these Quirky devices, or was it just a fluke? Let’s crack this egg and find out.

Continue reading “Teardown: Quirky Egg Minder”

Dry Your Clothes In One Minute Or Less

If you’re like most people, then washing clothes is probably a huge pain for you. Figuring out the odd number of minutes necessary to run a wash and dry cycle, trying desperately not to end up with clothes that are still wet, and worst of all having to wait so long for your clothes to be clean can be a real hassle.

One team of inventors decided to build Eleven, a dryer that dries and sanitizes clothes in a minute or less. As explained in their demo video, clothes are placed around the center tube and dried by the airflow initiated by Eleven. Fragrance and ozone is injected to prevent bacteria from causing bad smells.

The team experimented with ultrasonics and microwave-vacuum system, and ultimately decided to use a method that controls the flow of air within the fabric. A steam generator sprays the clothes with a disinfectant while a filter quarantines the chemicals to a receptacle within the device.

They also installed sensors to monitor the performance of the machine remotely, allowing users to track their clothes and the health of the machine even when they aren’t home. Something we’ve previously seen done in the DIY space.

It might not be the futuristic heat-free clothes dryer we were promised, but Eleven certainly looks like a step in the right direction.