
The Shelly Dimmer 2 is a compact Wi-Fi dimmer module designed for behind-the-wall installation. It supports dimmable LEDs (10–200 W), incandescent/halogen bulbs (10–220 W) and ferromagnetic transformers. TapHome communicates with the device over HTTP on the local network – no cloud connection is required.
The template provides brightness control with configurable fade transitions, an on/off light switch and an energy meter that reads real-time power consumption and cumulative energy usage.
Configuration
The Shelly Dimmer 2 connects over Wi-Fi. During TapHome template import, enter the device’s IP address (default placeholder 192.168.0.1).
The device supports four wiring configurations:
- With neutral wire – standard installation using N, L, SW1, SW2, O terminals
- Without neutral, minimum 10 W load – no neutral connection, requires at least 10 W load
- Without neutral + Shelly Bypass – for loads under 10 W, the Shelly Bypass accessory is required
- Switched neutral – alternative wiring with switched neutral line
Below the minimum load (10 W with neutral, 20 W without neutral), the dimmer may flicker or fail to turn on. Use the Shelly Bypass accessory for low-wattage loads without a neutral wire.
Device capabilities
Brightness control
The template exposes a dimmer device that reads the brightness level from /light/0 (brightness field, 0–100 %) and sets it via /light/0?brightness={value}. The value is normalized internally – the API uses 0–100 % while TapHome works with a 0.0–1.0 range.
A Transition service attribute shows the current fade duration in milliseconds. The Transition service action allows setting a smooth brightness fade (0–5000 ms) for individual commands via /light/0?transition={ms}.
Light switch
The light on/off state is controlled independently from the brightness level. The template reads ison from /light/0 and writes via /light/0?turn=on or /light/0?turn=off. The device has the lighting capability flag – it appears as a light switch in TapHome, not a generic relay.
Power metering
The built-in energy meter reads two values from the /status response:
- Real-time power –
meters[0].powerreported in watts, converted to kW by the template - Total consumption –
meters[0].totalreported in watt-minutes, converted to kWh by the template
The meter is read-only and updates automatically with every poll cycle (15-second interval).
Service diagnostics
The module-level WiFi service attribute reads the connected SSID from /settings.
Additional capabilities
The Shelly Dimmer 2 also exposes internal temperature, overtemperature protection status, meter validity, WiFi signal strength and two physical switch inputs (SW1, SW2) in its /status response. A night mode with scheduled brightness limiting and incremental step-based dimming are available via the API. An auto-off timer can be set per command. These capabilities can be added in a future template update.
Troubleshooting
Device not responding
- Verify the Shelly is connected to Wi-Fi and has a valid IP address
- Try using the mDNS hostname (
shellydimmer2-AABBCCDDEE.local) instead of the IP address – the IP may have changed after a DHCP renewal - Open
http://{device-ip}/shellyin a browser – if it responds, the device is reachable - Check that TapHome CCU and Shelly are on the same network / VLAN
Flickering or unstable dimming
- Confirm the connected load meets the minimum wattage requirement (10 W with neutral, 20 W without)
- Check that the load type is supported – not all LED drivers are compatible with trailing-edge dimmers
- Adjust the
min_brightnesssetting via/settings/light/0if the light flickers at low levels - Increase the
warm_uptime (0–1000 ms) in/settings/light/0for loads that need a ramp-up period
Power readings show zero
- Confirm the load is connected through the dimmer (not bypassed)
- Check that the light is turned on – the meter only reads when current flows
- Poll
/statusmanually and verifymeters[0].powerreturns a non-zero value
Gen1 Shelly devices support only 2 concurrent HTTP connections. If TapHome and another system (e.g., Home Assistant) poll the same device simultaneously, communication may become unreliable. Use a poll interval of 10–30 seconds.