RFM69 To MQTT Gateway On The Super-Cheap

[Martin] is working on a RFM69-to-MQTT bridge device. If you’re at all interested in DIY home automation, this is going to be worth following. Why? When your home automation network gets big enough, you’re going to have to think seriously about how the different parts talk to each other. There are a number of ways to handle this messaging problem, but MQTT is certainly a contender.

MQTT is a “lightweight” publish-subscribe framework that’s aimed at machine-to-machine data sharing, and runs on top of a normal TCP/IP network. IBM has been a mover behind MQTT since the beginning, and now Amazon is using it too.

But most MQTT servers need a TCP/IP network, which pretty much means WiFi, and this can be a killer for remote sensors that you’d like to run on battery power, or with limited processing power. For these use cases, a low-power, simple sub-gigahertz radio module is a better choice than WiFi. But then how to do you get your low-power radios to speak to your MQTT devices?

That’s the point of [Martin]’s MQTT bridge. Previously he had built a sub-gig radio add-on for a Raspberry Pi, and let the Pi handle the networking. But it looks like there’s enough processing power in a lowly ESP8266 to handle the MQTT side of things (over WiFi, naturally). Which means that you could now connect your 868 MHz radio devices to MQTT for less than the cost of two pumpkin spice, double-pump lattes.

On the firmware side, [Martin] has enlisted the help of [Felix], who developed the Arduino-plus-RFM69 project, the Moteino. [Felix] has apparently ported his RFM69 library to the ESP8266. We’re dying to see this working.

For now, we’ve got some suggestive screenshots which hint at some LAN-exposed configuration screens. We’re especially interested in the RFM + MQTT debug console window, which should really help in figuring out what’s gone wrong in a system that spans two radio protocols.

The bottom line of all of this? Super-cheap, power-efficient RFM69-based radio nodes can talk with your sophisticated MQTT network. Keep your eyes on this project.

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.