Random Nerd Tutorials
Shares

Category Archives for Home Automation

Build a Night Security Light with Arduino

Shares

In this project you’re going to build a night security light with a relay module, a photoresistor and an Arduino.

Continue Reading

ESP8266 Publishing DHT22 Readings to SQLite Database

Shares

In this project you’ll create a standalone web server with a Raspberry Pi that displays temperature and humidity readings with a DHT22 sensor that are stored in an SQLite database. In order to create the web server you will be using a Python microframework called Flask. Here’s the high level overview of the system: Recommended […]

Continue Reading

ESP8266 Publishing DHT22 Readings with MQTT to Raspberry Pi

Shares

In this project you’ll create a standalone web server with a Raspberry Pi that displays temperature and humidity readings with a DHT22 sensor. You can also control two outputs from an ESP8266 using MQTT protocol. In order to create the web server you will be using a Python microframework called Flask. Here’s the high level […]

Continue Reading

Arduino Ethernet Web Server with Relay

Shares

This posts shows how to build an Arduino Ethernet web server that controls a relay that is attached to a lamp. You can access your web server with any device that has a browser and it’s connected to the same network.

Continue Reading

Testing Mosquitto Broker and Client on Raspbbery Pi

Shares

In this post you’re going to test the Mosquitto Broker and Client on a Raspberry Pi by subscribing to an MQTT topic and publishing sample messages.

Continue Reading

How to Install Mosquitto Broker on Raspberry Pi

Shares

In this post you’re going to install the Mosquitto Broker on a Raspberry Pi. The broker is primarily responsible for receiving all messages, filtering the messages, decide who is interested in it and then publishing the message to all subscribed clients.

Continue Reading

What is MQTT and How It Works

Shares

In this post, I’m going to introduce you to the MQTT protocol. MQTT stands for MQ Telemetry Transport. It is a nice lightweight publish and subscribe system where you can publish and receive messages as a client.

Continue Reading

Reprogram Sonoff Smart Switch with Web Server

Shares

In this post, you’re going to learn how to flash custom firmware in the Sonoff device, so that you can control it with your own web server. I recommend that you read my previous post to get familiar with the Sonoff.

Continue Reading

How to Flash a Custom Firmware to Sonoff

Shares

In this post, you’re going to learn how to flash custom firmware to the Sonoff device. I recommend that you read my previous post to get familiar with the Sonoff.

Continue Reading

Sonoff – $5 WiFi Wireless Smart Switch Introduction

Shares

In this post, you’re going to learn how to control an outlet from anywhere in the world using the Sonoff device. The Sonoff is a device that you put in series with your power lines allowing you to turn any device on and off.

Continue Reading

ESP8266 0.96 inch OLED Display with Arduino IDE

Shares

This post shows how to use the 0.96 inch OLED display with the ESP8266 using the Arduino IDE.

Continue Reading

Upgrade from Node-RED-Contrib-UI to Node-RED-Dashboard

Shares

If you followed the Build a Home Automation System for $100 course prior to August 27 2016, you know that I’ve used Node-RED-Contrib-UI to build the user interface for the home automation system. But, sadly the guy that developed the Node-RED-Contrib-UI will no longer be able to update that package. Luckily, the Node-RED team announced that […]

Continue Reading

$10 DIY WiFi RGB LED Mood Light with ESP8266 (Step by Step)

Shares

In this project, I’ll show you how you can build your own mood light. You’ll use an ESP8266 to remotely control the color of your light using your smartphone or any other device that has a browser. This project is called $10 DIY WiFi RGB LED Mood Light.

Continue Reading

ESP8266 DHT11/DHT22 Temperature and Humidity Web Server with Arduino IDE

Shares

In this project you’ll create a standalone web server with an ESP8266 that displays the temperature and humidity with a DHT11 or DHT22 sensor.

Continue Reading