Shelly RGBW2 - qtoggle/espqtoggle GitHub Wiki


Device

Description

Shelly RGBW2 is a smart Wi-Fi-operated LED strip controller. By default, it runs the Shelly proprietary firmware.

Configuration

Provisioning configuration name: espqtoggle/shelly/rgbw2.

Flash Parameters

  • flash mode: DIO
  • flash frequency: 40MHz

Pins

Number Function Remarks
2 status LED active low
13 push button active low
12 red PWM
15 green PWM
14 blue PWM
4 white PWM

Ports

Id Type Description Range/Unit Remarks
push_button boolean setup button
pwm_freq number PWM frequency 0..50000 Hz
red_value number red percent 0..100 %
green_value number green percent 0..100 %
blue_value number blue percent 0..100 %
white_value number white percent 0..100 %

Installation

Requirements

Procedure

  1. :warning: Do not power the device! Do not connect it to the power supply at all during this procedure!

  2. Read the flashing instructions and be prepared to follow the flashing procedure.

  3. Identify the RX, TX, GND, VCC and GPIO0 connectors:

  4. Ensure the USB-to-serial adapter is not plugged into your laptop.

  5. Connect the following USB-to-serial adapter wires to their corresponding connectors on the board: RX, TX, GND and VCC .

  6. Ensure device will boot into bootloader mode by connecting the second GND wire of your USB-to-serial adapter to the GPIO0 header.

  7. Plug the USB-to-serial adapter into your laptop, effectively powering the ESP chip on the board.

  8. Follow the flashing procedure to flash the espQToggle firmware on the ESP chip.

  9. Disconnect all wires.

Next Steps

You can now power your device by connecting it to mains. Follow the initial setup instructions to connect the device to Wi-Fi and add it to your qToggle system.