Hugoai Table Lamp Light (HG02)
Hugoai Table Lamp

Available from:


Install method:
Replace module

GPIO #Component
GPIO00 User
GPIO01 User
GPIO02 User
GPIO03 User
GPIO04 User
GPIO05 User
GPIO09 None
GPIO10 None
GPIO12 User
GPIO13 User
GPIO14 User
GPIO15 User
GPIO16 User
GPIO17 None
{"NAME":"HG02","GPIO":[1,1,1,1,1,1,0,0,1,1,1,1,1,0],"FLAG":0,"BASE":54,"CMND":"TuyaMCU 11,20 | TuyaMCU 26,21 | TuyaMCU 21,22 | TuyaMCU 23,23 | TuyaMCU 24,24 | DimmerRange 34,1000"}
This device uses WB3S module which needs to be replaced with ESP8685-WROOM-01, ESP-12, ESP-C3-12F, ESP-12H, ESPC2-12 or ESP8684-WROOM-01C. Read more about module replacement in a detailed guide.

Following commands are part of the template and will be applied together with the template.

Backlog TuyaMCU 11,20; TuyaMCU 26,21; TuyaMCU 21,22; TuyaMCU 23,23; TuyaMCU 24,24; DimmerRange 34,1000

Older Hardware Revision

Flash Tasmota via Tuya-Convert or follow the guide for manual TYWE3S flashing (https://tasmota.github.io/docs/devices/TYWE3S) Complete the initial Wi-Fi configuration and enter the WebUI.

Set Module 54 or apply the template. Save the configuration and wait for reboot.

TuyaMCU dpID:

  • 20 = Light Switch
  • 21 = Mode Controller (“00” RGBW, “01” RGB, “02” RGBW-Pulse)
  • 22 = Light Dimmer
  • 23 = White Color (Cold White “000001F4”, Mild White “000001F4”, Warm (Sunset) White “00000000”)
  • 24 = RGB

Warning: Do not change color settings without switching the mode controller on preffered mode first. Can cause random glitches. (eg: RGB set as low point for RGBW)


Enter in console:

Backlog TuyaMCU 11,20; TuyaMCU 21,22; Dimmerrange 34,1000 

Gives mapping for on/off switch and light Dimming