@NoedelVreter @accelle @tube0013
Hey folks, could any of you share a little more detail about the flashing process? I’m in the mood to experiment but it’s a little new to me.
When you say cololight GPIO0 to GND do you mean to short it momentarily to put it in flash mode or do I need to solder that connection for the duration of the process?
Many thanks
Yes just hold gpi0 to ground while booting to get it in the boot loader mode to load the firmware from serial.
Once you have a fw like wled on it you can do over the air fw updates so in most cases the serial flash is a one time thing.
Hey @tube0013 thanks for clarifying that for me. Super helpful.
I have both the esp8266 and the esp32 versions of the cololight so gonna see what I can do with WLED.
Seems like this project doesnt work anymore. When I add the repository I get:
20-10-04 15:13:52 INFO (MainThread) [supervisor.store.git] Clone add-on GitHub - BazaJayGee66/homeassistant_cololight: Custom component to support Cololight in Home-Assistant repository
20-10-04 15:13:53 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/5a603ff2/repository.json: [Errno 2] No such file or directory: ‘/data/addons/git/5a603ff2/repository.json’
20-10-04 15:13:53 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/5a603ff2/repository.json
Just as tube0013 mentioned, flashing these controllers with WLED is quite easy.
Even stranger then, that this forum is one of the only resource on Cololight Re-flashing that I could find.
It took some experimentation however, to find the GPIO for the front touch button.
So for future reference, these are the GPIOs used for the ESP32 Cololight Pro:
GPIO04: Capacitive button on the back
GPIO13: Capacitive button on the front
GPIO16: WS2812 LEDs Data Pin
GPIO33: Microphone, analog
For anyone not previously familiar with WLED (like me), you can set all of these
in the WLED webinterface. No need to hunt for settings in the firmware source.
To set the microphone, you of course need the soundreactive fork of WLED.
As for Squelch and Gain, I’ve some good results with these settings:
Squelch: 4
Gain: 13
Hi there!
Do you know the pinout for Cololight Plus?
Thank you
I’d guess it’s similar. With the newer wled versions the pin can be selected for most things via the web front end so should be easy enough to experiment with to find the right ones I’d think
Is this repo still working ?
having trouble getting my esp32 version to flash – it has tx/rx/gpio0 on the back and i have them wired up. Do you happen to have any notes? I tacked tx/rx to my flasher and got gpio grounded, not seeing any location for vcc/gnd on the board, tried powering via regular usb (5v/ground).
mine also has an RST solder point in addition to tx/rx/gpio0. Any notes appreciated, thanks!
As i understand Cololight Device runs on ESP82266
Please help to make a dump of firmware
Is it actually possibble?
Awesome work on the integration. It worked so well, I ordered more!
I’m using Node-Red to control the lights based on certain criteria. Colors work easily (just use the “color” variable) but how do you set styles? What’s the variable name and do you need to pass a string to it?
Glad it’s working well.
I haven’t used Node-Red, but are you able to try effect
as the variable, passing the name of the style you’re wanting to set?
Perfect. That worked a treat.
I managed to flash WLED on the Cololight PRO.
I first flashed the bootloader and then the ESP32 binary with esptool.py
During the first start I got a littlefs error
Corrupted dir pair at {0x0, 0x1}
After a reboot the message was gone and I updated WLED to the latest beta.
However with both software version I am seeing flickering even though I selected solid
as an effect mode. Also the leds stay at different color, sometimes they change to the color I selected, and then they flicker again.
The Brightness slider also automatically moves from 0 - 255 and then starts again from 0 just to move to 255 again.
Does anyone have any idea what could have gone wrong?
Thank you for your help!
I was using a Cololight PRO flashed with WLED for some time, and it seems to have gone wrong. The WLED web interface loads without issue, and I’ve even reflashed the firmware via OTA, but the LED output is unaffected by the controls, just noise/glitch/nothing.
That’s a risk of modding I guess but it’s got me wondering, can I replace the controllerer with another ESP/WLED device…
There’s 5 or 10 pins on the cololight connection from the controller, so it’s maybe a bit more complex than DC+/- and data that you’d find on standard wled strips.
Any ideas on the pinout connections?