Smart plug

Sonoff S31

Contribute

Projects for this device

Replacement firmware

Expose the relay and power readings to local automation.

How to get started

Start with the device configuration, add your network settings and build the firmware. Use the first-install route specified in that device’s guide.

Setup
Custom configuration + firmware installation
You’ll need
The documented board version and pin configuration; a serial adapter or another supported installation route.
Open device guidedevices.esphome.io
Build
Build firmware from the device configuration.
Configured features
Electrical measurements
First installation
Open the case and use a serial programmer. Follow the guide’s electrical-isolation precautions.
Sources
Replacement firmware

Integrate the plug with local Tasmota automation.

How to get started

Install firmware for the device’s controller, then apply its documented template. Many first installations require opening the device and connecting a serial adapter.

Setup
Firmware installation + device template
You’ll need
The controller and template listed in the device record; disconnect mains power before a serial connection.
First installation
Disconnect mains power before serial installation. Follow the guide’s electrical-isolation precautions.
Technical references

Security

Saved scan

No device-specific advisory matched our saved CVE research.

Check security advisories for this device · CVE.org