Sonoff S31 smart plug
Outlets · Lighting
14 reports: 13 say it works, 1 says it doesn’t work.
Reported with 3 integrations: Tasmota, ESPHome, Sonoff.
What people report
| Integration | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| Not named | Works | Power readings identify which of three lizard-tank bulbs burned outSaved copymy lizard tank has 3 different lightbulbs. an infrared heat bulb, a fluorescent, and an incandescent. using a sonoff s31 power monitoring, i wrote a NR flow that will alert me, not only when a bulb is burned out, but exactly which bulb it is. since all three use different energy numbers. * wrote a flow that will web scrape and price watch amazon/walmart/playstionstore/ and a few others. wrote about it here: link * used the same concept as above to watch a few websites for hardware firmware updates, like for my dashcam. * NR flow that will email me when new MagPi magazine PDF shows up on their … Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2019-07 | |
| Tasmota | Works Local | Easy to disassemble and flash; calibratable power monitoring (not S31 Lite)Saved copySonoff s31, (NOT s31 lite) made to be easy to disassemble and can flash whatever bin file you want. I used tasmota on these and they work great, can be calibrated. I watched this video to learn how to do it. less than 10$ a piece and they haven’t failed me yet. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2022-05 | |
| ESPHome | Works Local | Recommended energy monitoring plug when flashed with ESPHomeSaved copyMeh, not UL/ETL listed. Sonoff S31 running ESPHome is where it’s at. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2023-08 | |
| ESPHome | Works Local | No failures since 2019, daily cyclingSaved copyI've had Sonoff S31 plugs on ESPHome and so far no issues. I think it was around 2019-ish I got into automation and I replaced all the timers with them so I've got like some floor lamps cycling 4-6 times a day, radios 2 times a day, aquarium lighting and reptile heat lamps 2 times a day. Still going strong with no failures yet. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2023-09 | |
| ESPHome Tasmota | Works Local | Cheap energy monitoring, flashed for local controlSaved copyFor smart plug energy monitoring, the $8 sonoff s31’s that can be flashed with ESPhome or Tasmota for fully local control are amazing. You don’t want energy monitoring en masse on your Zigbee network as it’s too chatty. For Zigbee, Aqara is everywhere but they have known issues with their products not following the Zigbee protocol. Specifically their devices don’t do well swapping repeaters. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2023-10 | |
| Sonoff | Works Local | Stock firmware confirmed 100% local with energy monitoring; also flashableSaved copyYou no longer have to flash the S31s. There's the SonoffLAN Integration that offers local control over LAN and/or Cloud from Home Assistant. Mine are stock firmware and have been tested and confirmed to be 100% local with no calling out. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2023-10 | |
| ESPHome | Works Local | Flashed with ESPHome, power monitoring, no cloudSaved copySonoff S31 with EspHome firmware will do what you want if you're using Home Assistant. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2023-12 | |
| ESPHome | Works Local | Cheap and can be flashed with ESPHomeSaved copyBut sonoff s31 - they go on sale quite frequently. No need to buy the zigbee version unless you really want them. You can convert the generic s31 into esphome Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2024-02 | |
| ESPHome | Works Local | Flashed with ESPHome for power monitoring and automationSaved copyI'd use packages and push variables to them for customization. For instance, I have the following three packages for my S31s --- yours might be different for your use case, but these are abbreiviated versions of my `common/sonoff-s31.yaml`, for S31-specific config: logger: baud_rate: 0 # (UART logging interferes with cse7766) uart: rx_pin: RX baud_rate: 4800 parity: EVEN sensor: - platform: cse7766 id: cse7766_hub current: ... binary_sensor: - platform: gpio pin: number: GPIO0 mode: INPUT_PULLUP inverted: True name: "Button" on_press: - switch.toggle: relay switch: - platform: gpio name: … Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit thread · 2024-12 | |
| ESPHome | Works Local | 15 units flashed with ESPHome work greatSaved copyYou did didn't state if you want zigbee, wifi, thread, Z-Wave or something else. For Wifi, Sonoff S31 (not Lite!) flashed with Esphome are great. I have 15 of those. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2024-12 | |
| ESPHome | Works Local | Liked when flashed with ESPHomeSaved copyI like the Sonoff s31 flashed with an ESPHome program. Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2025-01 | |
| Tasmota | Works Local | Flashed with Tasmota for US plugsSaved copyFor smart plugs in the US I use Sonoff S31s flashed with Tasmota Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2025-04 | |
| Tasmota | Works Local | Cheap power-monitoring plug; custom firmware, no cloud dependenceSaved copyhttps://static.xtremeownage.com/blog/2023/sonoff-s31---low-cost-energy-monitoring/ S31s. hands down. Why? Because they are as cheap as 4$ a piece, and I can run whatever firmware I want to run, and customize them as I please. There is ZERO requirements I have on the manufacturer, or cloud services, etc. Nothing they can do, will prevent me from being able to use, update, and maintain these. I have about 3 or 4 dozen of them. Do NOT get the S40s. Bigger number is not better! Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2025-10 | |
| Not named | Not working | One user says it doesn't work with HA; others suggest Tasmota flashSaved copyNot everything works with HA, my Sonoff s31 doesn’t work with HA Excerpt saved from the Arctic Shift Reddit archive on 2026-10-23. | Reddit comment · 2025-03 |
Each row is one report from a GitHub thread, an integration’s docs, or r/homeassistant. Check the date and the linked source before you buy.
In ReReHome
Once Home Assistant’s HomeKit Bridge shares it, this device reaches Apple Home as a HomeKit accessory behind your Home Assistant bridge, so ReReHome shows and controls it like any other.
Identifiers
| Brand | SONOFF |
|---|---|
| Model | S31 |
| Category | Outlets |
Also reported as
- SONOFF S31 with ESPHome
- Sonoff S31
- Sonoff S31 on ESPHome
- Sonoff S31 power monitoring plug
- Sonoff S31 smart plug (reflashed)
- Sonoff S31 smart plug with ESPHome
