Hey
is it possible to connect a SP530e LED controller to Home Assistant?
Ditto, these are great controllers with an external remote control
Following as I have two that I am trying to connect.
I’m also interested. I just received my SP530E (SP53XE series) and want to try it out.Have you looked into unicode LED aka Universal Light Controller? I have, so far it doesn’t find the SP530E on the network. See this link: Custom Component UniLED
following the converation
The UniLED integration on HACS supports numerous BanlanX models, but SP530 is evidently not one of them according to a feature request from earlier this year.
You may still achieve HA integration using WLED if you feel comfortable flashing the device with custom firmware, as the SP530e is specifically named on the list of supported WLED controllers.
Using the WLED documentation I was able to get ESPHome installed on the SP530e. The serial programming pins should be labeled on the back of the board.
When configuring your ESPHome .yaml file use these settings:
esp32:
board: airm2m_core_esp32c3
flash_size: 4MB
variant: ESP32C3
framework:
type: esp-idf
Using esp32-c3-devkitm-1
seemed to cause my device to go into a bootloop.
You will have to use esptool
to upload the firmware the first time with the --encrypt
flag set.
For example this is the command I used:
esptool -p /dev/ttyACM0 write_flash --encrypt 0x0 ./led-strip-1.factory.bin
After the first flash you can upload the code over Wi-Fi assuming you have already added your credentials.
My pinout seemed to be slightly different to the one listed in the WLED documentation.
Here is the pinout that I am using for the I/O:
GPIO19 = DATA (Addressable LED out)
GPIO8 = Button (This is listed as 3 in in the WLED documentation)
GPIO0 = Blue status LED (inverted)
GPIO1 = Green status LED (Inverted)
I haven’t tested the R/G/B/CW/WW pinout yet.
If you would like to use WLED you may have to compile your own version as GPIO19 is used for USB which is enabled by default.
Hello, I also have a sp530E and I don’t know how to put it in HA. According to what I read, you can change the firmware and put WLED on it, but would it do the same as if I put an esp32? I say this because I am testing with an esp32 and Wled and my Cob_CCT_IC strips do not work well because they flash and change color on their own and with this controller it works well, the only thing is that it cannot be integrated into Home Assistant.
When using the ESP32 are you using a voltage level shiftier between the ESP32 and the LED strips? Most LED strips work best with 5V logic.
As I mentioned above it looks like you have to compile a custom version of WLED for the sp530E since GPIO19 is used for USB which is enabled by default. You also have to use the --encrypt flag while uploading the code
Sources: