Editing CSH-B22RGB10W
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. | ||
== 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 | 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 | 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 | 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 | * 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 | * 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 | ||
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 | * Open it in your web browser, in a URL like this: <nowiki>http://192.168.1.5/</nowiki> | ||
* | * Enter the configuration 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== | ||
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 | ||
</gallery> | </gallery> | ||