Home / Guide / ESPEasy Plugin List and How Plugins Are Organised

ESPEasy Plugin List and How Plugins Are Organised

A structured look at the main plugin families, what the plugin numbers mean and how to check that a driver is in your build.

Diagram of ESPEasy tasks, controller, rules engine and storage around the ESP processor

ESPEasy owes much of its usefulness to its plugins. Each plugin is a driver written for a particular sensor, display, input or output, and together they allow a single firmware to support a remarkable range of hardware. Understanding how plugins are organised, numbered and packaged into builds makes it much easier to plan a project and to choose the right firmware for it.

This article explains how plugins relate to tasks, walks through the main plugin families with representative examples and shows how to confirm that a particular driver is included in your build.

Plugins, Tasks and Values

A plugin is a piece of code tailored to communicate with a specific piece of hardware. On its own, a plugin does nothing until you create a task from it. A task is a configured instance of a plugin, with its own name, pins, interval and settings.

Each task can produce up to four values. A DHT22 task, for example, typically provides temperature and humidity, while a BME280 task can provide temperature, humidity and pressure. These values can be shown on the web interface, used in rules or sent to controllers such as an MQTT broker.

Many plugins can run as several tasks at once. Two temperature sensors on different pins simply become two tasks based on the same plugin, each with its own name and values.

How Plugin Numbers Work

Every plugin has a number beginning with the letter P. The switch input plugin is P001, the analogue input plugin is P002 and the BMx280 environment plugin is P028. The same numbers appear in the documentation, in the source file names on GitHub and in forum discussions.

Recognising a few of these numbers is genuinely helpful. When someone on the forum mentions a P036 issue, it is quicker to know they mean the framed OLED display plugin than to ask. Controllers use the same convention with the letter C, so C005 refers to the Home Assistant (openHAB) MQTT controller.

Inputs and Switches

The most fundamental plugins handle simple inputs.

  • Switch input (P001) reads buttons, door contacts and other on-off signals, with options for debouncing and different button behaviours.
  • Analogue input (P002) reads the analogue pin, useful for light-dependent resistors, soil moisture probes and battery voltage monitoring.
  • Pulse counter (P003) counts pulses, which suits water meters, gas meters and wind speed sensors.
  • Rotary encoder support allows a knob to be used as an input for menus or adjustable values.

Environment Sensors

Environmental monitoring is one of the most popular uses of the firmware, and the plugin list reflects that.

  • Dallas DS18B20 (P004) supports one-wire temperature probes, including waterproof versions, with several probes sharing a single pin.
  • DHT sensors (P005) cover the DHT11, DHT22 and related models for temperature and humidity.
  • BMx280 (P028) supports the BME280 and BMP280 for temperature, pressure and, on the BME280, humidity.
  • SI7021 and HTU21D sensors (P014) provide accurate temperature and humidity over I2C.
  • Light sensors such as the BH1750 (P010) measure illuminance in lux.

The documentation notes a classic trap here: the BME280 is easily mistaken for the BMP280. The two look almost identical, but only the BME280 measures humidity. The plugin detects which sensor is connected and adjusts the available values accordingly.

Air Quality and Gas Sensors

  • MH-Z19 sensors (P049) measure carbon dioxide concentration.
  • SenseAir sensors (P052) offer another route to carbon dioxide monitoring.
  • SDS011 dust sensors (P056) measure fine particulate matter.
  • PMSx003 sensors (P053) provide particulate readings across several size bands.

These sensors are popular in community air-quality projects, and they combine naturally with environment sensors such as the BME280 on the same node.

Distance and Presence

  • HC-SR04 ultrasonic sensors (P013) measure distance, which suits tank levels, parking aids and presence detection.
  • Passive infrared motion sensors are handled through the switch input plugin, since they produce a simple on-off signal.
  • Time-of-flight laser sensors are supported in builds that include them, offering more precise short-range measurements.

Displays

  • LCD2004 displays (P012) show text on character LCD modules connected over I2C.
  • SSD1306 OLED displays (P023) provide compact graphical displays for readings and status.
  • Framed OLED displays (P036) add multiple pages, headers and scrolling, making them suitable for richer status screens.
  • Seven-segment displays (P073) are supported for clocks and numeric readouts.

Displays usually read values from other tasks using simple placeholders, so a small screen can show temperature, humidity and time from several sensors on the same node.

Energy Monitoring

  • HLW8012 and BL0937 (P076) are the measurement chips found in many smart plugs, including early Sonoff POW models.
  • CSE7766 (P077) is used in devices such as the Sonoff POW R2.
  • Eastron SDM meters (P078) are DIN-rail energy meters read over Modbus.
  • PZEM-004T version 3 modules (P102) measure voltage, current, power and energy through a serial connection.

Dedicated energy builds bundle these plugins together, which is useful if you are building a monitoring node around a single meter type.

Extenders and Outputs

When a board runs short of pins, extender plugins help.

  • PCF8574 (P019) adds eight digital inputs or outputs over I2C.
  • MCP23017 (P009) adds sixteen digital inputs or outputs over I2C.
  • PCA9685 (P022) provides sixteen PWM outputs, useful for servos and dimmable LEDs.
  • NeoPixel plugins (P038 and related) control addressable RGB LEDs.

Relays are generally controlled with built-in GPIO commands rather than a dedicated plugin, often through rules or MQTT commands.

Generic and System Plugins

  • Dummy device (P033) holds values without any hardware attached, which is useful for storing states, results of calculations or values received from elsewhere.
  • System info (P026) reports uptime, free memory, Wi-Fi signal strength and other internal values.
  • MQTT import (P037) subscribes to MQTT topics and turns incoming messages into task values and events.

These generic plugins are often overlooked, yet they make many advanced configurations possible. A dummy device combined with rules can implement a thermostat, a counter or a state machine without additional hardware.

How Builds Include Plugins

Not every plugin fits into every firmware image, particularly on ESP8266 boards with limited flash. The project therefore produces several build types. Normal builds contain the standard, well-tested plugins. Collection builds add groups of extra plugins. Climate, display, energy and neopixel builds focus on one area, and max builds include every available plugin for boards with large flash.

The documentation's plugin overview indicates which builds include each plugin and its status on ESP8266 and ESP32. Before ordering a sensor for a project, check that page to confirm which build you will need.

Checking Which Plugins Your Board Has

The quickest check is the device list itself. Open the Devices tab, click Edit on an empty task and browse the drop-down list. If a plugin does not appear, your build does not include it. The Main tab shows the exact build name, which tells you which plugin set is installed.

If the plugin you need is missing, you have three options: flash a build that includes it, choose a specialist or collection build, or compile a custom image from the source with only the plugins you require.

Planning a Node Around Its Plugins

The plugin list is most useful before you buy any hardware. Start by writing down what the node should measure or control, then find a supported plugin for each part. Check the plugin's documentation page for its wiring, supported variants, required interface and status on your chosen chip. Only then order the sensors.

Interfaces deserve particular attention. Many sensors communicate over I2C, which allows several devices to share two pins, provided their addresses differ. Others use one-wire, serial or simple digital and analogue signals. Serial devices can be tricky on ESP8266 boards, which have limited hardware serial ports, so check whether a plugin supports software serial or alternative pins before committing to a design.

Power and voltage matter too. Most supported sensors run comfortably at 3.3 V, but some modules expect 5 V and may need level shifting for their signal lines. Reading the datasheet alongside the plugin documentation helps avoid damaged components and unreliable readings.

Plugin Status and Maturity

Plugins mature at different rates. Long-established drivers for common sensors have been used widely for years and behave predictably. Newer plugins may still be gaining features or refinements, and their documentation sometimes notes limitations or variants that are not yet supported.

The documentation lists each plugin's status for ESP8266 and ESP32, together with the builds that include it. If a plugin is marked as available only in particular collection or specialist builds, plan your firmware choice around it. When a plugin is new or rarely used, it is worth reading recent release notes and forum discussions before relying on it for an important project. That small amount of research often reveals practical tips from people who have already used the same hardware.

Keeping a short list of the plugins each node uses, alongside its build name, also simplifies future updates. When a new release appears, you can quickly confirm that every required plugin is still included in the build you plan to install.

Frequently Asked Questions

How many plugins does ESPEasy support?

There are well over a hundred plugins across many categories. The exact number changes as new drivers are added, and the documentation's plugin overview lists the current set.

Why is a plugin missing from my device list?

Your build does not include it. Check the plugin overview to find a build that does, or compile a custom image.

What is the difference between a plugin and a task?

A plugin is the driver code. A task is a configured instance of that plugin with its own name, pins and settings.

How many values can a task produce?

Each task can provide up to four values, such as temperature, humidity and pressure.

Can I use several sensors of the same type?

Yes. Create several tasks from the same plugin, each configured for its own pins or address.

What does a plugin status such as collection mean?

It indicates which build type includes the plugin. Normal plugins appear in standard builds, while collection plugins appear in the corresponding collection builds.

Conclusion

ESPEasy plugins turn a general-purpose firmware into a driver library for hundreds of devices. Learn the difference between plugins and tasks, become familiar with the main families and their numbers, and always check which build contains the drivers you need. With that knowledge, planning a new node becomes a matter of choosing hardware with confidence rather than discovering gaps after the parts arrive.