Skip to content

Commit

Permalink
New Device: Adding documentation for Steren SHOME-LAM (#1019)
Browse files Browse the repository at this point in the history
Co-authored-by: Luis Manuel Suarez <[email protected]>
  • Loading branch information
luismasg and Luis Manuel Suarez authored Feb 14, 2025
1 parent 49bf21a commit 28ec1f7
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 0 deletions.
Binary file added src/docs/devices/Steren-RGBWW-Desk-Lamp/box.webp
Binary file not shown.
87 changes: 87 additions & 0 deletions src/docs/devices/Steren-RGBWW-Desk-Lamp/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
title: "Steren RGBWW Desk Lamp"
date-published: 2025-02-12
type: light
standard: global
board: bk72xx
made-for-esphome: false
difficulty: 2
---


Smart desk lamp with a sleek design, it has RGB and warm/cold white LEDs.
it uses pwm to control each channel.
You can flash it, you can use tuya cloud-cutter, or you can swap out the chip.

I attempted to flash the chip multiple times, but my FTDI adapter couldn’t provide enough current for a successful process. In the end, I followed Digiblur’s Tuya Cloudcutter guide, which is referenced in the ESPHome documentation for BK72xx, and that did the trick.

## Device Details

- **Model**: SHOME-LAM
- **Board**: BK7231 (WB3L variant)
- **Link**: [Lámpara LED Wi-Fi\* RGB+W multicolor de 12 W](https://www.steren.com.mx/lampara-led-wi-fi-multicolor-para-escritorio-de-12-w.html)

## Images

![Promotional image from website](box.webp)
_Promotional image from website._

![Open Lamp](open.jpg)
_Unscrew the diffuser. The board is connected to the power source via a connector._

## Pinout and Configuration

![Circuit Board](pcb1.jpg)
_Internal circuit board showcasing the chipset._

### GPIO Mapping

| GPIO | Function | Description |
| ---- | ---------- | --------------------- |
| P8 | Red | RGB LED Red Control |
| P26 | Blue | RGB LED Blue Control |
| P24 | Green | RGB LED Green Control |
| P6 | Warm White | White LED Control |
| P7 | Cold White | White LED Control |

## Note

The lamp is enclosed in metal, which may affect Wi-Fi signal strength. Ensure it is close to the router or use a repeater if needed.

### YAML Configuration

```yaml
bk72xx:
board: wb3l

output:
- platform: libretiny_pwm
id: red
pin: P8
- platform: libretiny_pwm
id: blue
pin: P26
- platform: libretiny_pwm
id: green
pin: P24
- platform: libretiny_pwm
id: warm_white
pin: P6
- platform: libretiny_pwm
id: cold_white
pin: P7

light:
- platform: rgbww
name: "Light"
id: rgb_light
restore_mode: ALWAYS_OFF
red: red
green: green
blue: blue
warm_white: warm_white
cold_white: cold_white
cold_white_color_temperature: 6500 K
warm_white_color_temperature: 2000 K
color_interlock: True
```
Binary file added src/docs/devices/Steren-RGBWW-Desk-Lamp/open.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/devices/Steren-RGBWW-Desk-Lamp/pcb1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 28ec1f7

Please sign in to comment.