Never Miss A Doorbell With This Notifier

[PatH] tells us that he tragically missed a craft beer delivery to his home, and vowed never to let this happen again. His problem was that he’d missed the doorbell, resulting in one of those annoying notes from the delivery guy. His solution? An ESP8266-driven doorbell detector, that both sends him an SMS and records each doorbell press to a Google Sheet.

The doorbell detection is surprising but simple and non-intrusive, instead of running a GPIO line through some kind of interface to the button itself he’s added a reed switch to his ESP8266 board and used that to detect the magnetic field of the bell solenoids. It’s a convenient method, but one that only works with an old-style bell.

When the bell rings the magnetic field triggers the reed switch, and in turn the sketch running on the ESP calls out to IFTTT which triggers both an SMS and a write to a Google Sheets document that records each doorbell activation.

The ESP8266 seems to be a popular choice with doorbell automatprs probably because of its built-in networking and low price, but it’s not the only option. This optocoupler-sensed effort for example uses a Particle Xenon.

LoRa Tutorials For The DIY Masses

LoRa is the go-to tech for low power, long range wireless sensor networks. Designing with off-the-shelf modules can be a boon or a bane depending on the documentation and support. Luckily, [Renzo] has prepared a set of tutorials to get you started.
In his seven part series of write-ups, [Renzo] starts by connecting the E32 module from AliExpress to an Arduino as well as an ESP8266 to demonstrate essential communications. Then he discusses the configuration options and the library he created to make like a bit easier. Following that is a series of posts discussing transmission types as well as power saving methods including sleep modes and wake-on-radio.
The information will be extremely handy for someone starting off with the SX1276/SX1278 Wireless Modules which are relatively inexpensive as opposed to more standardized development kits. We love the abundance of fritzing diagrams, arduino code and helper library and hope someone will build on it. You can get the library from Github for your tinkering pleasure.
If you are looking for ideas for this newly discovered skill, have a look at LoRa Enabled Mailbox as well as Electric Fence Monitoring with The Things Network for a bit of IoT action.

Flashing Sonoff Devices With Tasmota Gets Easier

Tasmota is an alternative firmware for ESP boards  that provides a wealth of handy features, and [Mat] has written up a guide to flashing with far greater ease by using Tasmotizer. Among other things, it makes it simple to return your ESP-based devices, like various Sonoff offerings, to factory settings, so hack away!

Tasmotizer is a front end that also makes common tasks like backing up existing firmware and setting configuration options like, WiFi credentials, effortless. Of course, one can’t really discuss Tasmotizer without bringing up Tasmota, the alternative firmware for a variety of ESP-based devices, so they should be considered together.

Hacks based on Sonoff devices are popular home automation projects, and [Mat] has also written all about what it was like to convert an old-style theromostat into a NEST-like device for about $5 by using Tasmota. A video on using Tasmotizer is embedded below, so give it a watch to get a head start on using it to hack some Sonoff devices.

Continue reading “Flashing Sonoff Devices With Tasmota Gets Easier”

Steel Pegboard Makes For A Tidy Charging Station

Do you have a bunch of electronic devices that all have different styles of chargers and batteries? Of course you do, so does everyone else. While there’s been some headway made towards standardizing on USB (and more recently, USB-C) for charging, there are still plenty of gadgets out there that march to the beat of their own DC adapter. For all those devices, [Tom Barnes] has a tip for making a cheap and easy centralized charging station.

The idea is to get a power strip, ideally one that has a switch on it, and use zip ties to attach it to a piece of pegboard. [Tom] used a nice black steel board which is obviously very strong and shouldn’t be bothered by any potentially high temperatures, but you could get away with the hardware store MDF variety if you had to.

All your chargers, mounted around the periphery of the board with Velcro hook and loop fasteners, have their individual power cords run through to the back of the board where they are nearly routed and zip tied. This is where using the steel pegboard really helped, as it has a lip around the edge that makes a void for all the wires to be run through when hung on the wall. If your particular flavor of pegboard doesn’t have that space behind it, you’d either have to settle for running the wires across the front or build out your own space in the back using a wooden frame.

Even in our high-tech world, no shop is truly complete without pegboard. Whether you’re using it to vertically mount your development boards, or pushing it around on wheels to keep your tools close at hand, there’s no shortage of ways to use this versatile material.

Irrigation Controller Uses Google Calendar To Make Things Easy

Irrigation controllers have been around for a long time, often using similar hardware inside that would be familiar to the average maker. However, many of the products on the shelf at your local hardware store can be quite expensive for what amounts to a microcontroller, display, and relay board. [oscillatory] had such a rig, but wanted to bring it into the 21st century, IOT style.

The existing Holman irrigation system consisted of a control box, hooked up to four solenoid valves controlled by relays. [oscillatory] decided that replacing this with something fancier would thus be straightforward. A relay board packing an ESP8266 was sourced, and flashed with the Tasmota firmware. This was then hooked up to run off the Holman’s 24 VAC supply via a CCTV power supply, allowing the new controller to be run in parallel with the existing hardware, just in case. Scheduling is then controlled by Google Calendar, in concert with Home Assistant.

[oscillatory] now has a watering system that can be controlled over the web, and without the need to install any custom apps. Simply creating a calendar entry is enough for the system to spring into action. We’ve seen others use a similar approach, too.  It’s a great example of using off-the-shelf parts to whip up a useful custom home automation setup!

Custom Firmware For Cheap Smart Bulbs Is A Cinch To Tinker With

It’s the end of another decade, and while we don’t have real hoverboards, flying cars, or affordable dental care, we do have multicolored lightbulbs you can control over WiFi. [Don Howdeshell] picked up a couple of cheap Merkury branded units in a Black Friday sale, and quickly set about hacking them.

By and large, many of these bulbs are manufactured by various companies and rebranded for whoever happens to place an order. The bulbs tend to use the Tuya IOT ecosystem. Based on the ESP8266, reflashing the bulbs with custom firmware is simple, thanks to the Tuya Convert project. Using a Linux computer with a WiFi card running in Access Point mode, it spoofs a server that tricks the Tuya product into downloading a firmware update. From there, the bulb is an open book, ready to do your bidding.

One of [Don]’s attempts didn’t go so swimmingly, however. Flashing the firmware failed and the bulb was non-functional. [Don] elected to to a teardown, photographing it for our perusal, before hooking up to the ESP8266 directly over its serial interface. From there, it was simple to reprogram the bulb with Tasmota firmware, getting it back up and running.

Security alone is a great reason for running your own firmware on IoT devices. It never hurts to know what you’re connecting to your network!

Rental Home Thermostat Gets Smart Upgrade Without Modifying The Dumb Controller

A problem facing those who live in rental properties comes with two prongs: that such properties rarely have up-to-date facilities such as heating controllers, and that landlords tend to take a dim view of tenants installing their own alternatives. [Andy] wanted to upgrade the heating controller in his home and was in this situation, so he came up with a smart controller add-on for the existing mechanical timer that does not irreversibly modify anything and is easily removable when he moves on.

This sounds like an impossible task, but it’s one he’s done very well by mounting a stepper motor on a 3D-printed frame over the timer switch. It’s the type with a motorised ring onto which plastic fingers can be placed to flip a switch on or off; he’s simply removed the plastic fingers and designed a shaft extension for the motor that simulates their passing the switch. He can now turn his heating on and off at will from an ESP8266, in this case on an Adafruit Feather Huzzah.

Behind it all lies Adafruit IO with a custom dashboard — Hackaday’s [Sean Boyce] took this service for a trial run if you’d like his take on it’s features. For this project, Adafruit IO delivered exactly what [Andy] was after but still left a few teething troubles. The stepper needed to be told not to try to hold its position, and moving a stepper very slowly generated wait periods long enough to trigger the ESP’s watchdog timers. Adding in IFTTT gave him the ability to schedule, as well as Alexa control. All in all he’s replicated some commercial offerings with a lot less cost and all without annoying his landlord. You can see it in action in the video below the break.

Continue reading “Rental Home Thermostat Gets Smart Upgrade Without Modifying The Dumb Controller”