SmartConfig ESP8266 for NodeMCU and AT-commands

Posted by: Chao Category: Network Tags: , , , , , , , , Comments: 2

SmartConfig ESP8266 for NodeMCU and AT-commands

Most wifi embedded project will not have too much input and output resource to let the user enter the wifi SSID and password info, so we normally config this via phone app. This is the solution called smartconfig, used by ESP8266.

We will just show the demo here.

Using normal AT-commands, you can find the AT instructions documents from espresssif bbs, support espressif’s smartconfig called ESP-Touch or Chinese wechat technique air-kiss:

The command is:


when the config is done, follow by AT+CWSTOPSMART to stop it.

See the demo video below:

search smartconfig in google play to find it.

NodeMCU Smartconfig (If this one can not work, try here.)

The more powerful nodemcu can support more libraries and modules, it can be run standalone like a MCU, so it is much more preferable:

Thanks a lot to qq group guy Martint3ch, we figure out the current release of nodemcu 20150704 can not work with new smartconfig tool, so you must use online custom build to build the “dev” version, on the github nodemcu page you can find the online custom build link.

NodeMCU custom builds

It seems the latest arduino 2.00 sdk can not run smartConfig by using wifi manager library, probably it is not based on the latest SDK (tried on 1/20/2016)

check the demo video below:

In the snippet code:

First set the module to station mode, then start the smartconfig on mode 0 = esp-touch or 1=airkiss.

function(ssid, password)
print(string.format("Success. SSID:%s ; PASSWORD:%s", ssid, password))

Next part we will try MQTT to send data to the server online.

Share this post

Comments (2)

  • alirahman9316 Reply

    Will you post a tutorial or demonstration video of setting up the Espressif development environment and using it to program the esp8266?

    February 18, 2016 at 9:30 am
  • poulbran Reply

    I agree the Espressif environment would be great!

    September 12, 2016 at 7:44 am

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.