ESP8266 Environment Widget – Software

Last post I mentioned how I got an ESP8266 board.  Well, I’ve put together that with a DHT11 and MQTT to create a widget that senses temperature and humidity, then posts that on a regular basis to your MQTT message broker.  The data comes out in JSON format for ease of use.  I’ll cover the hardware later, once I get the rest of my prototype boards.

Read More

ESP8266 First Steps

The ESP8266 is a ridiculously cheap ($2 or so from China), WiFi equipped breakout board which has a 32-bit microcontroller and Flash (1MB) onboard.  It comes in a bunch of different versions (mine is an ESP-01), and all with different Flash capacities.  The pinout of the one I have appears below;

Read More

Blog now uses HTTPS!

With the release of LetsEncrypt to the public, I’ve reconfigured my blog server to use HTTPS.  Setup was pretty straightforward, I just followed the nginx setup guide.  Notably though, my highly restrictive nginx setup didn’t work with the rules they described.  Instead, I needed this fragment to get the Let’s Encrypt authentication challenge to pass;

Read More