CSH-B22RGB10W

From JookWiki
Revision as of 16:44, 2 April 2023 by Jookia (talk | contribs) (→‎Software: Add some more notes)

In 2021 I bought a Connect 10W Smart RGB Bulb for my room so I could have a dimmable light without installing a dimmer in my house. It cost around $10 and I promised myself I wouldn't hack it.

In 2023 I was annoyed at having a dimmed lightbulb. I logged in to the app and brightened my room, but the anxiety of using cloud services to dim a bulb set in. I promptly flashed new firmware and after a few hours of reverse engineering and troubleshooting, managed to have light in my room again.

This page documents roughly how to do this and my hardware findings.

Compatibility

The bulb has two product IDs:

  • LSH-B22RGB10W
  • CSH-B22RGB10W

Both of these are stamped on the bulb, these are not separate products: Laser Co seems to sell this bulb under its own brand and the Connect SmartHome brand it owns.

At least two hardware revisions of this bulb exist:

  • Older versions that use an ESP8266 chip
  • Newer versions that use a WB2L chip

This bulb is still sold so it's likely there are newer versions too.

These product IDs of the bulb have not changed between revisions, so there is no way to know if the version you have is the version I have.

As always, follow random instructions online at your own risk. You may brick your lightbulb.

Software

These bulbs are usually controlled by the Connect SmartHome or Laser SmartHome apps. These apps seem to be branded variants of the Tuya Smart app. This makes sense as the bulb itself runs Tuya firmware and feature Tuya chips.

The bulb connects to the Tuya cloud, but also supports discovery and API interactions over the local network. You can get API keys for local access using Tuya's developer APIs. These will work even if Tuya drops support for your device. At least until you have to factory reset the device.

Alternatively you can disconnect the bulb from Tuya's cloud using tuya-cloudcutter. This software creates a local Wi-Fi network and exploits the bulb's factory reset mode. It can then permanently disconnect the bulb from the cloud or send a firmware upgrade.

openbk

http interface

pwm

Hardware

- pins

- etc