[WiLamp] Home Automation using ESP8266 and Android | PC Week

[WiLamp] Home Automation using ESP8266 and Android

Wednesday, September 12, 2018

[WiLamp] Home Automation using ESP8266 and Android

Guys Welcome back to another amazing tutorial on Home Automation using ESP8266 and Android. In this tutorial, I will show how to build your own Arduino Automation System with ESP 8266 and Wifi (Without Internet). If you are looking for IOT Project Ideas this project would surely help you.

If you are a beginner to Arduino DIY Automation Projects then I highly recommend you to use WiLamp App and program, because ESP8266 have a lot of programs where you have to enter the local IP address of the board Each time when you start the app.

Home Automation using ESP8266 and Android

WiLamp App is configured with Thunkable and Customised with Vector Images and Icons. The app will work on most of the Android devices but if you encountered any problem please report it to me.

This App doesn't need any pre-configuration which is suitable for Daily Automation Purposes. Just configure the Hotspot in your Android phone and control your Gadgets.

And Another Problem with the automation app is that most of the app works only with but this App doesn't need the Internet at all. It Works with your preset Wifi name and Password. So Just connect with your Hotspot and Control Your Gadgets.

I have provided the App link below. If anyone needs the Source code of WiLamp then you can contact me or comment below. You can modify this code to work with other IOT Project.

Features of WiLamp


  1. One Click Mode
  2. Preset IP Address
  3. No Internet Needed (Works in your Hotspot Region)
  4. Customized App
  5. Optimized Code
  6. Secured With Your Hotspot Connection

Connecting App and Gadgets

WiLamp can be used in any Android versions to control your gadgets. In order to connect your phone to WiLamp, you should need to create a hotspot with the initially programmed Wifi name and Password.

Under 2$
Cheap and Best ESP12
WiLamp IOT Projects can be used with any Wifi enabled microcontroller. This app is specifically made for ESP 8266 boards which I successfully tested and worked perfectly.

Arduino Code is Provided Below
Set Your Hotspot Name and Password pcweek and pcweek123. You can change this by editing the SSID and Password


// WiLamp Version 1
// Made by Muhammed Fasil K-https://github.com/mhdfasilwyd/Arduino_Projects
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
const char MAIN_page[] PROGMEM = R"=====(
  <!DOCTYPE html>
  Ciclk to turn <a href="ledOn">LED ON</a><br>
  Ciclk to turn <a href="ledOff">LED OFF</a><br>
IPAddress staticIP(192, 168, 43, 90);
IPAddress gateway(192, 168, 43, 1); 
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(8, 8, 8, 8);  //DNS
const char* deviceName = "pcweek";
#define LED 2
const char* ssid = "pcweek";
const char* password = "wilamp123";
ESP8266WebServer server(80);
void handleRoot()
 String s = MAIN_page;
 server.send(200, "text/html", s);
void handleLEDon() {
 Serial.println("LED on page");
 server.send(200, "text/html", "LED is ON");
void handleLEDoff()
 Serial.println("LED off page");
 server.send(200, "text/html", "LED is OFF");
void setup(void){
  WiFi.begin(ssid, password);
  WiFi.config(staticIP, subnet, gateway, dns);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
  server.on("/", handleRoot);   
  server.on("/ledOn", handleLEDon);
  server.on("/ledOff", handleLEDoff);
  Serial.println("WiLamp Server Started");
void loop(void){

If you don't want to install this App or If you are using I Phone then you should open your browser and enter in your browser after configuring your Hotspot.


If you are encountering any errors like this please check if your hotspot is configured or not.


Error 1101 Encounters when the server communication fails. So double check your Hotspot SSID and Password.

You can contribute your Improvement through my GitHub link here

Video Demonstration


We hope you liked this article on Home Automation using ESP8266 and Android You can freely comment your doubts below.

If you liked this article, then please share to the social networking site. You can also find us on Twitter, Facebook, YouTube, and Instagram.

I'm an Electronics Engineer with years of experience in Blogging and DIY Projects. I like to make new gadgets and write contents related to technology and Blogging.

Disclaimer : Muhammed Fasil K is a participant in the Amazon Services LLC Associates Program, an affiliate program to earn commission by advertising and linking sites to Amazon products.