Skip to main content

Serial Interface

  1. Open serial.huhn.me with Chrome, Edge, or Opera for desktop. (Other browsers are not supported at the moment)
  2. Click Connect
  3. Plugin your ESP8266 board
  4. Select the port that pops up in the list and click connect

Using serial.huhn.me

info

serial.huhn.me is an online serial terminal. You don't need to install it. You only need a compatible browser. Learn more in our blog post.

Command Reference

You can find a list with all serial commands at Serial Commands

Escaping Spaces

In the serial interface, commands and parameters are divided by spaces.

This command is OK:

add ssid test

This command isn't:

add ssid this is a test

To escape these spaces, you can use a backslash. For example:

add ssid this\ is\ a\ better\ test

But a better approach is to use double quotes ". For example:

add ssid "this is an even better test"

Combine Serial Commands

To chain multiple commands into one line, separate them with two semicolons ;;

sysinfo;;chicken

This example will first execute "sysinfo" and then "chicken".

There is no limit on the number of commands you can combine with this feature, but there is a limit of 512 characters per line!

Some commands like "scan" work asynchronously and don't block. To chain commands like this, you can make use of the "DELAY" command:

scan wifi -t 10s -ch 6;;DELAY 11s;;show stations

This example will scan for 10 seconds on channel 6 and wait 11 seconds before printing the results. Note that it's always better to use a higher delay than you expect the previous command to run, just to be on the safe side.

SPIFFS

The ESP8266 has a memory chip of usually 1,2 or 4 MB of storage - depending on the model, it could be up to 16 MB or as low as 512 KB. The firmware itself is saved there, together with some other configuration settings.

SPIFFS (SPI Flash File System) is a small simplistic file system to easily access the internal memory. It's particularly useful to store and access data that doesn't fit into the RAM.

You can see how much of the SPIFFS is free and what files are stored there with the sysinfo command:

sysinfo

You can see the contents of a file using:

print <path_to_file>

To delete a file, run:

delete <path_to_file>

Sometimes the file system gets corrupted, and you will see errors like "ERROR: saving /settings.json". If that happens, clear the memory by running:

format

Alternatives

Using Arduino IDE

  1. Connect the ESP8266 board to your computer
  2. Open Arduino, go to Tools > Port, and select the corresponding serial (COM) port
  3. Go to Tools and click on Serial Monitor
  4. Select Newline and 115200 as baudrate

Arduino select Serial Port

Arduino Open Serial Monitor

Arduino Serial Monitor: Select Newline  115200 baud

Startup message of Deauther Serial Interface

Using Huhnitor

Huhnitor was made for the Deauther V3 but works on the V2 just as well. Check out our tutorial