The Shelly RGBW2 is a WiFi device that is able to use Pulse Width Modulation (PWM) to provide color and dimming control of up to four channels of lighting. This is typically Red, Green, Blue and White. Common applications are dumb LED light strips and RGB LED lamps. Price point is in the neighborhood of $25.
Its total drive capability is 3.75 amps per channel which is most significant when determining the length of LED strips that one unit will be able to drive. For 12VDC LEDS this will be typically be a strip of up to eight meters. Twice the length for 24V LEDs.
Note that smart LED strips that have individually addressable LEDs (e.g. WS2812B) will not use the RGBW2, but just a simple micro controller discrete output for their control. Where the RGBW2 shines is a replacement for other RGBW controllers such as magichome, HUE, or LIFX which are either expensive or more difficult to control without using the cloud.
Typical of PWM dimmers there is a tendency to observe flicker when the gain (brightness) is at low levels. For some this will not be noticeable. Color space also tends to loose quality at lower intensities. This is not unique to the RGBW2, but common for the technology.
The RGBW2 also contains a mains-level input that will typically be connected to the switch input that exists in the J-Box where dumb lighting is made smart with the RGBW2. The RGBW2, as most Shelly products are small and can usually be installed behind the switch without too much difficulty in the J-Box.
A typical wiring diagram for a LED strip or color bulb is shown below.
The RGBW2 operates in two modes. One is Color and one is White. This discussion covers the Color mode. The HS devices that are created for the RGBW2 in Color mode are shown below. Properties reported to HS include the brightness (gain), power consumption, on/off status, RBG and White color level, special effect and indication of a overpower condition. Also reported is the online status which is maintained in a separate group dedicated for Shelly online status.
Unlike the Shelly color bulb, the RGBW2 configuration of the mode is via the settings in the App or URL to the IP of the web server running in the RGBW2. Assuming that the IP of the RGBW2 is 192.168.0.123 then setting the mode to color is done from a browser with URL shown below. The IP shown in red will be different for each user's install.
Code:
http://[COLOR=#FF0000]192.168.0.123[/COLOR]/settings?mode=color
mode | string | Set to color or white; determines the operating mode |
dcpower | bool | Set to true for 24 V power supply, false for 12 V |
Code:
http://[COLOR=#FF0000]192.168.0.123[/COLOR]/settings?mode=color&dcpower=[COLOR=#FF0000]false[/COLOR]
reset | string | Any non-zero-length value will reset light settings to default |
effect | number | Applies an effect, see description below |
default_state | string | Sets default power-on state: on, off or last |
auto_on | number | Sets a default timer to turn ON after every OFF command in seconds |
auto_off | number | Sets a default timer to turn OFF after every ON command in seconds |
btn_type | string | Input type: momentary, toggle, edge or detached |
btn_reverse | bool | Whether to invert external switch input |
schedule | bool | Enable schedule timer |
schedule_rules | array of strings | Rules for schedule activation, e.g. 0000-0123456-on |
- 1 - Meteor shower
- 2 - Gradual change
- 3 - Breath
- 4 - Flash
- 5 - Gradual On/Off
- 6 - Red/Green change
Code:
http://[COLOR=#FF0000]192.168.0.123[/COLOR]/settings/color/0?default_state=[COLOR=#FF0000]last[/COLOR]&btn_type=[COLOR=#ff0000]toggle[/COLOR]
Comment