Joe Activation with a WiFi-Controlled Electrical Outlet

[Mike] is the only one in his house who drinks coffee, and uses a simple single-serving brewer with no auto-on feature. And since no one really wants to have to stand around making coffee in the morning, [Mike]’s solution was to IoT-ize his electrical socket.

MQTT Dash is an Android app “for nerds only ;)”

The project consists of a relay board controlled by an ESP8266-packing Adafruit Huzzah. It’s all powered by a 9V power supply with a regulator supplying the relay coil and Huzzah with 5V. [Mike]’s using CloudMQTT to communicate with the outlet.

We often see these automation projects hit a wall when it comes to adding a user-side dashboard. [Mike] is using a free Android app called MQTT Dash which allows for a number of different UI components and even had coffee maker icons already built in. It’s certainly worth a look for your own projects. [Mike] uses it to turn on the outlet for 10 minutes, and by the time he grabs half-and-half the outlet is already off again.

It turns out that connecting coffee pots to the Internet is a driving force among out readers. This one alerts the whole office when the coffee is done, while another one is controlled by Alexa. Then again, sometimes all you can do is reverse engineer the Internet of coffee.

Ikea Tradfri Hacking

Smart lighting is all the rage right now. Sure, Phillips Hue is the giant player in the market, but there are plenty of ZigBee, Bluetooth, and WiFi light bulbs out there. Ikea–known for cheap furniture, meatballs, and waffles–is a recent addition to the field with their Tradfri system. Like most things from Ikea, they are effective and inexpensive. [Andreas] takes a Dremel to the controller and shows how to hack the system to use MQTT. You can check out the video below.

Once he had the device opened, the used the German Make magazine article we talked about earlier, to help understand what he had. Armed with the pinout, he was able to solder a wiring harness to the controller. He then connected a WeMos board. A little Arduino code later, and he was controlling the light with MQTT.

Continue reading “Ikea Tradfri Hacking”

Son of Sonoff

We’ve covered the Sonoff a few times–a very inexpensive box with an ESP8266, a power supply, and an AC relay along with a way to tap into a power cord. Very inexpensive means $5 or $6. The supplied software will work with several systems (including, recently, Alexa). But what self-respecting hacker wants to run the stock firmware on something with an ESP8266 inside?

[Tzapu] certainly didn’t. But he also knew he didn’t want to start from scratch every time he wanted to deploy a switch. So he built SonoffBoilerplate and put the code on GitHub. The code manages taking configuration (including network settings) using a web-portal, can update itself over the air, and integrates with Blynk and MQTT. If you don’t like that code base, there are other choices including one that has a failsafe reconfiguration mode.

Continue reading “Son of Sonoff”

The Internet Connected Dog Treat Machine

[Eric] and [Shirin] have a dog called [Pickles], who is the kind of animal that if you are a dog lover you will secretly covet. They evidently dote upon [Pickles], but face the problem that they can’t always be at home to express their appreciation of him. But rather than abandon him entirely, they’ve applied technology to the problem. [Eric] has built an Internet-connected dog treat dispenser, through which they can dispense treats, and watch the lucky mutt wolfing them down.

The body of the machine has been made with lasercut acrylic, and the dispenser mechanism is a rotating hopper driven by a stepper motor. The whole thing — in all its transparent glory — is controlled through a Raspberry Pi, which plays a sound clip of [Shirin] calling [Pickles] for his treat, records his dining enjoyment with its camera, and emails the result to his owners. Behind the scenes it hosts an MQTT server, which can be triggered via an iPhone app, Alexa, or the site. Imagine for a moment: “Alexa, feed my dog!”. It has a ring to it.

He makes the point that this machine is not simply limited to dispensing treats, it could be used to engage [Pickles] in more activities. He hints at a future project involving a ball throwing device (have you ever seen such joy from a dog). There’s no substitute for being there with your dog, but maybe with this device they can make their dog’s life a little less of, well, a dog’s life.

You can see the machine in action in the video we’ve posted below the break.

Continue reading “The Internet Connected Dog Treat Machine”

Manhattan Marauder’s Map

If you solemnly swear that you are up to no good, and you happen to spend most of your time in Manhattan below the mid-90s, then you will appreciate this Raspberry Pi-based Manhattan Marauder’s Map.

Not that a Harry Potter-themed map was necessarily [GawkyFuse]’s intention when creating this interesting build; it’s just that the old-time print of Manhattan — it shows Welfare Island in the East River, which was renamed Roosevelt Island in 1971 — lends a nice vintage feel to the build. Printed on plain paper, the map overlays a 64×32-LED matrix, which is driven by a matrix HAT riding atop the Pi 3.

[GawkyFuse] uses the OwnTracks app on his and his wife’s iPhone to report their locations back to CloudMQTT. The Pi subscribes to the broker and updates his location in red and her location in blue as they move about the city; a romantic touch is showing a single purple dot when they’re together. There’s no word on what’s displayed when either leaves the map area, but the 2048-pixel display offers a lot of possibilities.

We’ve seen a Weasley clock or two around these parts before, but strangely no Marauder’s Maps like this one. Although this Austrian tram-tracking map comes pretty close to [GawkyFuse]’s nice design.

[via r/raspberry_pi]

A Little IoT for Your PID Tea Kettle

For some folks, tea is a simple pleasure – boil water, steep tea, enjoy. There are those for whom tea is a sacred ritual, though, and the precise temperature control they demand requires only the finest in water heating technology. And then there are those who take things even further by making a PID-controlled electric tea kettle an IoT device with Amazon Echo integration.

Nothing worth doing isn’t worth overdoing, and [luma] scores points for that. Extra points too for prototyping an early iteration of his design on a RadioShack Electronics Learning Lab – the one with a manual written by Forrest Mims. [luma] started out using an Arduino with a Zigbee shield but realized the resulting circuit would have to live in an external enclosure. Switching to an ESP8266, the whole package – including optoisolators, relays, and a small wall-wart – is small enough to fit inside the kettle’s base. The end result is an MQTT device that publishes its status to his SmartThings home automation system, and now responds when he tells Alexa it’s time for tea.

Projects that hack the means of caffeine are no strangers to Hackaday, whether your preferred vector is tea, coffee, or even straight up.

Continue reading “A Little IoT for Your PID Tea Kettle”

Point and Click to an IoT Button

The availability of cheap WiFi boards like the ESP8266 and others means you can inexpensively put projects on the network. But there is still the problem of how to connect these devices to other places reliably. An Open Source project that attempts to make that whole effort point and click is Mongoose OS. The open source system works with the ESP8266, ESP32, and several other platforms. It is well integrated with Amazon’s IoT backend, but it isn’t locked to it.

Everyone wants to be your IoT broker and we see products appear (and disappear) regularly aimed at capturing that market. One common way to send and receive messages from a tiny device to a remote server is MQTT, an ISO standard made with resource-limited devices in mind. Many IoT services speak this protocol, including Amazon’s IoT offering. You can see how quick it is to flash an ESP8266 to make an Amazon IoT button in the video below. Although the video example uses Amazon, you can configure the system to talk to any public or private MQTT broker.

Continue reading “Point and Click to an IoT Button”