Five Dollar RF Controlled Light Sockets

This is tens of thousands of dollars worth of market research I’m about to spill, so buckle up. I have a spreadsheet filled with hundreds of projects and products that are solutions to ‘home automation’ according to their creators. The only common theme? Relays. Home automation is just Internet connected relays tied to mains. You’re welcome.

[Todd] over at Fabricate.io found an interesting home automation appliance on Amazon; a four-pack of remote control light sockets for $20, or what we would call a microcontroller, an RF receiver, and a relay. These lamp sockets are remote-controlled, but each package is limited to four channels. Terrible if you’re trying to outfit a home, but a wonderful exploration into the world of reverse engineering.

After cracking one of these sockets open, [Todd] found the usual suspects and a tiny little 8-pin DIP EEPROM. This chip stores a few thousand bits, several of which are tied to the remote control. After dumping the contents of the EEPROM from the entire four-pack of light sockets, [Todd] noticed only one specific value changed. Obviously, this was the channel tied to the remote. No CRC or ‘nothin. It doesn’t get easier than this.

With the new-found knowledge of what each lamp socket was looking for, [Todd] set out to clone the transmitter. Tearing this device apart, he found a chip with HS1527 stamped on it. A quick Googling revealed this to be an encoder transmitter, with the datasheet showing an output format of a 20-bit code and four data bits. This was a four-channel transmitter, right? That’s where you put each channel. The 20-bit code was interesting but not surprising; you don’t want one remote being able to turn of every other 4-pack of lamp sockets.

With all the relevant documentation, [Todd] set out to do the obvious thing – an Arduino transmitter. This was simply an Arduino and a transmitter in the right frequency, loaded up with bit of carefully crafted code. [Todd] also figured out how to expand his setup to more than four lamp sockets – by changing the 20-bit code, he could make his Arduino pretend to be more than one transmitter.

With Arduino-controlled lamp sockets, the world is [Todd]’s oyster. He can add Ethernet, WiFi, Bluetooth LE, and whatever trendy web front end he wants to have a perfect home automation setup. It’s actually a pretty impressive build with some great documentation, and is probably the cheapest way to add Arduino/Internet-enabled relays we’ve ever seen.

 

The Network Of 1-Wire Devices

teensynet

[jimmayhugh] is a homebrewer and has multiple fermentation chambers and storage coolers scattered around his home. Lucky him. Nevertheless, multiple ways of making and storing beer requires some way to tell the temperature of his coolers and fermenters. There aren’t many temperature controllers that will monitor more than two digital thermometers or thermocouples, so he came up with his own. It’s called TeensyNet, and it’s able to monitor and control up to 36 1-wire devices and ties everything into his home network.

Everything in this system uses the 1-Wire protocol, a bus designed by Dallas Semiconductor that can connect devices with only two wires; data and ground. (To be a fly on the wall during that marketing meeting…) [jimmay] is using temperature sensors, digital switches, thermocouples, and even a graphic LCD with his 1-wire system, with everything controlled by a Teensy 3.1 and Ethernet module to push everything up to his network.

With everything connected to the network, [jimmay] can get on his personal TeensyNet webpage and check out the status of all the devices connected to any of his network controllers. This is something the engineers at Dallas probably never dreamed of, and it’s an interesting look at what the future of Home Automation will be, if not for a network connected relay.

Home Automation

Home Automation With A Custom Wireless Sensor Network

We’re no strangers to home automation projects around here, but it’s not often that you see one described in this much detail. [Paul] designed a custom home automation system with four teammates for an undergraduate thesis project.

The system is broken into two main components; the server and the peripherals. The team designed their peripherals from early prototypes of an upcoming ArduIMU v4 measurement unit. They removed all of the default sensors to keep costs down and reduce assembly time. The units can them be hooked up to various peripherals such as temperature sensors, mains relays, RGB color strips, etc.

The central management of the system is performed using a web-based user interface. The web server runs on Java, and interacts with the peripherals wirelessly. Basic messages can be sent back and forth to either read the state of the peripherals or to change the state. As far as the user is concerned, these messages appear as simple triggers and actions. This makes it very simple to program the peripherals using if, then, else logic.

The main project page is a very brief summary of what appears to be a very well documented project. The team has made available their 182 page final report (pdf), which goes into the nitty-gritty details of the project. Also, be sure to watch the demonstration video below. Continue reading “Home Automation With A Custom Wireless Sensor Network”

Twittering Chicken Coops, Batman!

By now you’ve seen almost anything Tweet. But have you seen the (French) twittering chicken coop? (Google translate link) [Hugo] had kept two chickens as part of a household-waste reduction campaign, and then afterward started work.

Even if you don’t read French, the chickens’ twitter feed basically tells the story.

The setup can take IR photographs of sleeping chickens and notify [Hugo] when it’s time to collect the eggs. Naturally, an abundance of other sensors are available. The coop can tweet based on ambient temperature, nest temperature, light level, motion sensor status, or the amount of remaining chicken feed. You can easily follow whether the two fowl are in the coop or out in the yard. It’s like Big Brother, only for birds.

The application is, frankly, ridiculous. But if you’re into home (or coop) automation, there’s a lot to be learned and the project is very well documented. [Hugo] used OpenCV for visual egg detection, and custom Python code to slightly randomize the tweets’ text. All of these details are up on his Github account.

And if you just can’t get enough chicken-coop hacks, be sure to check out this mobile chicken coop, this coop in the shape of a golden spiral, or this Bluetooth-enabled, talking chicken coop, among others. You’d think our name was Coop-a-Day.

THP Hacker Bio: IamTeknik

[IamTeknik]’s reason for entering his home automation assistant into The Hackaday Prize is simple; we have smart phones, TVs, and even smart cars. Why not a smart house?

Like its namesake from Iron Man, Project Jarvis is an intelligent assistant with a bit of home automation thrown into the mix. The hardware includes the usual relays and door locks, but that’s just the start of it. There’s also a personal digital assistant, living somewhere in the space between the hardware modules and [IamTeknik]’s smartphone. Here, voice recognition, speech synthesis, and a Siri-like functionality is the name of the game. Jarvis is capable of answering questions, compiling reports, reading social network messages, and automating everything connected to the main base station over the Internet.

[IamTeknic] has been busy studying computer systems engineering and of course working on his project for The Hackaday Prize lately, but he was able to sit down and answer a few questions for our THP hacker bio. You can check that out below, along with a few demos of what his personal Jarvis can do.

Continue reading “THP Hacker Bio: IamTeknik”

THP Semifinalist: The Moteino

One of the apparent unofficial themes of The Hackaday Prize is the Internet of Things and home automation. While there were plenty of projects that looked at new and interesting ways to turn on a light switch from the Internet, very few took a good, hard look at the hardware required to do that. [Felix]’s Moteino is one of those projects.

The Moteino is based on the Arduino, and adds a low-cost radio module to talk to the rest of the world. The module is the HopeRF RFM12B or RFM69. Both of these radios operate in the ISM band at 434, 868, or 915 MHz. Being pretty much the same as an Arduino with a radio module strapped to the back, programming is easy and it should be able to do anything that has been done with an ATMega328.

[Felix] has been offering the Moteino for a while now, and already there are a few great projects using this platform. In fact, a few other Hackaday Prize entries incorporated a Moteino into their design; Plant Friends used it in a sensor node, and this project is using it for texting and remote control with a cell phone.


SpaceWrencherThe project featured in this post is a semifinalist in The Hackaday Prize.

THP Entry: Cut Energy Consumption By 30 Percent With This WiFi XBee Setup

5277901405891974757

Let’s be honest. Paying electricity bills sucks. The amount paid is always too much, and the temperatures in the building are rarely set at a comfortable level. But now, with the help of this DIY Climate Control system, power-users can finally rejoice knowing that the heating and cooling process of their home (or commercial space) can be easily controlled through the utilization of an XBee Remote Kit and a process called zoning.

The team behind the project is [Doug], [Benjamin] and [Lucas]. They hope to solve the inconsistent temperature problems, which are caused by a moving sun, by open-sourcing their work into the community.

Their XBee system runs on a mesh network making it a perfect tool for sensing and communicating which areas in the house are too hot or too cold. Once the data is collected, XBee modules route the information wirelessly to each other until it reaches a central Arduino gatekeeper; which then decides if it wants to heat, ventilate, or air condition the room.

Not to mention all the added benefits posted below:

Continue reading “THP Entry: Cut Energy Consumption By 30 Percent With This WiFi XBee Setup”