IoT Remote Relay with NodeMCU/ESP8266, MQTT/Mosquitto, and Node Red – Part I

My newest hobby is mucking around with the Internet of Things (IoT). A while back I bought several NodeMCU’s from eBay for almost nothing. Along with a relay board (also from eBay), some creative wiring, and a bit of software, I’ve managed to put together a neato remote controlled relay board. In this demo I’ll actually use two NodeMCU’s, one to handle capturing some data from some sensors, and another as part of the relay build.

If you follow this tutorial in entirety, you’ll get a completely functional system where you can remotely turn outlets on/off, and add rules and logic to your setup to do have the outlets turn on and off under certain situations. We’ll be setting our system up to turn on an outlet when our sensor node detects humidity over a certain level.

Read moreIoT Remote Relay with NodeMCU/ESP8266, MQTT/Mosquitto, and Node Red – Part I

NodeMCU IoT – First Thoughts

I’ve tinkered with microcontrollers on-and-off quite a bit throughout my life, mostly sticking with the Arduino boards. My first one was an Arduino Duemilanove circa 2009. As part of a larger project I wanted to dive into something a bit more advanced. By sheer coincidence I came across an advertisement for a NodeMCU. For under $5 you get an Arduino-compatible microcontroller with built-in WiFi. Absolutely perfect for your IoT project. If you hunt around eBay and don’t mind waiting several weeks, you can get them as cheap as even $3 or so.

Read moreNodeMCU IoT – First Thoughts

WordPress + git + nginx = dev workflow success!

I’ve placed myself on a path to better get a grip on git and actually use it in my day-to-day development of this site. In looking up the best practices for running WordPress under git, I ran into a handy slide deck from my WordCamp Columbus buddy @stevegrunwell titled Keeping WordPress Under [Version] Control with GIT. How fancy!

Read moreWordPress + git + nginx = dev workflow success!

OOPS! Don’t forget your WordPress URL when enabling SSL!

Making progress on getting my personal site up-to-snuff, I installed JetPack and ran into some strange issues trying to enable features. I kept getting errors such as “Failed to fetch” when toggling settings in JetPack. Using Chrome’s developer tools, I noticed Chrome was blocking admin.js from being called due to mixed-content errors. I immediately suspected SSL as being the culprit. My site runs on SSL – WordPress was loading on SSL – so why the errors?

Read moreOOPS! Don’t forget your WordPress URL when enabling SSL!