Installation
Flash S0tool firmware directly from your browser. Requires Chrome or Edge and a USB cable.
Step-by-step
- Select the configuration matching your hardware below.
- Connect your Wemos D1 mini via USB to your PC.
- Click Connect — select the USB serial port.
- Choose Install S0tool, then click Install.
- If it fails, hold the boot button on the device and try again.
- After flashing, connect to your 2.4 GHz Wi-Fi network.
Standard Configurations

Standard
Watermeter (NPN) + kWh (50-100ms)

Watermeter only
NPN sensor only

kWh Meter only
S0 pulse input (50-100ms)
Special Configurations

DSZ12D
Special config for DSZ12D

LEM022SJ
400 impulse config

Flux & Puls
Flux and puls meters

wsz15d32a / Eltako DSZ15DE-3x80A + Water
Combined config

sdm72d + Water
Combined config

S0 Watermeter
Special S0 config

Puls Water Internal
Internal resistor D2 & D5

KWH + Water Test
Debug mode D2 & D5

Standard Flux
Dekaim Flussostato Acqua
Connect to Home Assistant
Option 1 — During installation
After Wi-Fi setup the installer offers a direct link to add the device to Home Assistant.
Option 2 — Auto Discovery
S0tool appears automatically under Settings → Devices & Services if on the same network.
No Chrome or Edge? Manual Wi‑Fi Setup
The browser installer above needs Web Serial support (Chrome, Edge, or Opera on desktop). If you're on Firefox, Safari, or a mobile browser, flash the firmware once via the ESPHome dashboard in Home Assistant instead, then set up Wi‑Fi manually:
- Power on the S0tool. On first boot (or after a factory reset) it starts its own Wi‑Fi access point named S0tool.
- On your phone or laptop, connect to that S0tool Wi‑Fi network.
- Open a browser and go to
192.168.4.1. - Enter your home Wi‑Fi (2.4 GHz) network name and password.
- The device restarts and joins your network — Home Assistant will then auto-discover it as above.