Hey there,
The most common questions I get about the ESP8266 WiFi Modules are: “Is it possible to control my ESP8266 from anywhere in the world?” and “How can I control my ESP8266 from anywhere?”.
I’m happy to announce today that I have a solution for that problem.
Read: Control ESP32 and ESP8266 GPIOs from Anywhere in the World
app.HomeAutomationServer.com has been discounted, please use the new version of this project: Control ESP32 and ESP8266 GPIOs from Anywhere in the World.
Watch the video demonstration below (discontinued)
Step #1 – Register Your Free Account (discontinued)
First you need to create your free account at Home Automation Server. Go to http://app.homeautomationserver.com/register, type all your details and submit your registration.
Then go to your email address, confirm your account and login into your account.
Important: Please note that this is the new version of Home Automation Server, if you already created an account in the old Home Automation Server your account still works with the same login details. You can reset your password here.
Step #2 – Adding an ESP8266 to Your Dashboard
When you login for the first time you’ll need to click the green button that appears (see Figure below) that says “Click here to add your ESP8266”.
You also need to upload some Lua code to your ESP8266. Click the gray button “First time here? Click here to generate your ESP8266 code”.
Follow the instructions that appear below the gray button:
- Flash your ESP8266 with NodeMCU firmware
- Upload the code generated at Home Automation Server to your ESP8266
- Follow these schematics below to control 2 LEDs with your ESP8266
Step #3 – Test It
Now you can control your ESP8266 GPIOs from outside your home network using any device that has browser!
Click the “Turn On” buttons to make your ESP8266 GPIOs go HIGH.
NOTE: The GPIOs of your ESP8266 are updated every 20 seconds, please respect the API calls limit so we don’t overload the server. Thank you!
Read our new solution: Control ESP32 and ESP8266 GPIOs from Anywhere in the World
If you like this post probably you might like my next ones, so subscribe my blog and my Facebook page. Thanks for reading,
-Rui Santos
hi, Rui, have you worked with the esp8266-03 module,do you have any tutorials on it?
I don’t have tutorials with that modoule, yet. But I’ve recently that version, it should arrive soon.
Hi Rui
Great tutorial! Thank you!
Is it possible to send data BACK to the site from the ESP?
State of led / temperature perhaps?
Any plans on a MQTT tutorial?
Rgds
Vleis
Right now I don’t plan to add MQTT, but I want to add the option to send data from the ESP8266 to Home Automation Server.
Thanks for your suggestion,
-Rui
Problem has been sorted by Rui.
I’m glad everything is fine now!
Do you know how to do this if I programmed my ESP8266-01 using Arduino IDE?
I cant seemed to program my ESP8266 using ESPlorer so I decided to use Arduino IDE.
Thanks
Which problem are you facing with the ESPlorer?
I don’t have the code for the ARduino IDE, yet…
He rui ..now I am in final year b.tech ..my project control robot through iot like Ethernet shield or esp 8266.. Move robot forward, backward,left ,right …how I make..give me suggestion
I would go with something related to Internet of Things, because that’s a subject that I’m personally more interested.
u have work any gsm base controll robot ..put sim card in sim 900 gsm board & generate gprs so we controll robot through server website…sim900 gsm board interface with arduino uno………….
& 2nd
i am new in programmer how to controll robot like forward,backward,left,right,stop through server(IOT)..ethernet shield interface with arduino uno…give me code like controll robot forward,backward,left ,right,stop of arduino scketch & server code
No Satish,
I might post tutorials with that module in the future…
This is Great!
i don’t want to run any android apps.
this is the best simple solution.
Thanks!
That’s great rui,how can i get data from home automation such as led status.
Right now, http://app.homeautomationserver.com doesn’t offer that feature…
Hey Rui,
Since http://app.homeautomationserver.com doesn’t offer that feature… How about a way to send a text …say …. anytime status changes?
Thanks again from your loyal follower 🙂 John
Hi Rui,
very nice tutorial, i would to ask you 2 questions:
1) if i want to control more than 2 output(LED), what can i do? is there another module?
2) in this case is necessary to use a breadboard? I wanted to control a relay board
Thanks
Hi Matteo,
1) The app only supports one module / 2 outputs per account
2) You can solder your module or create a PCB. You don’t need a breadboard
Found the problem and though I should report the solution for other readers. The default NodeMCU install I had did not include the CJSON module. Fortunately Marcel Stoer’s custom build site allowed me to include this with the other reported modules as reported after a restart. His site is nodemcu-build.com. Hope it helps as this has cost me a couple of days – but I learned a lot including that not all answers come from google!
Thanks for sharing, I’ll be updating the tutorial with the new firmware build instructions.
This does not work with the ESP8266 – 12E board. There are compile errors when running the code, The information provided is unclear. What network name? What is #payload ?
No need to go to any trouble trying to help me get this working because I am moving on to other solutions. Thanks anyway.
Hello,
we are from 4semitechnology Pvt Ltd, i tried to upload the code for ESP8266-01 but i am getting an error in uploading it. I have an doubt that should to use ESP dashboard app, should i download any related app or named as “dashboard” only.
I couldn’t find the problem yet….
it appears your server is saturated
Hi Thomas,
I’m not longer accepting registrations at this moment.
Thanks,
Rui
Can we use arduino ide to do dis
At the moment I don’t have any tutorials on that subject…
Regards,
Rui
Hi Rui. I can’t seem to register a new account on home auto? Is it down for good?
Thanks
Hi Karl.
We’re no longer working on home automation server. We no longer accept registrations.
I’m sorry about that.
Regards,
Sara 🙂