One unique feature of MicroPython on the ESP8266 and its WiFi microcontroller is a WebREPL (read-evaluate-print loop, like a Python 'command line') accessible through a webpage.  Instead of using a serial connection to the board you can run Python code directly from your browser in a simple terminal.  You don't even need to connect the board to a WiFi network, it can create its own that you use to access the WebREPL!

This guide will walk through how to enable and access the WebREPL on MicroPython ESP8266.  Note only the ESP8266 version of MicroPython supports the WebREPL, and be aware the WebREPL is an experimental feature that is under active development.  Follow this guide to learn how to explore the WebREPL on MicroPython ESP8266 yourself!

Before you get started make sure you have a ESP8266 running the latest MicroPython firmware.  In addition you'll want to be familiar with the basics of MicroPython by reading these guides first:

Last updated on 2016-08-26 at 11.15.02 PM Published on 2016-08-26 at 05.27.24 PM