
The Shelly RGBW2 is a Wi-Fi LED strip controller with four PWM outputs (12/24 V DC). In White mode, the four outputs — normally used for R, G, B, and W of an RGBW strip — become four independent single-color dimmer channels. Each channel can drive its own white LED strip, LED bulb, or spotlight group. TapHome communicates with the device over HTTP on the local network; no cloud connection is required.
This template is the White-mode counterpart to the Shelly RGBW2 Color-mode template. Both templates share the same hardware but the firmware operates in mutually exclusive modes selected via the device settings. Before importing this template, the device must be configured in White mode — the template validates the mode on every poll and shows an error if the device is set to Color.
Shelly has marked the RGBW2 as discontinued — it is no longer produced or sold by Shelly Group. Existing units continue to function and receive firmware updates.
Wiring
The Shelly RGBW2 is powered from a 12 V or 24 V DC supply (V+ / GND). Each of the four outputs (labeled R, G, B, W on the device) drives one white LED load. Typical wiring layouts for White mode:
- Four independent white LED strips or bulbs — each channel controls one strip/bulb, common anode (+) to V+
- Multiple spotlights per channel — several 12/24 V spotlights wired in parallel per output
- Two white strips with doubled power — pair two channels per strip (parallel) to double output power
Per-channel load limits (from Shelly’s specification) are 45 W at 12 V and 90 W at 24 V. Combined load across all four channels must not exceed 144 W at 12 V or 288 W at 24 V.
Configuration
The template connects over Wi-Fi. During TapHome template import, enter the device’s IP address (default placeholder 192.168.0.1) and an optional transition time in milliseconds (default 300).
The transition time controls how quickly each channel fades between brightness levels. It is sent with every write command and also defines the debounce window — the template ignores polled brightness values for transitionTime + 500 ms after each write to prevent stale reads during a fade.
Mode switching
If the device is currently in Color mode, switch it to White mode before importing this template. Either:
- Open the Shelly web interface at
http://{device-ip}and change the operating mode in the settings, or - Send
GET /settings?mode=whitedirectly, or - Import the Color-mode template temporarily and use its Set mode White service action, then reimport this White-mode template
Mode changes require a device restart. After the device reboots, reimport the White-mode template in TapHome.
Device capabilities
Four independent dimmers
The template exposes four independent dimmer channels, one per PWM output:
| Channel | Output pin | Endpoint | Poll interval |
|---|---|---|---|
| Ch1 | R | /light/0 | 2.5 s |
| Ch2 | G | /light/1 | 2.5 s |
| Ch3 | B | /light/2 | 2.5 s |
| Ch4 | W | /light/3 | 2.5 s |
Each dimmer reads lights[N].ison and lights[N].brightness (0-100, normalized to 0-1) from the /status response. Write commands use /light/N?turn=on|off&brightness=VALUE&transition=T. The template uses the legacy /light/{idx} endpoint, which Shelly firmware accepts as an alias of the current /white/{idx} endpoint.
Per-channel power metering
Each channel has its own energy meter — Electric Meter Ch1 through Electric Meter Ch4 — reading from meters[0] through meters[3]:
- Real-time power —
meters[N].powerin watts, converted to kW - Total consumption —
meters[N].totalin watt-minutes, converted to kWh
Channel 1 polls at 2.5 s together with its dimmer; channels 2-4 poll at 15 s intervals to reduce load on the Gen1 HTTP stack (which tolerates only two concurrent connections).
Service diagnostics
The template exposes 10 service attributes for device monitoring:
- Network — IP address, MAC address (formatted with colons), Wi-Fi signal strength (dB)
- Connectivity — cloud enabled/connected, MQTT connected
- Device info — device time, uptime (formatted as days/hours/minutes), RAM usage
- Firmware — firmware update available
Service actions
Three service actions are available:
- Enable cloud — enables or disables Shelly Cloud connectivity
- Reboot — triggers a device reboot
- Set mode White — writes
/settings?mode=whiteto enforce White operating mode (useful after a factory reset or if someone changed the mode via the Shelly app)
The Shelly Cloud API is not used by this template — communication is local HTTP polling only.
Troubleshooting
Device not responding
- Verify the Shelly is connected to Wi-Fi and has a valid IP address
- Try using the mDNS hostname (
shellyrgbw2-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
“Mode White is not supported” error
This error means the device is currently set to Color mode. To resolve:
- Open the Shelly web interface at
http://{device-ip}and switch the operating mode to White, or - Send
GET /settings?mode=whitedirectly from a browser or curl, or - If you have the Color-mode template imported, run the Set mode White service action from there
- The device needs to reboot after a mode change — wait a few seconds and reload TapHome
Power readings show zero
- Confirm white LEDs are connected to the relevant Shelly RGBW2 output (R, G, B, or W pin)
- Open the Shelly app or web interface and verify the device model is configured under Settings -> Device Model — without this the meter returns zero
- Check that the channel is turned on — the meter only reads when current flows through the output
- Poll
/statusmanually and verifymeters[N].powerreturns a non-zero value for the channel in question
Channel does not dim smoothly
- Check that the transition time parameter matches the behavior you expect — the default 300 ms is a short crossfade; longer values (e.g., 1500 ms) produce slower fades
- Remember that the debounce window equals
transitionTime + 500 ms— changes sent faster than this can be coalesced - Verify the LED load is dimmable (some drivers are not PWM-compatible) and that the power supply provides a stable 12/24 V DC
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. Keep the poll interval at 10-30 seconds per extra client.