Recently I broke one of my Long Leds, the solid wires were separated from the little connector after bending them a few times.....
After searching the internet I found the exact type of connector used:
JST 2-PIN cable #261B, sold including connected wires.
They can be purchased from Adafruit for $ 0.75 each:
Or in Europe from Kiwi-Electronics: https://www.kiwi-electronics.nl/
This is how I repaired my Long Led:
Broken Long Led
White heat shrink tube appr 6 mm diameter
New JST connector as mentioned above.
Remove the white heat shrink insulation from the broken Long Led.
Now you see a white and a black insulated wire.
Could be a little difficult because the plastic is a littlebit melted together...
One wire should be left a little longer than the other to prevent a short circuit.
Also cut the wires from the new connector different in length.
Solder both wires (Red on white and black on black).
Slide the new piece of white heat shrink tube over the wiring.
It should be as long as the wiring, I used a long knitting needle to push the tube over the Led until the end.
Shrink the white shrink sleeve tube (I used a candle) and ready !
Now you could also make your own long Led with different colors:
Insulate one connection with a small heat shrink tube to avoid a short circuit.
I used black heat shrink tube appr. 2mm.
Apply the same white heat shrink tube as above and you can make green, red or blue Long Leds !
The light wire and the speaker and the fan and the IR led use the same type of connector, happy soldering !