[ale] IoT

Chris Fowler cfowler at outpostsentinel.com
Tue Jul 26 21:55:07 EDT 2016


> From: "Jim Kinney" <jim.kinney at gmail.com>
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Sent: Tuesday, July 26, 2016 9:06:54 PM
> Subject: Re: [ale] IoT

> What's your replacement for zigbee?
NodeMCU ESP-12Es. 

I started using one to monitor moisture in a ceiling after a bathroom remodel to a tiled shower. I then added temp/humdity. I then added power control, etc. 

Each runs MQTT. I'm running Mosquitto on Linux. 

To bridge my X10 legacy power control I wrote a program that subscribes to x10/<house>/<device> topics. It then executes bottlerocket using a firecracker on ttyS0. I have a device that will allow Linux to read X10 messages on power, but I have to build it. Once done then my X10 button transmit devices can bridge to MQTT. 

You can buy NodeMCUs from Amazon for about $10. China about $3. Relay for power control about $1. I have found some pre-made devices for around $7 that can be reprogrammed. The benefit is that they include the enclosure. 

Using esp-link firmware you can take the NodeMCU and turn it into a "wifi shield" for Arduino. I investigated Zigbee and Z-Wave to replace my X10, but I found NodeMCU and will not look back. 

I was using REST and then found MQTT. I wrote a REST to MQTT gateway so I could still use REST from clients if required. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20160726/38f03d83/attachment.html>


More information about the Ale mailing list