Editing CSH-B22RGB10W

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:


This page documents roughly how to do this and my hardware findings.
This page documents roughly how to do this and my hardware findings.
Update: I've posted this page as a teardown on the Elektroda forum: [https://www.elektroda.com/rtvforum/topic3969247.html <nowiki>[BK7231T] Connect 10W Smart RGB Bulb</nowiki>]. I've also had my information for this merged in to [https://openbekeniot.github.io/webapp/devicesList.html OpenBeken's device list]. If you have this bulb just follow regular instructions!


== Compatibility ==
== Compatibility ==
Line 20: Line 18:
* Newer versions that use a WB2L chip
* Newer versions that use a WB2L chip


This bulb is still sold so it's likely there are other versions too.
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.
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.
Line 29: Line 27:
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.
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 [https://github.com/tuya-cloudcutter/tuya-cloudcutter 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.
Alternatively you can disconnect the bulb from Tuya's cloud using [https://github.com/tuya-cloudcutter/tuya-cloudcutter 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.


When it comes to firmware currently the only open source firmware is [https://github.com/openshwprojects/OpenBK7231T_App OpenBeken]. This firmware is highly configurable and provides an interface over MQTT and HTTP. Installation requires setting up device pins manually, but this isn't too hard.
When it comes to firmware currently the only open source firmware is [https://github.com/openshwprojects/OpenBK7231T_App OpenBeken]. This firmware is highly configurable and provides an interface over MQTT and HTTP. Installation requires setting up device pins manually, but this isn't too hard.


== Installation ==
== Installation ==
Warning: Read all appropriate documentation and warnings for Tuya Cloudcutter and OpenBeken. If your bulb does not have the same chipset as mine it's possible you will brick your device. Follow their installation instructions instead of mine if possible.
Warning: Read all appropriate documentation and warnings for tuya-cloudcutter and OpenBeken. If your bulb does not have the same chipset as mine it's possible you will brick your device.


Installation is roughly these steps:
Installation is roughly these steps:


* Set up Tuya Cloudcutter using their instructions
* Set up tuya-cloudcutter
* Grab the BK7231T firmware in CCtr format from OpenBeken
* Grab the BK7231T firmware in CCtr format from OpenBeken
* Place it in the custom-firmware directory
* Place it in the custom-firmware directory
* Run Tuya Cloudcutter and select update firmware mode
* Run tuya-cloudcutter
* Select a device by firmware (I used <code>oem-bk7231s-light-ty-1.1.2-sdk-2.0.0-30.06</code>)
* Select a device by firmware (I used <code>oem-bk7231s-light-ty-1.1.2-sdk-2.0.0-30.06</code>)
* Select the firmware you've downloaded
* Select the firmware you've downloaded
* Follow the instructions
* Follow the instructions
*Connect to the bulb's Wi-Fi access point
* Open this address in your web browser: <nowiki>http://192.168.4.1/</nowiki>
*Configure the bulb's Wi-Fi access point
*Re-connect to your regular Wi-Fi network


Configuration is done using these steps:
Configuration is done using these steps:


* Find the IP of your bulb using your router page
* Find the IP of your bulb using your router page
* Open the IP in your web browser, in a URL like this: <nowiki>http://192.168.1.5/</nowiki>
* Open it in your web browser, in a URL like this: <nowiki>http://192.168.1.5/</nowiki>
* Go to the configuration page
* Enter the configuration page
* Go to the 'Configure Module' page
* Enter the 'Configure Module' section
* Set P6 (PWM0) to PWM role, channel 1  
* Set P6 (PWM0) to PWM role, channel 1  
* Set P7 (PWM1) to PWM role, channel 4
* Set P7 (PWM1) to PWM role, channel 4
Line 112: Line 106:
* The WB2L's PWM1 and PWM2 signals drive the W and C LEDs via the KP18055ESP chip
* The WB2L's PWM1 and PWM2 signals drive the W and C LEDs via the KP18055ESP chip
== Gallery==
== Gallery==
Here are some images of the bulb and its insides. Please note that this page serves as a full textual description of the bulb, so the pictures will have simple descriptions.<gallery>
Open an image and read its summary section for a more in depth visual description.<gallery>
File:CSH-B22RGB10W Bulb.jpg|The bulb, unopened
File:CSH-B22RGB10W Bulb.jpg|The bulb, unopened
File:CSH-B22RGB10W Label.jpg|The bulb label
File:CSH-B22RGB10W Label.jpg|The bulb label
File:CSH-B22RGB10W Lamp PCB.jpg|The main PCB
File:CSH-B22RGB10W WiFi PCB Top.jpg|Wi-FI PCB, top
File:CSH-B22RGB10W WiFi PCB Bottom.jpg|Wi-Fi PCB, bottom
File:CSH-B22RGB10W KP18055ESP.jpg|KP18055ESP chip
File:CSH-B22RGB10W BP1633.jpg|BP1633 chip
File:CSH-B22RGB10W Signals.jpg|A visual map of the RGBCW signals on the board
File:CSH-B22RGB10W PCB Traces.jpg|The main PCB with traces more visible
</gallery>
</gallery>
[[Category:Hardware]]
Please note that all contributions to JookWiki are considered to be released under the Creative Commons Zero (Public Domain) (see JookWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)