GPLv3Open-source firmware for ESP8266 and ESP32

ESPEasy Firmware for Smart ESP8266 and ESP32 Automation

ESPEasy turns low-cost ESP8266 and ESP32 boards into practical sensors, switches and controllers. Configure everything from a browser, send readings to Home Assistant or Domoticz, and automate tasks locally without writing a single line of code.

  • Open-source code
  • Browser-based setup
  • ESP8266 and ESP32
ESP32 development board connected by USB to a laptop on a wooden desk, ready for ESPEasy flashing
Wi-Fi and MQTT
Local rules
Plugin tasks
Overview

What Is ESPEasy?

ESPEasy is open-source firmware for ESP8266 and ESP32 microcontrollers. Once it is flashed onto a board, the device hosts its own web interface, and everything from Wi-Fi details to sensor wiring is configured through an ordinary browser. There is no sketch to compile and no code to maintain for each new device.

The firmware is modular by design. Hardware drivers, called plugins, handle sensors, displays and inputs. Each configured instance of a plugin becomes a task that produces readings. Controllers then pass those readings to platforms such as Home Assistant, Domoticz or an MQTT broker, while a built-in rules engine lets the board react to events on its own.

The project began in 2015 within the Let's Control It community and is among the longest-running firmware projects of its kind. It suits hobbyists building a first temperature monitor as well as engineers deploying a fleet of wireless sensor nodes, and its GPLv3 licence keeps the source open for inspection and improvement.

ESP32 and ESP8266 development boards side by side, both able to run ESPEasy firmware
Since 2015Community-developed firmware

Turn ESP Boards into Useful Devices

Read sensors, drive relays and report to the automation platform you already use.

Straightforward Configuration

Manage network, hardware and device settings from a local web page in any browser.

Flexible and Extensible

Combine plugins, controllers, commands and rules to suit each project's needs.

Capabilities

Key Features of ESPEasy

ESPEasy brings device configuration, sensor monitoring and automation together in one compact firmware. These are the capabilities that make everyday IoT projects quicker to build and easier to maintain.

Wide Device and Sensor Support

Plugins cover temperature and humidity sensors, light and distance sensors, displays, energy meters, switches and I/O extenders.

Browser-Based Configuration

Set up Wi-Fi, assign GPIO pins, create tasks and connect controllers from a clear web interface hosted by the board.

Smart Home Integrations

Send data to Home Assistant, Domoticz, openHAB, Node-RED, ThingSpeak and other platforms over MQTT or HTTP.

Flexible Automation Rules

React to events with conditions, timers and variables, so devices respond immediately even when the network is down.

Over-the-Air Updates

Update firmware from the Tools tab without a cable, provided the board has enough free flash for the new image.

Efficient Resource Use

Choose normal, collection or specialist builds so the plugin set fits the flash and memory of each microcontroller.

Customisable Plugin Architecture

Run several tasks from the same plugin, combine up to three controllers and compile custom builds when needed.

Open-Source Development

The source code, documentation, release notes and issue tracker are public on GitHub under the GPLv3 licence.

Under the bonnet

How Does ESPEasy Work?

ESPEasy sits between your microcontroller, the hardware attached to it and the services that use its data. Readings move through a clear chain, from plugin to task to rules and controllers.

1

Firmware on the Chip

A build matched to your ESP8266 or ESP32 runs the scheduler, web server and network stack.

2

Network Connection

The board joins your Wi-Fi network, or opens its own access point until it has been configured.

3

Tasks and Readings

Each task runs a plugin at its interval and produces up to four named values from a sensor.

4

Rules and Controllers

Values trigger events for local rules and travel to up to three controllers for wider automation.

ESPEasy Devices tab listing configured tasks with their GPIO pins and live sensor values

Plugins Talk to the Hardware

A plugin knows how to communicate with a particular component, whether over a single GPIO pin, the I2C bus, one-wire or a serial link. You choose the plugin and pins; the firmware handles timing and protocol details.

Tasks Turn Signals into Values

A task is a configured copy of a plugin with its own name, interval and settings. A task called Climate might deliver Temperature and Humidity, and those names become part of every event and MQTT topic.

Events Drive the Rules Engine

Every reading raises an event such as Climate#Temperature. Rules listen for these events, compare values and run commands, for example switching a relay when a threshold is crossed.

Controllers Share the Results

Controllers format values and send them to an MQTT broker, Domoticz, a generic HTTP endpoint or other nodes. They also receive commands, so a dashboard can switch outputs on the board.

Getting started

How to Install ESPEasy

An ESPEasy install involves three things: choosing a firmware build that matches your board, flashing it over USB and completing the first network setup in a browser.

Before you start, identify the chip on your board and its flash size. A NodeMCU or Wemos D1 mini usually carries an ESP8266 with 4 MB of flash, while DevKit and WROOM boards normally use an ESP32.

1

Choose the Build

Match the chip, flash size and plugin set you need.

2

Flash the Board

Connect with a data cable and write the image.

3

Join Your Wi-Fi

Use the setup access point to add your network.

4

Add Devices

Create tasks, test readings and link a controller.

Choose a Flashing Method

The ESPEasy web installer, linked from the project README, runs in desktop Chrome or Edge. Connect the board, choose a build set and confirm. The installer detects the chip and writes the matching image, with no extra software to install.

After flashing, join the access point beginning with ESP_Easy using the key configesp, open 192.168.4.1 if the setup page does not appear, then pick your network and save.

Read the full ESPEasy install walkthrough
Espressif flash download tool configured to write firmware to an ESP8266 over a COM port
Ideas

What Can You Build with ESPEasy?

ESPEasy fits projects that collect measurements, watch for changes or control everyday equipment. These examples show common patterns; adapt the sensors, rules and controllers to your own situation.

Each idea starts with a single board and grows naturally. Many people begin with one climate sensor and end up with a network of nodes sharing data through MQTT.

See every ESPEasy guide
Weatherproof sensor enclosure with solar panel and antenna for an outdoor ESPEasy weather station

Weather Monitoring

Combine a BME280 for temperature, humidity and pressure with a light sensor, then log readings to Home Assistant or ThingSpeak. Deep sleep helps battery-powered stations last longer.

ESP32 controlling a four-channel relay and coloured lamps alongside a phone dashboard

Smart Home Automation

Drive relay modules for lights and fans, keep wall switches working through local rules and let your dashboard control the same outputs over MQTT.

ESP8266 board with soil moisture probe and relay module watering a potted plant from a jar

Smart Irrigation

Read soil moisture through the analogue input and switch a small pump with a relay and suitable driver circuit, using hysteresis rules to avoid constant cycling.

NodeMCU board wired on a breadboard to a PIR motion sensor

Motion Detection

Connect a PIR sensor as a switch input to trigger lighting, start a timer or publish an alert when movement is detected in a hallway, garage or porch.

Get the firmware

ESPEasy Download

Every ESPEasy download on this page fetches the current mega branch archive directly from the project's official GitHub repository. The archive contains the complete source code, documentation and PlatformIO build configuration.

Compiled .bin images for flashing are published separately as dated releases on the same repository. Read their file names carefully, since each build targets a specific chip, flash size and plugin set.

BuildBest suited to
normalStandard plugins for most first projects
collectionExtra plugin groups on top of normal
energyPower and energy meter plugins
maxEvery plugin, for large-flash ESP32 boards
ESP8266 NodeMCU ESP8266 development board

ESPEasy for ESP8266

For NodeMCU, Wemos D1 mini, ESP-01S and other ESP8266 or ESP8285 boards. Choose 1M builds for 1 MB modules and 4M1M builds for 4 MB boards.

Download ESPEasy
ESP32 ESP32 DevKit development board

ESPEasy for ESP32

For ESP32 DevKit, WROOM and WROVER boards plus S2, S3, C3 and C6 variants. Current ESP32 builds use LittleFS and must match the exact chip.

Download ESPEasy
Firmware should always come from the official ESPEasy repository. Avoid mirrors, forum attachments and repackaged files, and back up a working node before installing any new build.
Hardware and alternatives

ESPEasy Compatibility and How It Compares

Compatibility depends on the chip variant, the firmware build, available memory and the plugins it includes. Confirm each component against the official plugin documentation before buying hardware.

Supported Development Boards

  • ESP8266 and ESP8285 modules, including ESP-01S and ESP-12F
  • NodeMCU and Wemos or LOLIN D1 mini boards
  • ESP32 DevKit, WROOM and WROVER boards
  • ESP32-S2, ESP32-S3, ESP32-C3 and ESP32-C6 variants
  • Selected Sonoff and Shelly devices with compatible chips
Wemos D1 mini ESP8266 board with 4 MB flash

The Wemos D1 mini is a popular, compact ESP8266 board with 4 MB of flash, ideal for a normal ESPEasy build.

Popular Sensors and Components

  • DHT11 and DHT22 temperature and humidity sensors
  • BME280 and BMP280 environmental sensors
  • DS18B20 one-wire temperature probes
  • BH1750 light sensors and HC-SR04 distance sensors
  • PIR motion sensors, relay modules and SSD1306 OLED displays

ESPEasy vs ESPHome vs Tasmota

All three are open-source firmware projects for ESP boards, each with a different approach.

FeatureESPEasyESPHomeTasmota
ConfigurationWeb interface on the deviceYAML files, then compileWeb interface and commands
Coding neededNone for common tasksDeclarative YAMLNone for common tasks
AutomationRules and eventsYAML automationsRules and scripting
Home AssistantMQTT integrationNative APIMQTT integration
Primary focusSensors and flexible IoT nodesHome Assistant devicesSwitches, plugs and relays
LicenceOpen source (GPLv3)Open sourceOpen source

Choose ESPEasy

When you want browser-based setup and broad sensor support without compiling.

Choose ESPHome

When Home Assistant is central and YAML configuration suits you.

Choose Tasmota

When flashing commercial smart plugs, switches and relays.

Fixes

Common ESPEasy Problems and Solutions

Most problems trace back to four areas: the firmware build, network settings, wiring and power. The log on the Tools tab, or a serial monitor at 115200 baud, usually points to the cause within minutes.

Type a word to filter the list of common issues.

01The node will not connect to Wi-Fi

Check the network name and password carefully, since both are case sensitive. Most supported boards use 2.4 GHz only, so confirm that band is enabled on your router.

If the node keeps falling back to its own access point, move it closer to the router, check the signal strength on the Main tab and make sure the power supply is stable.

02The web interface does not open

Confirm the IP address in your router's list of connected devices or in the serial log at 115200 baud. Your computer must be on the same network as the node.

Some browsers try to force HTTPS. Type the address with http:// at the start, and check that client IP filtering on the node is not blocking your device.

03A sensor shows no readings

Inspect the wiring and confirm the GPIO assigned in the task. For I2C sensors, set the SDA and SCL pins on the Hardware tab and run the I2C scan on the Tools tab.

Check that the plugin exists in your build, that the sensor runs at a compatible voltage and that the task is enabled with a sensible interval.

04The device keeps restarting

Unstable power is the most common cause, particularly with relays or long cables. Use a supply with comfortable headroom and short, solid wiring.

Also review the log, avoid boot-sensitive pins such as GPIO0, GPIO2 and GPIO15 on ESP8266 for inputs, and confirm the image matches the chip and flash size.

05Firmware flashing fails

Swap to a known data cable, install the CP2102 or CH340 driver and close any program that holds the serial port, such as a serial monitor.

Put the board into bootloader mode manually with the FLASH or BOOT button, lower the baud rate to 115200 and erase the flash fully before trying again.

06MQTT will not connect

Verify the broker address, port and credentials on the Controllers tab, and confirm the broker is running and reachable from the node's network.

Give every node a unique unit name so that client IDs do not clash, and watch the log for authentication errors.

07Rules are not running

Make sure rules are enabled under Tools, then Advanced. Check event names against the log, since spelling and capitalisation must match exactly.

Test each command on its own from the Tools tab, then build the rule up step by step with LogEntry lines to see which parts run.

No matching problem found. Try a broader word such as power, sensor or flash.

Preparation

ESPEasy System Requirements

Check that your board, computer and network meet the needs of the build you plan to install. Exact memory needs vary with the plugins and number of tasks you enable.

MicrocontrollerESP8266, ESP8285 or a supported ESP32-family chip
Flash memory1 MB for small builds; 4 MB or more recommended
ComputerWindows, macOS or Linux with a flashing tool
Web installerDesktop Chrome or Edge with Web Serial support
USB connectionData-capable cable and USB-to-serial interface
DriversCP2102 or CH340 drivers where your system needs them
Network2.4 GHz Wi-Fi for most boards; Ethernet on some ESP32 builds
Power supplyStable 5 V USB or regulated 3.3 V with headroom for loads
ESP32 starter kit with breadboard, jumper wires, relay, sensors, display and USB cable
Responsible use

Is ESPEasy Safe to Use?

ESPEasy is mature, widely used firmware, but safety depends on where it comes from, how the network is secured and how the hardware is wired.

Trusted Firmware

Download builds and source code only from the official repository, and read the release notes before every update.

Keep a settings backup so a node can be restored quickly if an update misbehaves.

Network Security

Change the default access point key, set an admin password and consider client IP filtering.

Never expose the web interface to the internet; use a VPN for remote access and an isolated IoT network where practical.

Electrical Safety

Respect voltage and current ratings for every component and use relay modules rated for the load.

Never connect mains voltage directly to a development board. Mains wiring belongs with a qualified electrician.

Important: ESPEasy is not a certified safety-critical control system. Do not rely on a DIY configuration where failure could cause injury, fire or significant damage, and add independent hardware protection wherever risk exists.

Balanced view

ESPEasy Pros and Cons

ESPEasy offers a practical way to configure connected devices, although its suitability depends on the scale and complexity of your project.

Advantages

  • Open-source firmware with public code and documentation
  • Configuration through the browser, with no compiling required
  • A large library of sensor, display and energy plugins
  • Local rules that keep working without the network
  • Up to three controllers, including MQTT and HTTP
  • A long-running project with an active community forum

Limitations

  • Basic electronics and networking knowledge is still helpful
  • Choosing the right build for each chip takes care
  • Plugin availability varies between builds
  • Small ESP8266 modules have tight memory limits
  • Home Assistant integration is less native than ESPHome's
  • Not intended for certified safety-critical control
Answers

Frequently Asked Questions About ESPEasy

Short answers to the questions people ask most often before and after their first installation.

What is ESPEasy used for?

ESPEasy is used to turn compatible ESP8266 and ESP32 boards into networked sensors, switches and small controllers. Typical projects include room climate monitors, relay controllers, weather stations, energy monitors and devices that report to Home Assistant, Domoticz or an MQTT broker.

Is ESPEasy free to use?

Yes. ESPEasy is open-source firmware released under the GPLv3 licence. The source code and published firmware builds are available through the official project repository on GitHub without charge.

Does ESPEasy support ESP32 boards?

Yes. Builds are available for the original ESP32 and several newer variants, including the ESP32-S2, ESP32-S3, ESP32-C3 and ESP32-C6. Each variant needs an image built specifically for it, and available features depend on the chip and build.

Do I need programming knowledge to use ESPEasy?

No traditional programming is needed for most tasks. Sensors, controllers and network settings are configured through the browser. Rules use a short, readable syntax that you can learn gradually when your projects call for local automation.

What is the default ESPEasy WiFi password?

A freshly installed node starts an access point whose default key is configesp. Connect to it, open 192.168.4.1 if the setup page does not appear automatically, and enter your own network details. Change the access point key and set an admin password afterwards.

Can ESPEasy connect to Home Assistant?

Yes. The usual route is MQTT. Configure the Home Assistant (openHAB) MQTT controller on the node, point it at a broker such as Mosquitto and add the matching sensors or switches in Home Assistant.

Which is better for ESPEasy, ESP8266 or ESP32?

Both work well. An ESP8266 board such as a NodeMCU or Wemos D1 mini is ideal for simple sensor nodes. An ESP32 offers more memory, more GPIO and larger builds, which suits nodes with many tasks, displays or Ethernet.

How do I update ESPEasy firmware?

Back up the settings first, then use the firmware update option on the Tools tab for an over-the-air update, or flash over USB with the web installer, the Espressif Flash Download Tool or esptool. Read the release notes before every update.

Can ESPEasy work without internet access?

Yes. Local functions such as reading sensors, running rules and switching outputs continue without an internet connection. Only features that rely on external services, such as cloud logging or time synchronisation through NTP, need connectivity.

Can I connect several sensors to one ESPEasy node?

Yes. Each sensor becomes its own task, and I2C devices can share the same two pins provided their addresses differ. The practical limit depends on available GPIO, power, memory and the plugins included in your build.

What is the ESPEasy web installer?

It is a browser-based flashing page linked from the project README. It works in desktop Chrome and Edge, detects which chip is connected and writes a matching firmware image without any additional software.

Where can I see the ESPEasy plugin list?

The official documentation lists every plugin with its number, supported hardware and the builds that include it. On a running node, the device list on the Devices tab shows exactly which plugins your installed build contains.