Home Automation

Last year I got a free Intel Edison from Hackaday and only recently started seriously using this cool platform.  I’m disappointed that Intel no longer makes it, or the Galileo anymore considering how POWERFUL this little thing is.  It has a gigabyte of RAM, 20 GPIO pins, I2C, SPI, 6 analog inputs, Wifi on chip, Bluetooth, and it runs Linux (Yocto)!  And it’s smaller than a credit card!   I only wish I had started to play with this thing earlier.   I now have Node-RED running on it and an MQTT broker.   I also have a Raspberry Pi W running (incredibly, I think) a Node-RED instance and, likewise, an MQTT broker.

My IoT sandbox.

So in the picture you see my portable breadboard I made with a surplus +/-12V and +5v power supply.  Originally I made it so I could attach my Dallas Semiconductor (now Maxim) TINI microcontroller.   At the time (20 years ago!) it was really cool in that it had a Java JVM, an Ethernet port, and a 1-wire RJ11 port.   I still have the TINI but compared to the Edison and the Raspberry Pi W, but, well…   So now it has both the Edison and the RPi W (that little green thing in the center).  I also bought the Seeed Grove IoT kit for the Edison and I’m now running Node-RED on both the Edison and the RPi W.   So what I have connected here is the Edison running Node-RED and a flow using Pete Scargill’s cool BigTimer node.   We have outside lights that my wife always has to reset the dumb mechanical timer because of the seasons.  So I discovered Node-RED and it IS amazing: drag and drop nodes on a “flow”, connect them up, deploy the flow, and voila, a running program!   So in this case, the flow running on the Edison sends a message to an MQTT broker, the Raspberry Pi W is running a flow that “listens” to that broker, and turns a light on or off depending on the time that dusk occurs for my geographical location.   I have a few other things I’d like to update…like the gate to the back yard.  It’s sometimes a total pain (read PITA), to make sure it’s locked and when it is I can’t get in except through the garage.  I haven’t seen any IoT gate latches on the market; I’d like to have something like the electronic locker locks at our local gym – but with Wi-Fi.